1 #ifndef MACRO_FUN4ALLG4SPHENIX_C
2 #define MACRO_FUN4ALLG4SPHENIX_C
9 #include <G4_CaloTrigger.C>
11 #include <G4_DSTReader.C>
12 #include <G4_Global.C>
13 #include <G4_HIJetReco.C>
36 #include <hcaljetphishift/HCalJetPhiShift.h>
38 R__LOAD_LIBRARY(libfun4all.so)
39 R__LOAD_LIBRARY(libffamodules.so)
40 R__LOAD_LIBRARY(libHCalJetPhiShift.so)
48 const
string &outdir = ".")
51 int event_number = (int)index*nEvents;
54 string outputroot = outdir +
"/HCalJetPhiShift";
59 string outputFile = outputroot +
".root";
169 Enable::BBCFAKE =
false;
497 cout <<
"using 0 for number of events is a bad idea when using particle generators" << endl;
498 cout <<
"it will run forever, so I just return without running anything" << endl;
518 if (Enable::QA)
QA_Output(outputroot +
"_qa.root");
526 std::cout <<
"All done" << std::endl;