7 TString InputFile =
"dpm_simulation.root";
17 FairLogger* logger = FairLogger::GetLogger();
19 logger->SetLogVerbosityLevel(
"LOW");
20 logger->SetLogScreenLevel(
"INFO");
30 FairRunAna *
fRun=
new FairRunAna();
31 fRun->SetInputFile(InputFile.Data());
32 fRun->AddFriend(recoFile.Data());
33 fRun->AddFriend(digiFile.Data());
35 fRun->SetOutputFile(
"tst.root");
37 fRun->RunWithTimeStamps();
39 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
40 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
41 parInput1->open(ParFile.Data());
42 rtdb->setFirstInput(parInput1);
43 FairEventManager *
fMan=
new FairEventManager();
45 FairGeane *
Geane =
new FairGeane();
53 FairMCTracks *
Track =
new FairMCTracks (
"Monte-Carlo Tracks");
54 FairMCPointDraw *
MvdPoints =
new FairMCPointDraw (
"MVDPoint",kBlue, kFullSquare);
62 FairMCPointDraw *PndSTTPoint =
new FairMCPointDraw (
"STTPoint",kMagenta, kFullSquare);
70 fMan->AddTask(genfitTrack);
79 FairHitDraw *MvdRecoHit =
new FairHitDraw (
"MVDHitsPixel");
80 MvdRecoHit->SetTimeWindowPlus(5);
81 MvdRecoHit->SetTimeWindowMinus(5);
82 FairHitDraw *MvdRecoStrip =
new FairHitDraw (
"MVDHitsStrip");
83 MvdRecoStrip->SetTimeWindowPlus(5);
84 MvdRecoStrip->SetTimeWindowMinus(5);
85 FairHitDraw *STTHits =
new FairHitDraw (
"STTSortedHits");
86 STTHits->SetTimeWindowPlus(200);
87 STTHits->SetTimeWindowMinus(1);
89 fMan->AddTask(MvdPoints);
95 fMan->AddTask(STTIsochrone);
105 fMan->AddTask( PndSTTPoint);
110 fMan->AddTask(MvdRecoHit);
111 fMan->AddTask(MvdRecoStrip);
112 fMan->AddTask(STTHits);
virtual void SetTimeWindowMinus(Double_t val)
virtual void SetTimeWindowPlus(Double_t val)
virtual void SetTimeWindowMinus(Double_t val)
virtual void SetTimeWindowPlus(Double_t val)
A simple class which adds the corresponding file extensions to a given base class.
virtual void UseIsochroneTime()
FairMCPointDraw * MvdPoints
FairParRootFileIo * parInput1
PndMvdCreateDefaultApvMap * creator