12 LogDebug(
"MuonME0HitsValidation")<<
"Info : Loading Geometry information\n";
15 unsigned int nregion = 2;
17 edm::LogInfo(
"MuonME0HitsValidation")<<
"+++ Info : # of region : "<<nregion<<std::endl;
19 LogDebug(
"MuonME0HitsValidation")<<
"+++ Info : finish to get geometry information from ES.\n";
22 for(
unsigned int region_num = 0 ; region_num < nregion ; region_num++ ) {
24 for(
unsigned int layer_num = 0 ; layer_num < 6 ; layer_num++) {
25 me0_sh_zr[region_num][layer_num] =
BookHistZR(ibooker,
"me0_sh",
"SimHit",region_num,layer_num);
26 me0_sh_xy[region_num][layer_num] =
BookHistXY(ibooker,
"me0_sh",
"SimHit",region_num,layer_num);
31 std::string hist_label_for_xy =
"SimHit occupancy : region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; globalX [cm]; globalY[cm]";
32 std::string hist_label_for_tof =
"SimHit TOF : region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" "+
" ; Time of flight [ns] ; entries";
33 std::string hist_label_for_tofMu =
"SimHit TOF(Muon only) : region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" "+
" ; Time of flight [ns] ; entries";
34 std::string hist_label_for_eloss =
"SimHit energy loss : region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" "+
" ; Energy loss [eV] ; entries";
35 std::string hist_label_for_elossMu =
"SimHit energy loss(Muon only) : region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" "+
" ; Energy loss [eV] ; entries";
38 double tof_min, tof_max;
39 tof_min = 10; tof_max = 30;
40 me0_sh_tof[region_num][layer_num] = ibooker.
book1D( hist_name_for_tof.c_str(), hist_label_for_tof.c_str(), 40,tof_min,tof_max);
41 me0_sh_tofMu[region_num][layer_num] = ibooker.
book1D( hist_name_for_tofMu.c_str(), hist_label_for_tofMu.c_str(), 40,tof_min,tof_max);
42 me0_sh_eloss[region_num][layer_num] = ibooker.
book1D( hist_name_for_eloss.c_str(), hist_label_for_eloss.c_str(), 60,0.,6000.);
43 me0_sh_elossMu[region_num][layer_num] = ibooker.
book1D( hist_name_for_elossMu.c_str(), hist_label_for_elossMu.c_str(), 60,0.,6000.);
MonitorElement * BookHistZR(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99)
MonitorElement * me0_sh_elossMu[2][6]
MonitorElement * me0_sh_zr[2][6]
MonitorElement * me0_sh_tot_zr[2]
MonitorElement * me0_sh_xy[2][6]
std::vector< std::string > layerLabel
MonitorElement * me0_sh_tofMu[2][6]
MonitorElement * BookHistXY(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99)
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
std::vector< std::string > regionLabel
MonitorElement * me0_sh_tof[2][6]
MonitorElement * me0_sh_eloss[2][6]