2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
3 #include <proto4showercalib/Proto4ShowerCalib.h>
4 R__LOAD_LIBRARY(/direct/phenix+
u/xusun/WorkSpace/sPHENIX/install/lib/libProto4HCalShowerCalib.so)
13 gSystem->Load(
"/direct/phenix+u/xusun/WorkSpace/sPHENIX/install/lib/libProto4HCalShowerCalib.so");
18 if(_is_sim) outputfile = Form(
"/sphenix/user/xusun/Simulation/ShowerCalibAna/Proto4ShowerInfoSIM_%s.root",runID.c_str());
19 if(!_is_sim) outputfile = Form(
"/sphenix/user/xusun/TestBeam/ShowerCalibAna/Proto4ShowerInfoRAW_%s.root",runID.c_str());
23 hcal_ana->set_runID(runID);
26 hcal_ana->FinishAna();
28 std::cout <<
"All done" << std::endl;