1 #ifndef MACRO_FUN4ALLG4CLEO_C
2 #define MACRO_FUN4ALLG4CLEO_C
4 #include "GlobalVariables.C"
23 const
string &inputFile = "/sphenix/
data/data02/review_2017-08-02/single_particle/spacal2d/
fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root",
24 const
string &outputFile = "G4Cleo.root",
25 const
string &embed_input_file = "/sphenix/
data/data02/review_2017-08-02/sHijing/fm_0-4.
list",
27 const
string &outdir = ".")
204 string outputroot = outputFile;
205 string remove_this =
".root";
206 size_t pos = outputroot.find(remove_this);
207 if (pos != string::npos)
209 outputroot.erase(pos, remove_this.length());
238 cout <<
"using 0 for number of events is a bad idea when using particle generators" << endl;
239 cout <<
"it will run forever, so I just return without running anything" << endl;
248 cout <<
"***** Enter any integer to proceed" << endl;
259 std::cout <<
"All done" << std::endl;
265 #endif // MACRO_FUN4ALLG4CLEO_C