1 #ifndef MACRO_FUN4ALLG4LBLDETECTOR_C
2 #define MACRO_FUN4ALLG4LBLDETECTOR_C
4 #include <GlobalVariables.C>
12 #include <G4_Global.C>
28 const
string &inputFile = "/sphenix/
data/data02/review_2017-08-02/single_particle/spacal2d/
fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root",
29 const
string &outputFile = "G4LBLDetector.root",
30 const
string &embed_input_file = "https:
32 const
string &outdir = ".")
405 string outputroot = outputFile;
406 string remove_this =
".root";
407 size_t pos = outputroot.find(remove_this);
408 if (pos != string::npos)
410 outputroot.erase(pos, remove_this.length());
468 cout <<
"using 0 for number of events is a bad idea when using particle generators" << endl;
469 cout <<
"it will run forever, so I just return without running anything" << endl;
481 std::cout <<
"All done" << std::endl;