FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tutorials
geane
GeaneExEmc
macro
GeaneExEmc/macro/draw.C
Go to the documentation of this file.
1
// Macro for displaying the tracks for the STT1 simulation
2
// only the STT1 detector is ON
3
// input file testrun.root contains the MC information
4
//13/09/2006 Pablo Genova
5
6
7
{
8
9
gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/basiclibs.C"
);
10
basiclibs
();
11
12
gSystem->Load(
"libGeoBase"
);
13
gSystem->Load(
"libParBase"
);
14
gSystem->Load(
"libBase"
);
15
gSystem->Load(
"libPndData"
);
16
gSystem->Load(
"libField"
);
17
gSystem->Load(
"libPassive"
);
18
gSystem->Load(
"libGen"
);
19
gSystem->Load(
"libGeom.so"
);
20
21
gSystem->Load(
"libEmc"
);
22
gSystem->Load(
"libStt"
);
23
gSystem->Load(
"libMuo"
);
24
gSystem->Load(
"libEmc"
);
25
gSystem->Load(
"libTof"
);
26
gSystem->Load(
"libDrcProp"
);
27
gSystem->Load(
"libDrc"
);
28
gSystem->Load(
"libtpc"
);
29
gSystem->Load(
"libMvd"
);
30
31
TFile*
file
=
new
TFile(
"mc.root"
);
32
TGeoManager *
geoMan
= (TGeoManager*) file->Get(
"FAIRGeom"
);
33
34
35
TCanvas*
c1
=
new
TCanvas(
"c1"
,
""
, 100, 100, 800, 800);
36
c1->SetFillColor(10);
37
38
geoMan->SetVisLevel(4);
39
geoMan->GetMasterVolume()->Draw(
""
);
40
41
TView*
view
= c1->GetView();
42
view->Top();
43
view->Centered();
44
// view->SetParralel();
45
46
47
}
48
basiclibs
basiclibs()
file
TFile * file
Definition:
drc/old/draw_geom.C:12
geoMan
TGeoManager * geoMan
Definition:
createRootGeoFileBarrel_2018v1.C:21
view
TView * view
Definition:
hyp/draw_geom.C:36
c1
c1
Definition:
plot_dirc.C:35
Generated on Wed Apr 3 2019 10:02:46 for FairRoot/PandaRoot by
1.8.5