34 for(
int side : {0,1}){
35 std::string sideStr = (side == 0) ?
"A" :
"C";
37 for(
int module = 0;
module < 4;
module++){
38 _TH1D(m_zdc[side][module],Form("zdc_side%c_%d", std::tolower(sideStr[0]), module),100,0.,1.e6);
39 _SET_TITLE(
m_zdc[side][module], Form(
"Cherenkov photons in ZDC - Side %s - Module %d", sideStr.c_str(), module),
"n_{gamma}",
"counts");
42 for(
int channel = 0; channel < 16; channel++){
43 _TH1D(
m_rpd[side][channel],Form(
"rpd_side%c_%d", std::tolower(sideStr[0]), channel),100,0.,1.e4);
44 _SET_TITLE(
m_rpd[side][channel], Form(
"Cherenkov photons in RPD - Side %s - Channel %d", sideStr.c_str(), channel),
"n_{gamma}",
"counts");
48 return StatusCode::SUCCESS;