Go to the source code of this file.
      
        
          | eventdisplay_MC | ( | TString | storePath = "." | ) |  | 
      
 
Definition at line 1 of file eventdisplay_MC.C.
References fMan, fRun, gGeoMan, inSimuFile, MvdPoints, outFile, parFile, parInput1, rtdb, storePath, Track, and TString.
    3   gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
    4   gSystem->Load(
"libEve");
 
    5   gSystem->Load(
"libEventDisplay");
 
    6   gSystem->Load(
"libPndEventDisplay");
 
    7   gSystem->Load(
"libSds");
 
    8   gSystem->Load(
"libLmd");
 
   20   FairRunAna *
fRun= 
new FairRunAna();
 
   21   fRun->SetInputFile(inSimuFile.Data());
 
   26   fRun->SetOutputFile(outFile.Data());
 
   28   FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   29   FairParRootFileIo* 
parInput1 = 
new FairParRootFileIo();
 
   30   parInput1->open(parFile.Data());
 
   31   rtdb->setFirstInput(parInput1);
 
   33   FairEventManager *
fMan= 
new FairEventManager();
 
   35   FairMCTracks *
Track =  
new FairMCTracks (
"Monte-Carlo Tracks");
 
   37   FairMCPointDraw *
MvdPoints =   
new FairMCPointDraw (
"LMDPoint",kBlue,kFullSquare);
 
   38   fMan->AddTask(MvdPoints);
 
   39   FairHitDraw *stripHits = 
new FairHitDraw(
"LMDHitsStrip");
 
   40   fMan->AddTask(stripHits);
 
   49 TGeoManager* 
gGeoMan = (TGeoManager*)gROOT->FindObject(
"FAIRGeom");
 
   50         if (! gGeoMan) { cout << 
" no geo manager found! " << endl; }
 
   52                 gGeoMan->SetVisLevel(20);
 
FairMCPointDraw * MvdPoints
FairParRootFileIo * parInput1