Go to the source code of this file.
int runLumi5RungeKutta |
( |
const int |
nEvents = 10 , |
|
|
const double |
mom = 15 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutput" , |
|
|
const int |
verboseLevel = 0 , |
|
|
const bool |
mergedHits = false |
|
) |
| |
Definition at line 1 of file runLumi5RungeKutta.C.
References ctime, DigiFile, Double_t, fRun, PndLmdBPRungeKuttaTask::Init(), MCFile, mom, nEvents, outFile, parFile, parInput1, RecoFile, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
13 if(mergedHits)RecoFile+=
"/Lumi_recoMerged_";
14 else RecoFile+=
"/Lumi_reco_";
31 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
32 gSystem->Load(
"libSds");
33 gSystem->Load(
"libSdsReco");
34 gSystem->Load(
"libLmd");
35 gSystem->Load(
"libLmdReco");
36 gSystem->Load(
"libLmdTrk");
45 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
46 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
47 std::cout <<
"RecoFile: " << RecoFile.Data()<< std::endl;
48 std::cout <<
"TCandFile: " << CandFile.Data()<< std::endl;
49 std::cout <<
"TrackFile: " << TrkFile.Data()<< std::endl;
50 std::cout <<
"GeaneFile: " << outFile.Data()<< std::endl;
68 FairRunAna *
fRun=
new FairRunAna();
69 fRun->SetInputFile(MCFile);
70 fRun->AddFriend(DigiFile);
71 fRun->AddFriend(RecoFile);
72 fRun->AddFriend(CandFile);
73 fRun->AddFriend(TrkFile);
74 fRun->SetOutputFile(outFile);
78 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
79 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
80 parInput1->open(parFile.Data());
81 rtdb->setFirstInput(parInput1);
98 rtdb->setOutput(parInput1);
116 cout << endl << endl;
117 cout <<
"Macro finished succesfully." << endl;
118 cout <<
"Output file is " << outFile << endl;
119 cout <<
"Parameter file is " << parFile << endl;
120 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
virtual InitStatus Init()
FairParRootFileIo * parInput1