2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
11 #include <proto4showercalib/Proto4ShowerCalib.h>
13 R__LOAD_LIBRARY(libfun4all.so)
14 R__LOAD_LIBRARY(libPrototype4.so)
15 R__LOAD_LIBRARY(/direct/phenix+
u/xusun/WorkSpace/sPHENIX/install/lib/libProto4HCalShowerCalib.so)
28 gSystem->Load(
"libPrototype4.so");
29 gSystem->Load(
"libfun4all.so");
53 if(_is_sim) inputfile = Form(
"/sphenix/user/xusun/Simulation/Production/BeamTest_24GeV_%s.root",runID.c_str());
54 if(!_is_sim) inputfile= Form(
"/sphenix/data/data02/sphenix/t1044/production/production_HCal_0221/beam_0000%s-0000.root",runID.c_str());
61 gSystem->Load(
"/direct/phenix+u/xusun/WorkSpace/sPHENIX/install/lib/libProto4HCalShowerCalib.so");
63 if(_is_sim) outputfile = Form(
"/sphenix/user/xusun/Simulation/ShowerCalib/Proto4ShowerInfoSIM_%s.root",runID.c_str());
64 if(!_is_sim) outputfile = Form(
"/sphenix/user/xusun/TestBeam/ShowerCalib/Proto4ShowerInfoRAW_%s.root",runID.c_str());
69 hcal_ana->set_runID(runID);
75 std::cout <<
"All done" << std::endl;