Go to the source code of this file.
int runLumi2Reco |
( |
const int |
nEvents = 1 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutput" , |
|
|
const int |
verboseLevel = 0 , |
|
|
bool |
useMSerr = true |
|
) |
| |
Definition at line 1 of file runLumi2Reco.C.
References chargecut, ctime, DigiFile, Double_t, fRun, MCFile, nEvents, outFile, parFile, parInput1, rtdb, rtime, PndLmdStripClusterTask::SetMSflag(), startEvent, storePath, timer, TString, and verboseLevel.
17 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
18 gSystem->Load(
"libSds");
19 gSystem->Load(
"libSdsReco");
20 gSystem->Load(
"libLmd");
21 gSystem->Load(
"libLmdReco");
22 gSystem->Load(
"libLmdTrk");
29 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
30 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
31 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
50 FairRunAna *
fRun=
new FairRunAna();
51 fRun->SetInputFile(DigiFile);
52 fRun->AddFriend(MCFile);
53 fRun->SetOutputFile(outFile);
59 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
60 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
61 parInput1->open(parFile.Data(),
"UPDATE");
64 rtdb->setFirstInput(parInput1);
95 fRun->AddTask(lmdmccls);
96 rtdb->setOutput(parInput1);
113 cout << endl << endl;
114 cout <<
"Macro finished succesfully." << endl;
115 cout <<
"Output file is " << outFile << endl;
116 cout <<
"Parameter file is " << parFile << endl;
117 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
void SetMSflag(bool fflag)
FairParRootFileIo * parInput1