73 iBooker.setCurrentFolder(
"EgammaV/PhotonValidatorMiniAOD/Photons");
81 h_phoE_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
" Photon Energy: All ecal ",
eBin,
eMin,
eMax);
82 h_phoE_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
" Photon Energy: barrel ",
eBin,
eMin,
eMax);
83 h_phoE_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
" Photon Energy: Endcap ",
eBin,
eMin,
eMax);
87 iBooker.book1D(histname +
"All_miniAOD",
" Photon Transverse Energy: All ecal ",
etBin,
etMin,
etMax);
89 iBooker.book1D(histname +
"Barrel_miniAOD",
" Photon Transverse Energy: Barrel ",
etBin,
etMin,
etMax);
91 iBooker.book1D(histname +
"Endcap_miniAOD",
" Photon Transverse Energy: Endcap ",
etBin,
etMin,
etMax);
95 histname +
"All_miniAOD",
" Photon E/E_{true}: All ecal; E/E_{true} (GeV)",
resBin,
resMin,
resMax);
97 histname +
"Barrel_miniAOD",
"Photon E/E_{true}: Barrel; E/E_{true} (GeV)",
resBin,
resMin,
resMax);
99 histname +
"Endcap_miniAOD",
" Photon E/E_{true}: Endcap; E/E_{true} (GeV)",
resBin,
resMin,
resMax);
101 histname =
"sigmaEoE";
103 iBooker.book1D(histname +
"All_miniAOD",
"#sigma_{E}/E: All ecal; #sigma_{E}/E", 100, 0., 0.08);
105 iBooker.book1D(histname +
"Barrel_miniAOD",
"#sigma_{E}/E: Barrel; #sigma_{E}/E", 100, 0., 0.08);
107 iBooker.book1D(histname +
"Endcap_miniAOD",
"#sigma_{E}/E: Endcap, #sigma_{E}/E", 100, 0., 0.08);
113 histname =
"full5x5_r9";
118 h_r1_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
" e1x5/e5x5: All Ecal",
r9Bin,
r9Min,
r9Max);
119 h_r1_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
" e1x5/e5x5: Barrel ",
r9Bin,
r9Min,
r9Max);
120 h_r1_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
" e1x5/e5x5: Endcap ",
r9Bin,
r9Min,
r9Max);
122 h_r2_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
" e2x5/e5x5: All Ecal",
r9Bin,
r9Min,
r9Max);
123 h_r2_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
" e2x5/e5x5: Barrel ",
r9Bin,
r9Min,
r9Max);
124 h_r2_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
" e2x5/e5x5: Endcap ",
r9Bin,
r9Min,
r9Max);
126 h_hOverE_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
"H/E: All Ecal", 100, 0., 0.2);
127 h_hOverE_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"H/E: Barrel ", 100, 0., 0.2);
128 h_hOverE_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"H/E: Endcap ", 100, 0., 0.2);
130 histname =
"newhOverE";
131 h_newhOverE_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
"new H/E: All Ecal", 100, 0., 0.2);
132 h_newhOverE_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"new H/E: Barrel ", 100, 0., 0.2);
133 h_newhOverE_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"new H/E: Endcap ", 100, 0., 0.2);
135 histname =
"sigmaIetaIeta";
136 h_sigmaIetaIeta_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
"sigmaIetaIeta: All Ecal", 100, 0., 0.1);
137 h_sigmaIetaIeta_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"sigmaIetaIeta: Barrel ", 100, 0., 0.05);
138 h_sigmaIetaIeta_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"sigmaIetaIeta: Endcap ", 100, 0., 0.1);
139 histname =
"full5x5_sigmaIetaIeta";
141 iBooker.book1D(histname +
"All_miniAOD",
"Full5x5 sigmaIetaIeta: All Ecal", 100, 0., 0.1);
143 iBooker.book1D(histname +
"Barrel_miniAOD",
"Full5x5 sigmaIetaIeta: Barrel ", 100, 0., 0.05);
145 iBooker.book1D(histname +
"Endcap_miniAOD",
"Full5x5 sigmaIetaIeta: Endcap ", 100, 0., 0.1);
147 histname =
"ecalRecHitSumEtConeDR04";
149 iBooker.book1D(histname +
"All_miniAOD",
"ecalRecHitSumEtDR04: All Ecal",
etBin,
etMin, 20.);
151 iBooker.book1D(histname +
"Barrel_miniAOD",
"ecalRecHitSumEtDR04: Barrel ",
etBin,
etMin, 20.);
153 iBooker.book1D(histname +
"Endcap_miniAOD",
"ecalRecHitSumEtDR04: Endcap ",
etBin,
etMin, 20.);
154 histname =
"hcalTowerSumEtConeDR04";
156 iBooker.book1D(histname +
"All_miniAOD",
"hcalTowerSumEtConeDR04: All Ecal",
etBin,
etMin, 20.);
158 iBooker.book1D(histname +
"Barrel_miniAOD",
"hcalTowerSumEtConeDR04: Barrel ",
etBin,
etMin, 20.);
160 iBooker.book1D(histname +
"Endcap_miniAOD",
"hcalTowerSumEtConeDR04: Endcap ",
etBin,
etMin, 20.);
162 histname =
"hcalTowerBcSumEtConeDR04";
164 iBooker.book1D(histname +
"All_miniAOD",
"hcalTowerBcSumEtConeDR04: All Ecal",
etBin,
etMin, 20.);
166 iBooker.book1D(histname +
"Barrel_miniAOD",
"hcalTowerBcSumEtConeDR04: Barrel ",
etBin,
etMin, 20.);
168 iBooker.book1D(histname +
"Endcap_miniAOD",
"hcalTowerBcSumEtConeDR04: Endcap ",
etBin,
etMin, 20.);
169 histname =
"isoTrkSolidConeDR04";
171 iBooker.book1D(histname +
"All_miniAOD",
"isoTrkSolidConeDR04: All Ecal",
etBin,
etMin,
etMax * 0.1);
173 iBooker.book1D(histname +
"Barrel_miniAOD",
"isoTrkSolidConeDR04: Barrel ",
etBin,
etMin,
etMax * 0.1);
175 iBooker.book1D(histname +
"Endcap_miniAOD",
"isoTrkSolidConeDR04: Endcap ",
etBin,
etMin,
etMax * 0.1);
176 histname =
"nTrkSolidConeDR04";
177 h_nTrkSolidConeDR04_[0][0] = iBooker.book1D(histname +
"All_miniAOD",
"nTrkSolidConeDR04: All Ecal", 20, 0., 20);
178 h_nTrkSolidConeDR04_[0][1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"nTrkSolidConeDR04: Barrel ", 20, 0., 20);
179 h_nTrkSolidConeDR04_[0][2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"nTrkSolidConeDR04: Endcap ", 20, 0., 20);
182 histname =
"chargedHadIso";
183 h_chHadIso_[0] = iBooker.book1D(histname +
"All_miniAOD",
"PF chargedHadIso: All Ecal",
etBin,
etMin, 20.);
184 h_chHadIso_[1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"PF chargedHadIso: Barrel",
etBin,
etMin, 20.);
185 h_chHadIso_[2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"PF chargedHadIso: Endcap",
etBin,
etMin, 20.);
186 histname =
"neutralHadIso";
187 h_nHadIso_[0] = iBooker.book1D(histname +
"All_miniAOD",
"PF neutralHadIso: All Ecal",
etBin,
etMin, 20.);
188 h_nHadIso_[1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"PF neutralHadIso: Barrel",
etBin,
etMin, 20.);
189 h_nHadIso_[2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"PF neutralHadIso: Endcap",
etBin,
etMin, 20.);
190 histname =
"photonIso";
191 h_phoIso_[0] = iBooker.book1D(histname +
"All_miniAOD",
"PF photonIso: All Ecal",
etBin,
etMin, 20.);
192 h_phoIso_[1] = iBooker.book1D(histname +
"Barrel_miniAOD",
"PF photonIso: Barrel",
etBin,
etMin, 20.);
193 h_phoIso_[2] = iBooker.book1D(histname +
"Endcap_miniAOD",
"PF photonIso: Endcap",
etBin,
etMin, 20.);