1 #ifndef MACRO_FUN4ALLG4JLEIC_C
2 #define MACRO_FUN4ALLG4JLEIC_C
4 #include <GlobalVariables.C>
24 const
string &inputFile = "/sphenix/
data/data02/review_2017-08-02/single_particle/spacal2d/
fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root",
25 const
string &outputFile = "G4JLeic.root",
26 const
string &embed_input_file = "/sphenix/
data/data02/review_2017-08-02/sHijing/fm_0-4.
list",
28 const
string &outdir = ".")
231 string outputroot = outputFile;
232 string remove_this =
".root";
233 size_t pos = outputroot.find(remove_this);
234 if (pos != string::npos)
236 outputroot.erase(pos, remove_this.length());
272 cout <<
"using 0 for number of events is a bad idea when using particle generators" << endl;
273 cout <<
"it will run forever, so I just return without running anything" << endl;
282 cout <<
"***** Enter any integer to proceed" << endl;
293 std::cout <<
"All done" << std::endl;
299 #endif // MACRO_FUN4ALLG4JLEIC_C