FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
macro
outdated
run
outdated/run/drawGeo.C
Go to the documentation of this file.
1
drawGeo
()
2
{
3
TFile*
file
=
new
TFile(
"simparams.root"
);
4
5
if
(!
gGeoManager
) {
6
file->Get(
"FairBaseParSet"
);
7
TGeoManager *
geoMan
=
gGeoManager
;
8
if
(!geoMan) {
9
file->Get(
"FairGeoParSet"
);
10
geoMan =
gGeoManager
;
11
if
(!geoMan) {
12
std::cout<<
"Could not find valid GeoManager. Abort now!"
<<std::endl;
13
exit
(1);
14
}
15
}
16
geoMan->SetVisLevel(3);
17
geoMan->GetMasterVolume()->Draw(
"ogl"
);
18
}
19
20
}
21
file
TFile * file
Definition:
drc/old/draw_geom.C:12
exit
exit(0)
geoMan
TGeoManager * geoMan
Definition:
createRootGeoFileBarrel_2018v1.C:21
gGeoManager
TGeoManager * gGeoManager
Definition:
createRootGeoFile.C:97
drawGeo
drawGeo()
Definition:
outdated/run/drawGeo.C:1
Generated on Sun Aug 18 2019 03:01:10 for FairRoot/PandaRoot by
1.8.8