2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
13 #include <caloreco/CaloTowerCalib.h>
14 #include <caloreco/RawClusterBuilderTemplate.h>
15 #include <calib_emc_pi0/CaloCalibEmc_Pi0.h>
21 R__LOAD_LIBRARY(libfun4all.so)
22 R__LOAD_LIBRARY(libfun4allraw.so)
23 R__LOAD_LIBRARY(libcalo_reco.so)
25 R__LOAD_LIBRARY(libcalibCaloEmc_pi0.so)
42 string inputFile0 =
"DST_CALO_G4HIT_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000007-";
43 string inputFile1 =
"DST_CALO_CLUSTER_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000007-";
45 string inputFile3 =
"DST_GLOBAL_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000007-";
47 string outputFile =
"RESULTS/mult_clus_ntuple/iter_23/Fun4All_ntuples_run7_sHijing_iter23_";
49 int ynum_int = 100000 + file_num;
53 inputFile0 += yn_tstr.Data();
54 inputFile1 += yn_tstr.Data();
56 inputFile3 += yn_tstr.Data();
57 outputFile += yn_tstr.Data();
59 inputFile0 +=
".root";
60 inputFile1 +=
".root";
62 inputFile3 +=
".root";
63 outputFile +=
".root";
65 std::cout <<
"-------------------------------------------------------------------" << std::endl;
66 std::cout <<
" input files are" << std::endl;
67 std::cout <<
"-------------------------------------------------------------------" << std::endl;
68 std::cout << inputFile0 << std::endl;
69 std::cout << inputFile1 << std::endl;
71 std::cout << inputFile3 << std::endl;
73 std::cout <<
"-------------------------------------------------------------------" << std::endl;
74 std::cout <<
"output file is " << std::endl;
75 std::cout <<
"-------------------------------------------------------------------" << std::endl;
76 std::cout << outputFile << std::endl;
79 gSystem->Load(
"libg4dst");
114 calib->setCalibUseMode(1);
117 calib->
setCalibName(
"/sphenix/user/sregmi/WORKING_AREA/PI_0/pi0_calib_m-clust/CDB_CEMC/iter_file/m_clust_pi0_iter22_CDB.root");
129 emc_prof +=
"/EmcProfile/CEMCprof_Thresh30MeV.root";