2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
13 #include <caloreco/CaloTowerBuilder.h>
14 #include <caloreco/CaloWaveformProcessing.h>
15 #include <caloreco/CaloTowerCalib.h>
16 #include <caloreco/RawClusterBuilderTemplate.h>
17 #include <caloreco/RawClusterPositionCorrection.h>
25 #include <caloreco/DeadHotMapLoader.h>
27 #include <caloreco/TowerInfoDeadHotMask.h>
29 #include <caloreco/RawClusterDeadHotMask.h>
31 R__LOAD_LIBRARY(libfun4all.so)
32 R__LOAD_LIBRARY(libfun4allraw.so)
33 R__LOAD_LIBRARY(libcalo_reco.so)
34 R__LOAD_LIBRARY(libffamodules.so)
41 gSystem->Load(
"libg4dst");
56 dstIn -> AddFile(
fname.c_str());
57 se -> registerInputManager(dstIn);
59 std::cout <<
"Calibrating EMCal" << std::endl;
62 se -> registerSubsystem(calibEMC);
64 std::cout <<
"Calibrating OHcal" << std::endl;
68 se -> registerSubsystem(calibOHCal);
70 std::cout <<
"Calibrating IHcal" << std::endl;
74 se -> registerSubsystem(calibIHCal);
76 std::cout <<
"Calibrating ZDC" << std::endl;
80 se -> registerSubsystem(calibZDC);
82 std::cout <<
"Loading EMCal deadmap" << std::endl;
88 std::cout <<
"Loading ihcal deadmap" << std::endl;
91 towerMapHCalin ->
detector(
"HCALIN");
94 std::cout <<
"Loading ohcal deadmap" << std::endl;
97 towerMapHCalout ->
detector(
"HCALOUT");
100 std::cout <<
"Loading cemc masker" << std::endl;
106 std::cout <<
"Loading hcal maskers" << std::endl;
109 towerMaskHCalin ->
detector(
"HCALIN");
113 towerMaskHCalout ->
detector(
"HCALOUT");
116 std::cout <<
"Adding Geometry file" << std::endl;
128 emc_prof +=
"/EmcProfile/CEMCprof_Thresh30MeV.root";
152 std::cout <<
"All done!" << std::endl;