Go to the source code of this file.
Definition at line 3 of file macro/detectors/mvd/BonnTS/HCal/eventDisplay.C.
References fMan, fRun, gGeoManager, MvdPoints, parInput1, rootlogon(), rtdb, Track, and TString.
    7   TString  InputFile     =
"HCalMC.root";
 
    8   TString  ParFile       =
"HCalMC_Params.root";
 
   13   gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
   15   gSystem->Load(
"libEve");
 
   16   gSystem->Load(
"libEventDisplay");
 
   19   FairRunAna *
fRun= 
new FairRunAna();
 
   20   fRun->SetInputFile(InputFile.Data());
 
   21   fRun->SetOutputFile(
"tst.root");
 
   23   FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   24   FairParRootFileIo* 
parInput1 = 
new FairParRootFileIo();
 
   25   parInput1->open(ParFile.Data());
 
   26   rtdb->setFirstInput(parInput1);
 
   27   FairEventManager *
fMan= 
new FairEventManager();
 
   31   FairMCTracks *
Track =  
new FairMCTracks (
"Monte-Carlo Tracks");
 
   32   FairMCPointDraw *
MvdPoints =   
new FairMCPointDraw (
"MVDPoint",kBlue,  kFullSquare);
 
   36   fMan->AddTask(MvdPoints);
 
   43   TEveManager::Create();
 
   45   TEveGeoTopNode *TNod=
new  TEveGeoTopNode(
gGeoManager, N);
 
   46   TNod->SetVisLevel(10); 
 
   47   gEve->AddGlobalElement(TNod);
 
   48   gEve->FullRedraw3D(kTRUE);
 
TGeoManager * gGeoManager
FairMCPointDraw * MvdPoints
FairParRootFileIo * parInput1