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/libProto4HCalTowerCalib.so)
9 gSystem->Load(
"/direct/phenix+u/xusun/WorkSpace/sPHENIX/install/lib/libProto4HCalTowerCalib.so");
14 if(_is_sim) outputfile = Form(
"/sphenix/user/xusun/Simulation/TowerCalibAna/Proto4TowerInfoSIM_%s_%d.root",det.c_str(),colID);
15 if(!_is_sim) outputfile = Form(
"/sphenix/user/xusun/TestBeam/TowerCalibAna/Proto4TowerInfoRAW_%s_%d.root",det.c_str(),colID);
19 hcal_ana->set_det(det);
20 hcal_ana->set_colID(colID);
23 hcal_ana->FinishAna();
25 std::cout <<
"All done" << std::endl;