Go to the source code of this file.
int runLumiPixel7TrksQA |
( |
const int |
nEvents = 100000 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutnewDesign" , |
|
|
const int |
verboseLevel = 5 , |
|
|
const double |
Plab = 15 , |
|
|
const bool |
wrAllMC = true , |
|
|
const bool |
isClean = false |
|
) |
| |
Definition at line 1 of file runLumiPixel7TrksQA.C.
References ctime, Double_t, fRun, gGeoManager, MCFile, nEvents, parFile, parInput1, RecoFile, rtdb, rtime, PndLmdTrkQTask::SetWriteMC(), startEvent, storePath, timer, TString, and verboseLevel.
10 RecoMergedFile +=
".root";
29 GeaFile =
storePath+
"/Lumi_GeaneFiltered_";
55 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
56 std::cout <<
"RecoFile: " << RecoFile.Data()<< std::endl;
57 std::cout <<
"TCandFile: " << CandFile.Data()<< std::endl;
58 std::cout <<
"TrackFile: " << TrkFile.Data()<< std::endl;
59 std::cout <<
"GeaneFile: " << GeaFile.Data()<< std::endl;
67 FairRunAna *
fRun=
new FairRunAna();
68 FairFileSource input_source(GeaFile);
69 input_source.AddFriend(TrkFile);
70 input_source.AddFriend(CandFile);
71 input_source.AddFriend(RecoFile);
72 input_source.AddFriend(MCFile);
73 input_source.AddFriend(RecoMergedFile);
75 fRun->SetSource(&input_source);
76 fRun->SetOutputFile(DumFile);
79 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
80 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
81 parInput1->open(parFile.Data(),
"UPDATE");
82 rtdb->setFirstInput(parInput1);
86 lmdqa =
new PndLmdTrkQTask(Plab,
"LMDCleanTrack",
"LMDPndTrackFilt");
97 fRun->SetGenerateRunInfo(kFALSE);
106 cout << endl << endl;
107 cout <<
"Macro finished succesfully." << endl;
108 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
TGeoManager * gGeoManager
FairParRootFileIo * parInput1