3 const TString Method =
"Geane",
const bool mergedHits =
true,
4 const double mom = 15,
double ipc_x = 0.0,
double ipc_y = 0.0,
5 double ipc_z = 0.0,
bool is_prefiltered =
true) {
21 std::cout <<
"TrackFile: " << TrkFile.Data() << std::endl;
22 std::cout <<
"GeaneFile: " << outFile.Data() << std::endl;
30 FairRunAna *
fRun =
new FairRunAna();
31 FairFileSource input_source(TrkFile);
32 fRun->SetSource(&input_source);
33 fRun->SetOutputFile(outFile);
37 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
38 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
39 parInput1->open(parFile.Data());
40 rtdb->setFirstInput(parInput1);
47 TVector3 IP(ipc_x, ipc_y, ipc_z);
48 if (Method ==
"Geane") {
49 FairGeane *
Geane =
new FairGeane();
53 fRun->AddTask(lmdgeane);
58 <<
"I'm very sorry, but BPRungeKuttaTask option for LMD is currently switched off :("
64 cout <<
"Method " << Method.Data() <<
" doesn't exist!" << endl;
67 rtdb->setOutput(parInput1);
86 cout <<
"Macro finished succesfully." << endl;
87 cout <<
"Output file is " << outFile << endl;
88 cout <<
"Parameter file is " << parFile << endl;
89 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
virtual InitStatus Init()
TGeoManager * gGeoManager
int runLumiPixel5BackProp(const int nEvents=10, const int startEvent=0, TString storePath="tmpOutput", const int verboseLevel=0, const TString Method="Geane", const bool mergedHits=true, const double mom=15, double ipc_x=0.0, double ipc_y=0.0, double ipc_z=0.0, bool is_prefiltered=true)
FairParRootFileIo * parInput1