2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
11 #include <caloreco/RawClusterBuilderTemplate.h>
15 #include <caloreco/CaloTowerBuilder.h>
16 #include <caloreco/CaloWaveformProcessing.h>
23 #include <caloreco/TowerInfoDeadHotMask.h>
24 #include <caloreco/DeadHotMapLoader.h>
25 #include <caloreco/RawClusterDeadHotMask.h>
28 #include <caloana/CaloAna.h>
31 R__LOAD_LIBRARY(libfun4all.so)
32 R__LOAD_LIBRARY(libfun4allraw.so)
33 R__LOAD_LIBRARY(libcalo_reco.so)
34 R__LOAD_LIBRARY(libcaloana.so)
35 R__LOAD_LIBRARY(libffamodules.so)
41 bool enableMasking = 0;
51 getline(file, first_file);
58 cout <<
"run number = " << runnumber << endl;
78 std::cout <<
"Loading EMCal deadmap" << std::endl;
83 std::cout <<
"Loading ihcal deadmap" << std::endl;
88 std::cout <<
"Loading ohcal deadmap" << std::endl;
90 towerMapHCalout->
detector(
"HCALOUT");
93 std::cout <<
"Loading cemc masker" << std::endl;
98 std::cout <<
"Loading hcal maskers" << std::endl;
100 towerMaskHCalin->
detector(
"HCALIN");
104 towerMaskHCalout->
detector(
"HCALOUT");
109 std::cout <<
"Building clusters" << std::endl;
114 emc_prof +=
"/EmcProfile/CEMCprof_Thresh30MeV.root";
120 std::cout <<
"Masking clusters" << std::endl;