3 #ifndef MACRO_FUN4ALLRUNSINGLEPHOTONCLUSTERANA_C
4 #define MACRO_FUN4ALLRUNSINGLEPHOTONCLUSTERANA_C
10 #include <../src/singlePhotonClusterAna.h>
12 R__LOAD_LIBRARY(libfun4all.so)
13 R__LOAD_LIBRARY(libsinglePhotonClusterAna.so)
17 const
string &clusterFile = "dst_calo_cluster.list",
18 const
string &truthFile = "dst_truth.list",
19 const
string &outputFile = "cemcClusterAna_Out.
root"
24 gSystem->Load(
"libg4dst.so");
30 std::cout <<
"Adding file list " << clusterFile << std::endl;
31 inCluster -> AddListFile(clusterFile,1);
35 std::cout <<
"Adding file list " << truthFile << std::endl;
36 truthCalo -> AddListFile(truthFile,1);
37 se -> registerInputManager(truthCalo);
46 cout <<
"Analysis Completed" << endl;
51 #endif //MACRO_FUN4ALLRUNSINGLEPHOTONCLUSTERANA_C