4 #include <GlobalVariables.C>
16 #include <caloreco/RawClusterBuilderFwd.h>
17 #include <caloreco/RawClusterBuilderTemplate.h>
18 #include <caloreco/RawTowerCalibration.h>
70 cout <<
"use only G4DRCALO::SETTING::Tungsten=true or G4DRCALO::SETTING::Quartz=true or G4DRCALO::SETTING::PMMA=true" << endl;
75 cout <<
"use only G4DRCALO::SETTING::FwdSquare=true or G4DRCALO::SETTING::FwdConfig=true" << endl;
96 ostringstream mapping_drcalo;
101 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_tungsten_FwdSquare.txt";
103 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_tungsten.txt";
106 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Quartz_FwdSquare.txt";
108 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Quartz.txt";
111 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_PMMA_FwdSquare.txt";
113 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_PMMA.txt";
117 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Tubes_FwdConfig.txt";
119 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default_FwdConfig.txt";
123 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Tubes_FwdSquare.txt";
125 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default_FwdSquare.txt";
129 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Tubes.txt";
131 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default.txt";
155 ostringstream mapping_drcalo;
160 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_tungsten_FwdSquare.txt";
162 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_tungsten.txt";
165 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Quartz_FwdSquare.txt";
167 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_Quartz.txt";
170 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_PMMA_FwdSquare.txt";
172 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_PMMA.txt";
175 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default_FwdConfig.txt";
177 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default_FwdSquare.txt";
179 mapping_drcalo << getenv(
"CALIBRATIONROOT") <<
"/DRCALO/mapping/towerMap_DRCALO_default.txt";
181 cout <<
"using " << mapping_drcalo.str() << endl;
191 cout <<
"def: using default for DRCALO towers" << endl;
199 TowerCalibration->
Detector(
"DRCALO");