1 #ifndef MACRO_G4LFHCAL_C
2 #define MACRO_G4LFHCAL_C
18 #include <caloreco/RawClusterBuilderFwd.h>
19 #include <caloreco/RawClusterBuilderTemplate.h>
20 #include <caloreco/RawTowerCalibration.h>
70 TString mappinFileName = getenv(
"CALIBRATIONROOT");
74 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_2x-long.txt";
76 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_2x.txt";
82 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_wDR-long.txt";
84 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_wDR.txt";
90 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_FwdConfig-long.txt";
92 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_FwdConfig.txt";
98 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_FwdSquare-long.txt";
100 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_FwdSquare.txt";
108 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_IP6-asymmetric-long-tailcatcher.txt";
110 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_IP6-asymmetric-long.txt";
112 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_IP6-asymmetric.txt";
115 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_asymmetric-long.txt";
117 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_asymmetric.txt";
124 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_default-long.txt";
126 mappinFileName +=
"/LFHcal/mapping/towerMap_LFHCAL_default.txt";
129 return mappinFileName;
143 cout <<
"use only G4LFHCAL::SETTING::FullEtaAcc=true or G4LFHCAL::SETTING::HC2x=true or G4LFHCAL::SETTING::HC4x=true" << endl;
162 cout <<
"LFHCAL: "<< mapping_fhcal.Data() << endl;
163 ostringstream mapping_fhcal_s;
164 mapping_fhcal_s << mapping_fhcal.Data();
190 ostringstream mapping_fhcal_s;
191 mapping_fhcal_s << mapping_fhcal.Data();
200 cout <<
"def: using default for LFHCAL towers" << endl;
209 TowerCalibration->
Detector(
"LFHCAL");