FairRoot/PandaRoot
drc/old/draw_geom.C
Go to the documentation of this file.
1 // Macro for displaying the tracks for the DRC simulation
2 // only the DRC detector is ON
3 // input file testrun.root contains the MC information
4 //28/09/2006 Pablo Genova
5 //28/06/2007 Annalisa Cecchi - modified some visualisation properties
6 
7 {
8 
9  gROOT->LoadMacro("$VMCWORKDIR/gconfig/rootlogon.C");
10  rootlogon();
11 
12  TFile* file = new TFile("./params_testrun1.root");
13  file->Get("FairBaseParSet");
14 
15  gGeoManager->SetVisLevel(3);
16  gGeoManager->GetMasterVolume()->Draw("ogl");
17 
18 
19 }
20 
TFile * file
TGeoManager * gGeoManager