3 #ifndef MACRO_FUN4ALLRUNEMCRECO_C
4 #define MACRO_FUN4ALLRUNEMCRECO_C
10 #include <../src/cemcReco.h>
12 R__LOAD_LIBRARY(libfun4all.so)
13 R__LOAD_LIBRARY(libcemcReco.so)
17 const
string caloRecoIn = "dst_calo_cluster_run40_JS30GeV_noPileup.list",
18 const
string caloTruthIn = "dst_truth_run40_JS30GeV_noPileup.list",
19 const
string tracksIn = "",
20 const
string &outputFile = "cemcReco_Out.
root"
25 gSystem->Load(
"libg4dst.so");
31 std::cout <<
"Adding file list " << caloRecoIn << std::endl;
32 inCluster -> AddListFile(caloRecoIn,1);
35 if(strcmp(tracksIn.c_str(),
""))
38 std::cout <<
"Adding file list " << tracksIn << std::endl;
39 inTracks -> AddListFile(tracksIn,1);
44 std::cout <<
"Adding file list " << caloTruthIn << std::endl;
45 truthCalo -> AddListFile(caloTruthIn,1);
46 se -> registerInputManager(truthCalo);
55 cout <<
"Analysis Completed" << endl;
60 #endif //MACRO_FUN4ALLRUNEMCRECO_C