Go to the source code of this file.
int runLumiPixel7QA |
( |
const int |
nEvents = 100000 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutnewDesign" , |
|
|
const int |
verboseLevel = 5 , |
|
|
const double |
Plab = 15 , |
|
|
const bool |
isClean = false |
|
) |
| |
Definition at line 1 of file runLumiPixel7QA.C.
References ctime, DigiFile, Double_t, fRun, PndLmdQATask::Init(), MCFile, nEvents, parFile, parInput1, RecoFile, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
14 RecoMergedFile +=
".root";
34 GeaFile =
storePath+
"/Lumi_GeaneFiltered_";
68 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
69 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
70 std::cout <<
"RecoFile: " << RecoFile.Data()<< std::endl;
71 std::cout <<
"TCandFile: " << CandFile.Data()<< std::endl;
72 std::cout <<
"TrackFile: " << TrkFile.Data()<< std::endl;
73 std::cout <<
"GeaneFile: " << GeaFile.Data()<< std::endl;
81 FairRunAna *
fRun=
new FairRunAna();
82 fRun->SetInputFile(GeaFile);
83 fRun->AddFriend(TrkFile);
84 fRun->AddFriend(CandFile);
85 fRun->AddFriend(RecoFile);
86 fRun->AddFriend(DigiFile);
87 fRun->AddFriend(MCFile);
88 fRun->AddFriend(RecoMergedFile);
89 fRun->SetOutputFile(DumFile);
92 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
93 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
94 parInput1->open(parFile.Data(),
"UPDATE");
95 rtdb->setFirstInput(parInput1);
99 lmdqa =
new PndLmdQATask(
"LMDPoint",
"MCTrack",
"LMDPixelClusterCand",
"LMDPixelDigis",
"LMDHitsMerged",
"LMDTrackCand",
"LMDPndTrackFilt",
"LMDCleanTrack",OutFile);
102 lmdqa =
new PndLmdQATask(
"LMDPoint",
"MCTrack",
"LMDPixelClusterCand",
"LMDPixelDigis",
"LMDHitsMerged",
"LMDTrackCand",
"LMDPndTrackFilt",
"GeaneTrackFinal",OutFile);
105 fRun->AddTask(lmdqa);
106 fRun->SetGenerateRunInfo(kFALSE);
118 cout << endl << endl;
119 cout <<
"Macro finished succesfully." << endl;
120 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
FairParRootFileIo * parInput1
virtual InitStatus Init()