14 LogDebug(
"MuonME0DigisValidation")<<
"Info: Loading Geometry information\n";
17 unsigned int nregion = 2;
19 edm::LogInfo(
"MuonME0DigisValidation")<<
"+++ Info : # of region: "<<nregion<<std::endl;
21 LogDebug(
"MuonME0DigisValidation")<<
"+++ Info : finish to get geometry information from ES.\n";
23 num_evts = ibooker.
book1D(
"num_evts",
"Number of events; ; Number of events", 1, 0, 2);
39 float bins[] = {62.3, 70.0, 77.7, 87.1, 96.4, 108.2, 119.9, 134.7, 149.5};
40 int binnum =
sizeof(
bins)/
sizeof(
float) - 1;
43 me0_strip_dg_bkgElePos_rad = ibooker.
book1D(
"me0_strip_dg_bkgElePos_radius",
"Neutron background: electrons+positrons; Radius [cm]; Entries", binnum, bins);
46 me0_strip_exp_bkg_rad_tot = ibooker.
book1D(
"me0_strip_exp_bkg_radius_tot",
"Total expected neutron background; Radius [cm]; Hit Rate [Hz/cm^{2}]", binnum, bins);
47 me0_strip_exp_bkgElePos_rad = ibooker.
book1D(
"me0_strip_exp_bkgElePos_radius",
"Expected neutron background: electrons+positrons; Radius [cm]; Hit Rate [Hz/cm^{2}]", binnum, bins);
48 me0_strip_exp_bkgNeutral_rad = ibooker.
book1D(
"me0_strip_exp_bkgNeutral_radius",
"Expected neutron background: gammas+neutrons; Radius [cm]; Hit Rate [Hz/cm^{2}]", binnum, bins);
50 std::vector<double> neuBkg, eleBkg;
51 neuBkg.push_back(899644.0); neuBkg.push_back(-30841.0); neuBkg.push_back(441.28);
52 neuBkg.push_back(-3.3405); neuBkg.push_back(0.0140588); neuBkg.push_back(-3.11473
e-05); neuBkg.push_back(2.83736
e-08);
53 eleBkg.push_back(4.68590
e+05); eleBkg.push_back(-1.63834
e+04); eleBkg.push_back(2.35700
e+02);
54 eleBkg.push_back(-1.77706
e+00); eleBkg.push_back(7.39960
e-03); eleBkg.push_back(-1.61448
e-05); eleBkg.push_back(1.44368
e-08);
62 double pos_helper = 1.0;
63 for(
int j = 0; j < 7; ++j) {
65 neutral += neuBkg[j]*pos_helper;
66 charged += eleBkg[j]*pos_helper;
77 for(
unsigned int region_num = 0 ; region_num < nregion ; region_num++ ) {
80 for(
unsigned int layer_num = 0 ; layer_num < 6 ; layer_num++) {
89 std::string hist_label_for_dx_local =
"Local DeltaX: region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; #Delta X_{local} [cm]; Entries";
90 std::string hist_label_for_dy_local =
"Local DeltaY: region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; #Delta Y_{local} [cm]; Entries";
91 std::string hist_label_for_dphi_global =
"Global DeltaPhi: region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; #Delta #phi_{global} [rad]; Entries";
93 std::string hist_label_for_den_eta =
"Denominator: region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; #eta; Entries";
94 std::string hist_label_for_num_eta =
"Numerator: region"+
regionLabel[region_num]+
" layer "+layerLabel[layer_num]+
" ; #eta; Entries";
MonitorElement * BookHistZR(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99)
MonitorElement * me0_strip_dg_num_eta[2][6]
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * me0_strip_dg_den_eta_tot
MonitorElement * me0_strip_exp_bkgElePos_rad
std::vector< std::string > layerLabel
MonitorElement * me0_strip_dg_num_eta_tot
MonitorElement * me0_strip_dg_x_local_tot
MonitorElement * me0_strip_dg_dphi_global_Muon[2][6]
MonitorElement * me0_strip_dg_y_local_tot
MonitorElement * BookHistXY(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99)
MonitorElement * num_evts
void setCurrentFolder(std::string const &fullpath)
MonitorElement * me0_strip_dg_zr_tot_Muon[2]
MonitorElement * me0_strip_dg_dtime_tot_Muon
MonitorElement * me0_strip_dg_xy[2][6]
MonitorElement * book1D(Args &&...args)
MonitorElement * me0_strip_dg_dphi_global_tot_Muon
MonitorElement * me0_strip_dg_xy_Muon[2][6]
MonitorElement * me0_strip_dg_dy_local_tot_Muon
std::vector< std::string > regionLabel
MonitorElement * me0_strip_dg_dy_local_Muon[2][6]
MonitorElement * me0_strip_dg_bkgNeutral_rad
MonitorElement * me0_strip_exp_bkgNeutral_rad
MonitorElement * me0_strip_dg_dx_local_tot_Muon
MonitorElement * book2D(Args &&...args)
MonitorElement * me0_strip_dg_time_tot
MonitorElement * me0_strip_dg_bkg_rad_tot
MonitorElement * me0_strip_dg_den_eta[2][6]
MonitorElement * me0_strip_dg_bkgElePos_rad
MonitorElement * me0_strip_exp_bkg_rad_tot
MonitorElement * me0_strip_dg_dphi_vs_phi_global_tot_Muon
MonitorElement * me0_strip_dg_zr_tot[2]
MonitorElement * me0_strip_dg_dx_local_Muon[2][6]