117 MonitorElement * ptTemp,* etaTemp,* phiTemp, *pileupTemp, *tmpME, *summaryTemp;
121 summaryTemp = ibooker.
book1D(
"summaryPlotNum",
"summaryPlotNum", summaryHinfo.
nbins, summaryHinfo.
min, summaryHinfo.
max);
123 summaryTemp = ibooker.
book1D(
"summaryPlotDen",
"summaryPlotDen", summaryHinfo.
nbins, summaryHinfo.
min, summaryHinfo.
max);
125 summaryTemp = ibooker.
book1D(
"summaryPlot",
"summaryPlot", summaryHinfo.
nbins, summaryHinfo.
min, summaryHinfo.
max);
139 ptTemp = ibooker.
book1D(
"nRef_Taus_vs_ptTauVisible",
"nRef_Taus_vs_ptTauVisible", ptHinfo.
nbins, ptHinfo.
min, ptHinfo.
max);
140 etaTemp = ibooker.
book1D(
"nRef_Taus_vs_etaTauVisible",
"nRef_Taus_vs_etaTauVisible", etaHinfo.
nbins, etaHinfo.
min, etaHinfo.
max );
141 phiTemp = ibooker.
book1D(
"nRef_Taus_vs_phiTauVisible",
"nRef_Taus_vs_phiTauVisible", phiHinfo.
nbins, phiHinfo.
min, phiHinfo.
max);
142 pileupTemp = ibooker.
book1D(
"nRef_Taus_vs_pileupTauVisible",
"nRef_Taus_vs_pileupTauVisible", pileupHinfo.
nbins, pileupHinfo.
min, pileupHinfo.
max);
166 string DiscriminatorLabel = it.getParameter<
string>(
"discriminator");
171 string DiscriminatorLabelReduced = it.getParameter<
string>(
"discriminator");
172 DiscriminatorLabelReduced.erase(0, 24);
179 ptTemp = ibooker.
book1D(DiscriminatorLabel +
"_vs_ptTauVisible", histogramName +
"_vs_ptTauVisible", ptHinfo.
nbins, ptHinfo.
min, ptHinfo.
max);
180 etaTemp = ibooker.
book1D(DiscriminatorLabel +
"_vs_etaTauVisible", histogramName +
"_vs_etaTauVisible", etaHinfo.
nbins, etaHinfo.
min, etaHinfo.
max );
181 phiTemp = ibooker.
book1D(DiscriminatorLabel +
"_vs_phiTauVisible", histogramName +
"_vs_phiTauVisible", phiHinfo.
nbins, phiHinfo.
min, phiHinfo.
max);
182 pileupTemp = ibooker.
book1D(DiscriminatorLabel +
"_vs_pileupTauVisible", histogramName +
"_vs_pileupTauVisible", pileupHinfo.
nbins, pileupHinfo.
min, pileupHinfo.
max);
189 tmpME = ibooker.
book1D(DiscriminatorLabel +
"_TauCandMass", histogramName +
"_TauCandMass" +
";Cand Mass" +
";Frequency", 30, 0., 2.0);
190 plotMap_.insert( std::make_pair( DiscriminatorLabel +
"_TauCandMass", tmpME ) );
195 std::string xaxisLabel =
";p_{T}^{reco}/p_{T}^{gen}";
199 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
200 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
201 plotName = plotType +
"oneProng0Pi0";
202 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
203 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
204 plotName = plotType +
"oneProng1Pi0";
205 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
206 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
207 plotName = plotType +
"oneProng2Pi0";
208 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
209 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
211 plotName = plotType +
"twoProng0Pi0";
212 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
213 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
214 plotName = plotType +
"twoProng1Pi0";
215 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
216 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
217 plotName = plotType +
"twoProng2Pi0";
218 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
219 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
221 plotName = plotType +
"threeProng0Pi0";
222 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
223 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
224 plotName = plotType +
"threeProng1Pi0";
225 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 2.);
226 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
231 plotType =
"_nTaus_";
232 xaxisLabel =
";Tau Multiplicity";
233 yaxislabel =
";Frequency";
234 plotName = plotType +
"allHadronic";
236 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
237 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
238 plotName = plotType +
"oneProng0Pi0";
239 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
240 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
241 plotName = plotType +
"oneProng1Pi0";
242 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
243 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
244 plotName = plotType +
"oneProng2Pi0";
245 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
246 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
247 plotName = plotType +
"twoProng0Pi0";
248 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
249 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
250 plotName = plotType +
"twoProng1Pi0";
251 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
252 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
253 plotName = plotType +
"twoProng2Pi0";
254 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
255 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
256 plotName = plotType +
"threeProng0Pi0";
257 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
258 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
259 plotName = plotType +
"threeProng1Pi0";
260 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
261 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
266 xaxisLabel =
";size";
267 yaxislabel =
";Frequency";
269 plotName = plotType +
"signalCands";
270 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
271 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
272 plotName = plotType +
"signalChargedHadrCands";
273 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
274 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
275 plotName = plotType +
"signalNeutrHadrCands";
276 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
277 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
279 plotName = plotType +
"isolationCands";
280 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
281 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
282 plotName = plotType +
"isolationChargedHadrCands";
284 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
285 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
286 plotName = plotType +
"isolationNeutrHadrCands";
287 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
288 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
289 plotName = plotType +
"isolationGammaCands";
290 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, -0.5, bins-0.5);
291 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
293 plotType =
"_SumPt_";
294 xaxisLabel =
";p_{T}^{sum}/ GeV";
295 yaxislabel =
";Frequency";
297 plotName = plotType +
"signalCands";
298 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
299 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
300 plotName = plotType +
"signalChargedHadrCands";
301 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
302 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
303 plotName = plotType +
"signalNeutrHadrCands";
304 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
305 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
306 plotName = plotType +
"isolationCands";
307 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 50.);
308 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
309 plotName = plotType +
"isolationChargedHadrCands";
310 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 10.);
311 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
312 plotName = plotType +
"isolationNeutrHadrCands";
313 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 30.);
314 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
315 plotName = plotType +
"isolationGammaCands";
316 tmpME = ibooker.
book1D(DiscriminatorLabel + plotName, histogramName + plotName + xaxisLabel + yaxislabel, bins, 0., 20.);
317 plotMap_.insert( std::make_pair( DiscriminatorLabel + plotName, tmpME ) );
321 if ( DiscriminatorLabel.find(
"LeadingTrackPtCut") != string::npos){
333 if ( DiscriminatorLabel.find(
"ByIsolationLater") != string::npos ){
344 if ( DiscriminatorLabel.find(
"ByIsolation") != string::npos ){
std::map< std::string, MonitorElement * > ptTauVisibleMap
T getParameter(std::string const &) const
MonitorElement * nPFJet_LeadingChargedHadron_ChargedHadronsIsolAnnulus_
std::map< std::string, MonitorElement * > plotMap_
MonitorElement * nPFJet_LeadingChargedHadron_NeutralHadronsIsolAnnulus_
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::string refCollection_
MonitorElement * nPFJet_LeadingChargedHadron_GammasSignal_
std::vector< edm::ParameterSet > discriminators_
MonitorElement * nPFJet_LeadingChargedHadron_ChargedHadronsSignal_
void setCurrentFolder(std::string const &fullpath)
MonitorElement * nIsolated_NoChargedNoGammas_ChargedHadronsSignal_
MonitorElement * book1D(Args &&...args)
MonitorElement * nIsolated_NoChargedHadrons_GammasSignal_
MonitorElement * nIsolated_NoChargedHadrons_GammasIsolAnnulus_
std::map< std::string, MonitorElement * > etaTauVisibleMap
MonitorElement * nIsolated_NoChargedNoGammas_NeutralHadronsSignal_
MonitorElement * nIsolated_NoChargedNoGammas_NeutralHadronsIsolAnnulus_
MonitorElement * nIsolated_NoChargedHadrons_NeutralHadronsSignal_
std::map< std::string, MonitorElement * > summaryMap
std::string extensionName_
MonitorElement * nIsolated_NoChargedHadrons_NeutralHadronsIsolAnnulus_
bool stripDiscriminatorLabel(const std::string &discriminatorLabel, std::string &newLabel)
get rid of redundant parts to shorten the label
MonitorElement * nIsolated_NoChargedHadrons_ChargedHadronsSignal_
std::map< std::string, MonitorElement * > phiTauVisibleMap
MonitorElement * nPFJet_LeadingChargedHadron_NeutralHadronsSignal_
edm::ParameterSet histoSettings_
MonitorElement * nPFJet_LeadingChargedHadron_GammasIsolAnnulus_
std::map< std::string, MonitorElement * > pileupTauVisibleMap
MonitorElement * nIsolated_NoChargedNoGammas_GammasSignal_