1 #ifndef MACRO_FUN4ALLG4FHCAL_C
2 #define MACRO_FUN4ALLG4FHCAL_C
4 #include <GlobalVariables.C>
12 #include <G4_Global.C>
19 #include <qa_modules/QAHistManagerDef.h>
31 const
string &inputFile = "/sphenix/
data/data02/review_2017-08-02/single_particle/spacal2d/
fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root",
32 const
string &outputFile = "G4EICDetector.root",
33 const
string &embed_input_file = "https:
35 const
string &outdir = ".")
437 string outputroot = outputFile;
438 string remove_this =
".root";
439 size_t pos = outputroot.find(remove_this);
440 if (pos != string::npos)
442 outputroot.erase(pos, remove_this.length());
500 cout <<
"using 0 for number of events is a bad idea when using particle generators" << endl;
501 cout <<
"it will run forever, so I just return without running anything" << endl;
518 std::cout <<
"All done" << std::endl;