eventdisplay(TString storePath="tmpOutput") { gROOT->Macro("$VMCWORKDIR/gconfig/rootlogon.C"); gSystem->Load("libEve"); gSystem->Load("libEventDisplay"); TString parFile = storePath+"/Lumi_Params_0.root"; TString inSimuFile = storePath+"/Lumi_MC_0.root"; TString recoFile = storePath+"/Lumi_reco_0.root"; TString trackingFile = storePath+"/Lumi_Track_0.root"; TString outFile = storePath+"/EVEout.root"; FairRunAna *fRun= new FairRunAna(); fRun->SetInputFile(inSimuFile.Data()); fRun->AddFriend(recoFile.Data()); fRun->AddFriend(trackingFile.Data()); fRun->SetOutputFile(outFile.Data()); FairRuntimeDb* rtdb = fRun->GetRuntimeDb(); FairParRootFileIo* parInput1 = new FairParRootFileIo(); parInput1->open(parFile.Data()); rtdb->setFirstInput(parInput1); FairEventManager *fMan= new FairEventManager(); FairMCTracks *Track = new FairMCTracks ("Monte-Carlo Tracks"); fMan->AddTask(Track); FairMCPointDraw *MvdPoints = new FairMCPointDraw ("SSDPoint",kBlue, kFullSquare); fMan->AddTask(MvdPoints); //FairRecoPointDraw *stripHits = new FairRecoPointDraw("SSDHitsStrip"); //fMan->AddTask(stripHits); fRun->Init(); fMan->Init(); }