1 #ifndef EICZDCBASE_RAWTOWERZDCDEFS_H
2 #define EICZDCBASE_RAWTOWERZDCDEFS_H
13 namespace RawTowerZDCDefs
83 const unsigned int tower_index_1,
84 const unsigned int tower_index_2,
85 const unsigned int tower_index_3)
95 std::cout <<
"too large index1 and/or index2; index1: "
100 << tower_index_3 <<
" (max val " <<
maxbitsIndex3 <<
")"<< std::endl;
104 return calo_tower_id;
119 return "ZDC_Crtstal";
123 return "ZDC_SiPixel";
136 <<
"Invalid calorimeter ID passed to RawTowerZDCDefs::convert_caloid_to_name"
147 if (caloname ==
"NONE")
150 else if (caloname ==
"ZDC_Crystal")
153 else if (caloname ==
"ZDC_SiPixel")
156 else if (caloname ==
"ZDC_SiPad")
159 else if (caloname ==
"ZDC_Sci")
164 std::cout <<
"Invalid calorimeter name " << caloname
165 <<
" passed to RawTowerZDCDefs::convert_name_to_caloid" << std::endl;