CMS 3D CMS Logo

NoBPTXMonitor.cc
Go to the documentation of this file.
2 
3 // -----------------------------
4 // constructors and destructor
5 // -----------------------------
6 
8  : folderName_(iConfig.getParameter<std::string>("FolderName")),
9  jetToken_(consumes<reco::CaloJetCollection>(iConfig.getParameter<edm::InputTag>("jets"))),
10  muonToken_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("muons"))),
11  jetE_variable_binning_(
12  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetEBinning")),
13  jetE_binning_(getHistoPSet(
14  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetEPSet"))),
15  jetEta_binning_(getHistoPSet(
16  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetEtaPSet"))),
17  jetPhi_binning_(getHistoPSet(
18  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetPhiPSet"))),
19  muonPt_variable_binning_(
20  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muonPtBinning")),
21  muonPt_binning_(getHistoPSet(
22  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonPtPSet"))),
23  muonEta_binning_(getHistoPSet(
24  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonEtaPSet"))),
25  muonPhi_binning_(getHistoPSet(
26  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonPhiPSet"))),
27  ls_binning_(
28  getHistoPSet(iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("lsPSet"))),
29  bx_binning_(getHistoLSPSet(
30  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("bxPSet"))),
31  num_genTriggerEventFlag_(new GenericTriggerEventFlag(
32  iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
33  den_genTriggerEventFlag_(new GenericTriggerEventFlag(
34  iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"), consumesCollector(), *this)),
35  jetSelection_(iConfig.getParameter<std::string>("jetSelection")),
36  muonSelection_(iConfig.getParameter<std::string>("muonSelection")),
37  njets_(iConfig.getParameter<unsigned int>("njets")),
38  nmuons_(iConfig.getParameter<unsigned int>("nmuons")) {
39  jetENoBPTX_.numerator = nullptr;
40  jetENoBPTX_.denominator = nullptr;
43  jetEVsLS_.numerator = nullptr;
44  jetEVsLS_.denominator = nullptr;
45  jetEVsBX_.numerator = nullptr;
46  jetEtaNoBPTX_.numerator = nullptr;
47  jetEtaNoBPTX_.denominator = nullptr;
48  jetEtaVsLS_.numerator = nullptr;
49  jetEtaVsBX_.numerator = nullptr;
50  jetPhiNoBPTX_.numerator = nullptr;
51  jetPhiNoBPTX_.denominator = nullptr;
52  jetPhiVsLS_.numerator = nullptr;
53  jetPhiVsBX_.numerator = nullptr;
54 
55  muonPtNoBPTX_.numerator = nullptr;
56  muonPtNoBPTX_.denominator = nullptr;
59  muonPtVsLS_.numerator = nullptr;
60  muonPtVsBX_.numerator = nullptr;
61  muonEtaNoBPTX_.numerator = nullptr;
62  muonEtaNoBPTX_.denominator = nullptr;
63  muonEtaVsLS_.numerator = nullptr;
64  muonEtaVsBX_.numerator = nullptr;
65  muonPhiNoBPTX_.numerator = nullptr;
66  muonPhiNoBPTX_.denominator = nullptr;
67  muonPhiVsLS_.numerator = nullptr;
68  muonPhiVsBX_.numerator = nullptr;
69 }
70 
72 
74  return NoBPTXbinning{
75  pset.getParameter<unsigned int>("nbins"),
76  pset.getParameter<double>("xmin"),
77  pset.getParameter<double>("xmax"),
78  };
79 }
80 
82  return NoBPTXbinning{pset.getParameter<unsigned int>("nbins"), 0., double(pset.getParameter<unsigned int>("nbins"))};
83 }
84 
85 void NoBPTXMonitor::setNoBPTXTitle(NoBPTXME& me, const std::string& titleX, const std::string& titleY, bool bookDen) {
86  me.numerator->setAxisTitle(titleX, 1);
87  me.numerator->setAxisTitle(titleY, 2);
88  if (bookDen) {
89  me.denominator->setAxisTitle(titleX, 1);
90  me.denominator->setAxisTitle(titleY, 2);
91  }
92 }
93 
95  NoBPTXME& me,
96  const std::string& histname,
97  const std::string& histtitle,
98  int nbins,
99  double min,
100  double max) {
101  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, min, max);
102  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, min, max);
103 }
105  NoBPTXME& me,
106  const std::string& histname,
107  const std::string& histtitle,
108  const std::vector<double>& binning) {
109  int nbins = binning.size() - 1;
110  std::vector<float> fbinning(binning.begin(), binning.end());
111  float* arr = &fbinning[0];
112  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, arr);
113  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, arr);
114 }
116  NoBPTXME& me,
117  const std::string& histname,
118  const std::string& histtitle,
119  int nbinsX,
120  double xmin,
121  double xmax,
122  double ymin,
123  double ymax,
124  bool bookDen) {
125  me.numerator =
126  ibooker.bookProfile(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, ymin, ymax);
127  if (bookDen)
128  me.denominator =
129  ibooker.bookProfile(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, ymin, ymax);
130 }
132  NoBPTXME& me,
133  const std::string& histname,
134  const std::string& histtitle,
135  int nbinsX,
136  double xmin,
137  double xmax,
138  int nbinsY,
139  double ymin,
140  double ymax) {
141  me.numerator =
142  ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
143  me.denominator =
144  ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
145 }
147  NoBPTXME& me,
148  const std::string& histname,
149  const std::string& histtitle,
150  const std::vector<double>& binningX,
151  const std::vector<double>& binningY) {
152  int nbinsX = binningX.size() - 1;
153  std::vector<float> fbinningX(binningX.begin(), binningX.end());
154  float* arrX = &fbinningX[0];
155  int nbinsY = binningY.size() - 1;
156  std::vector<float> fbinningY(binningY.begin(), binningY.end());
157  float* arrY = &fbinningY[0];
158 
159  me.numerator = ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, arrX, nbinsY, arrY);
160  me.denominator = ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, arrX, nbinsY, arrY);
161 }
162 
163 void NoBPTXMonitor::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) {
164  std::string histname, histtitle;
165  bool bookDen;
166 
167  std::string currentFolder = folderName_;
168  ibooker.setCurrentFolder(currentFolder);
169 
170  histname = "jetE";
171  histtitle = "jetE";
172  bookDen = true;
173  bookNoBPTX(ibooker, jetENoBPTX_, histname, histtitle, jetE_binning_.nbins, jetE_binning_.xmin, jetE_binning_.xmax);
174  setNoBPTXTitle(jetENoBPTX_, "Jet E [GeV]", "Events / [GeV]", bookDen);
175 
176  histname = "jetE_variable";
177  histtitle = "jetE";
178  bookDen = true;
179  bookNoBPTX(ibooker, jetENoBPTX_variableBinning_, histname, histtitle, jetE_variable_binning_);
180  setNoBPTXTitle(jetENoBPTX_variableBinning_, "Jet E [GeV]", "Events / [GeV]", bookDen);
181 
182  histname = "jetEVsLS";
183  histtitle = "jetE vs LS";
184  bookDen = true;
185  bookNoBPTX(ibooker,
186  jetEVsLS_,
187  histname,
188  histtitle,
194  bookDen);
195  setNoBPTXTitle(jetEVsLS_, "LS", "Jet E [GeV]", bookDen);
196 
197  histname = "jetEVsBX";
198  histtitle = "jetE vs BX";
199  bookDen = false;
200  bookNoBPTX(ibooker,
201  jetEVsBX_,
202  histname,
203  histtitle,
209  bookDen);
210  setNoBPTXTitle(jetEVsBX_, "BX", "Jet E [GeV]", bookDen);
211 
212  histname = "jetEta";
213  histtitle = "jetEta";
214  bookDen = true;
215  bookNoBPTX(
216  ibooker, jetEtaNoBPTX_, histname, histtitle, jetEta_binning_.nbins, jetEta_binning_.xmin, jetEta_binning_.xmax);
217  setNoBPTXTitle(jetEtaNoBPTX_, "Jet #eta", "Events", bookDen);
218 
219  histname = "jetEtaVsLS";
220  histtitle = "jetEta vs LS";
221  bookDen = false;
222  bookNoBPTX(ibooker,
223  jetEtaVsLS_,
224  histname,
225  histtitle,
231  bookDen);
232  setNoBPTXTitle(jetEtaVsLS_, "LS", "Jet #eta", bookDen);
233 
234  histname = "jetEtaVsBX";
235  histtitle = "jetEta vs BX";
236  bookDen = false;
237  bookNoBPTX(ibooker,
238  jetEtaVsBX_,
239  histname,
240  histtitle,
246  bookDen);
247  setNoBPTXTitle(jetEtaVsBX_, "BX", "Jet #eta", bookDen);
248 
249  histname = "jetPhi";
250  histtitle = "jetPhi";
251  bookDen = true;
252  bookNoBPTX(
253  ibooker, jetPhiNoBPTX_, histname, histtitle, jetPhi_binning_.nbins, jetPhi_binning_.xmin, jetPhi_binning_.xmax);
254  setNoBPTXTitle(jetPhiNoBPTX_, "Jet #phi", "Events", bookDen);
255 
256  histname = "jetPhiVsLS";
257  histtitle = "jetPhi vs LS";
258  bookDen = false;
259  bookNoBPTX(ibooker,
260  jetPhiVsLS_,
261  histname,
262  histtitle,
268  bookDen);
269  setNoBPTXTitle(jetPhiVsLS_, "LS", "Jet #phi", bookDen);
270 
271  histname = "jetPhiVsBX";
272  histtitle = "jetPhi vs BX";
273  bookDen = false;
274  bookNoBPTX(ibooker,
275  jetPhiVsBX_,
276  histname,
277  histtitle,
283  bookDen);
284  setNoBPTXTitle(jetPhiVsBX_, "BX", "Jet #phi", bookDen);
285 
286  histname = "muonPt";
287  histtitle = "muonPt";
288  bookDen = true;
289  bookNoBPTX(
290  ibooker, muonPtNoBPTX_, histname, histtitle, muonPt_binning_.nbins, muonPt_binning_.xmin, muonPt_binning_.xmax);
291  setNoBPTXTitle(muonPtNoBPTX_, "DisplacedStandAlone Muon p_{T} [GeV]", "Events / [GeV]", bookDen);
292 
293  histname = "muonPt_variable";
294  histtitle = "muonPt";
295  bookDen = true;
296  bookNoBPTX(ibooker, muonPtNoBPTX_variableBinning_, histname, histtitle, muonPt_variable_binning_);
297  setNoBPTXTitle(muonPtNoBPTX_variableBinning_, "DisplacedStandAlone Muon p_{T} [GeV]", "Events / [GeV]", bookDen);
298 
299  histname = "muonPtVsLS";
300  histtitle = "muonPt vs LS";
301  bookDen = false;
302  bookNoBPTX(ibooker,
303  muonPtVsLS_,
304  histname,
305  histtitle,
311  bookDen);
312  setNoBPTXTitle(muonPtVsLS_, "LS", "DisplacedStandAlone Muon p_{T} [GeV]", bookDen);
313 
314  histname = "muonPtVsBX";
315  histtitle = "muonPt vs BX";
316  bookDen = false;
317  bookNoBPTX(ibooker,
318  muonPtVsBX_,
319  histname,
320  histtitle,
326  bookDen);
327  setNoBPTXTitle(muonPtVsBX_, "BX", "DisplacedStandAlone Muon p_{T} [GeV]", bookDen);
328 
329  histname = "muonEta";
330  histtitle = "muonEta";
331  bookDen = true;
332  bookNoBPTX(ibooker,
334  histname,
335  histtitle,
339  setNoBPTXTitle(muonEtaNoBPTX_, "DisplacedStandAlone Muon #eta", "Events", bookDen);
340 
341  histname = "muonEtaVsLS";
342  histtitle = "muonEta vs LS";
343  bookDen = false;
344  bookNoBPTX(ibooker,
345  muonEtaVsLS_,
346  histname,
347  histtitle,
353  bookDen);
354  setNoBPTXTitle(muonEtaVsLS_, "LS", "DisplacedStandAlone Muon #eta", bookDen);
355 
356  histname = "muonEtaVsBX";
357  histtitle = "muonEta vs BX";
358  bookDen = false;
359  bookNoBPTX(ibooker,
360  muonEtaVsBX_,
361  histname,
362  histtitle,
368  bookDen);
369  setNoBPTXTitle(muonEtaVsBX_, "BX", "DisplacedStandAlone Muon #eta", bookDen);
370 
371  histname = "muonPhi";
372  histtitle = "muonPhi";
373  bookDen = true;
374  bookNoBPTX(ibooker,
376  histname,
377  histtitle,
381  setNoBPTXTitle(muonPhiNoBPTX_, "DisplacedStandAlone Muon #phi", "Events", bookDen);
382 
383  histname = "muonPhiVsLS";
384  histtitle = "muonPhi vs LS";
385  bookDen = false;
386  bookNoBPTX(ibooker,
387  muonPhiVsLS_,
388  histname,
389  histtitle,
395  bookDen);
396  setNoBPTXTitle(muonPhiVsLS_, "LS", "DisplacedStandAlone Muon #phi", bookDen);
397 
398  histname = "muonPhiVsBX";
399  histtitle = "muonPhi vs BX";
400  bookDen = false;
401  bookNoBPTX(ibooker,
402  muonPhiVsBX_,
403  histname,
404  histtitle,
410  bookDen);
411  setNoBPTXTitle(muonPhiVsBX_, "BX", "DisplacedStandAlone Muon #phi", bookDen);
412 
413  // Initialize the GenericTriggerEventFlag
415  num_genTriggerEventFlag_->initRun(iRun, iSetup);
417  den_genTriggerEventFlag_->initRun(iRun, iSetup);
418 }
419 
421  // Filter out events if Trigger Filtering is requested
422  if (den_genTriggerEventFlag_->on() && !den_genTriggerEventFlag_->accept(iEvent, iSetup))
423  return;
424 
425  int ls = iEvent.id().luminosityBlock();
426  int bx = iEvent.bunchCrossing();
427 
429  iEvent.getByToken(jetToken_, jetHandle);
430  std::vector<reco::CaloJet> jets;
431  if ((unsigned int)(jetHandle->size()) < njets_)
432  return;
433  for (auto const& j : *jetHandle) {
434  if (jetSelection_(j))
435  jets.push_back(j);
436  }
437  if ((unsigned int)(jets.size()) < njets_)
438  return;
439  double jetE = -999;
440  double jetEta = -999;
441  double jetPhi = -999;
442  if (!jets.empty()) {
443  jetE = jets[0].energy();
444  jetEta = jets[0].eta();
445  jetPhi = jets[0].phi();
446  }
447 
449  iEvent.getByToken(muonToken_, DSAHandle);
450  if ((unsigned int)(DSAHandle->size()) < nmuons_)
451  return;
452  std::vector<reco::Track> muons;
453  for (auto const& m : *DSAHandle) {
454  if (muonSelection_(m))
455  muons.push_back(m);
456  }
457  if ((unsigned int)(muons.size()) < nmuons_)
458  return;
459  double muonPt = -999;
460  double muonEta = -999;
461  double muonPhi = -999;
462  if (!muons.empty()) {
463  muonPt = muons[0].pt();
464  muonEta = muons[0].eta();
465  muonPhi = muons[0].phi();
466  }
467 
468  // filling histograms (denominator)
471  jetEVsLS_.denominator->Fill(ls, jetE);
472  jetEtaNoBPTX_.denominator->Fill(jetEta);
473  jetPhiNoBPTX_.denominator->Fill(jetPhi);
474  muonPtNoBPTX_.denominator->Fill(muonPt);
476  muonEtaNoBPTX_.denominator->Fill(muonEta);
477  muonPhiNoBPTX_.denominator->Fill(muonPhi);
478 
479  // filling histograms (numerator)
480  if (num_genTriggerEventFlag_->on() && !num_genTriggerEventFlag_->accept(iEvent, iSetup))
481  return;
482  jetENoBPTX_.numerator->Fill(jetE);
484  jetEVsLS_.numerator->Fill(ls, jetE);
485  jetEVsBX_.numerator->Fill(bx, jetE);
486  jetEtaNoBPTX_.numerator->Fill(jetEta);
487  jetEtaVsLS_.numerator->Fill(ls, jetEta);
488  jetEtaVsBX_.numerator->Fill(bx, jetEta);
489  jetPhiNoBPTX_.numerator->Fill(jetPhi);
490  jetPhiVsLS_.numerator->Fill(ls, jetPhi);
491  jetPhiVsBX_.numerator->Fill(bx, jetPhi);
492  muonPtNoBPTX_.numerator->Fill(muonPt);
494  muonPtVsLS_.numerator->Fill(ls, muonPt);
495  muonPtVsBX_.numerator->Fill(bx, muonPt);
496  muonEtaNoBPTX_.numerator->Fill(muonEta);
497  muonEtaVsLS_.numerator->Fill(ls, muonEta);
498  muonEtaVsBX_.numerator->Fill(bx, muonEta);
499  muonPhiNoBPTX_.numerator->Fill(muonPhi);
500  muonPhiVsLS_.numerator->Fill(ls, muonPhi);
501  muonPhiVsBX_.numerator->Fill(bx, muonPhi);
502 }
503 
505  pset.add<unsigned int>("nbins", 200);
506  pset.add<double>("xmin", -0.5);
507  pset.add<double>("xmax", 19999.5);
508 }
509 
511  pset.add<unsigned int>("nbins", 2000);
512 }
513 
516  desc.add<std::string>("FolderName", "HLT/NoBPTX");
517 
518  desc.add<edm::InputTag>("jets", edm::InputTag("ak4CaloJets"));
519  desc.add<edm::InputTag>("muons", edm::InputTag("displacedStandAloneMuons"));
520  desc.add<std::string>("jetSelection", "pt > 0");
521  desc.add<std::string>("muonSelection", "pt > 0");
522  desc.add<unsigned int>("njets", 0);
523  desc.add<unsigned int>("nmuons", 0);
524 
526  genericTriggerEventPSet.add<bool>("andOr");
527  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
528  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions", {});
529  genericTriggerEventPSet.add<bool>("andOrDcs", false);
530  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
531  genericTriggerEventPSet.add<std::string>("dbLabel", "");
532  genericTriggerEventPSet.add<bool>("andOrHlt", true);
533  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
534  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths", {});
535  genericTriggerEventPSet.add<std::string>("hltDBKey", "");
536  genericTriggerEventPSet.add<bool>("errorReplyHlt", false);
537  genericTriggerEventPSet.add<unsigned int>("verbosityLevel", 1);
538 
539  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
540  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
541 
551  fillHistoPSetDescription(jetEPSet);
552  fillHistoPSetDescription(jetEtaPSet);
553  fillHistoPSetDescription(jetPhiPSet);
554  fillHistoPSetDescription(muonPtPSet);
555  fillHistoPSetDescription(muonEtaPSet);
556  fillHistoPSetDescription(muonPhiPSet);
557  fillHistoPSetDescription(lsPSet);
559  histoPSet.add<edm::ParameterSetDescription>("jetEPSet", jetEPSet);
560  histoPSet.add<edm::ParameterSetDescription>("jetEtaPSet", jetEtaPSet);
561  histoPSet.add<edm::ParameterSetDescription>("jetPhiPSet", jetPhiPSet);
562  histoPSet.add<edm::ParameterSetDescription>("muonPtPSet", muonPtPSet);
563  histoPSet.add<edm::ParameterSetDescription>("muonEtaPSet", muonEtaPSet);
564  histoPSet.add<edm::ParameterSetDescription>("muonPhiPSet", muonPhiPSet);
565  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
566  histoPSet.add<edm::ParameterSetDescription>("bxPSet", bxPSet);
567  std::vector<double> bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
568  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
569  histoPSet.add<std::vector<double> >("jetEBinning", bins);
570  histoPSet.add<std::vector<double> >("muonPtBinning", bins);
571 
572  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
573 
574  descriptions.add("NoBPTXMonitoring", desc);
575 }
576 
577 // Define this as a plug-in
static NoBPTXbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX)
Definition: DQMStore.cc:239
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > muonToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
NoBPTXME muonPtVsBX_
NoBPTXME jetEVsLS_
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
std::string folderName_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
NoBPTXbinning jetE_binning_
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:418
NoBPTXME jetPhiVsLS_
NoBPTXME muonEtaVsBX_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
int bunchCrossing() const
Definition: EventBase.h:64
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
~NoBPTXMonitor() override
std::vector< double > jetE_variable_binning_
MonitorElement * denominator
Definition: NoBPTXMonitor.h:50
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
NoBPTXbinning muonPt_binning_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void bookNoBPTX(DQMStore::IBooker &, NoBPTXME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
NoBPTXME muonEtaVsLS_
void Fill(long long x)
NoBPTXbinning bx_binning_
NoBPTXME muonPtNoBPTX_variableBinning_
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MonitorElement * numerator
Definition: NoBPTXMonitor.h:49
NoBPTXME jetEtaNoBPTX_
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, char const *option="s")
Definition: DQMStore.cc:333
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
NoBPTXME jetEtaVsBX_
NoBPTXME muonPtNoBPTX_
NoBPTXME jetENoBPTX_
T min(T a, T b)
Definition: MathUtil.h:58
NoBPTXME jetEVsBX_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
unsigned int njets_
NoBPTXME jetPhiVsBX_
NoBPTXME muonPhiVsBX_
unsigned int nmuons_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
NoBPTXbinning jetEta_binning_
def ls(path, rec=False)
Definition: eostools.py:349
NoBPTXME jetENoBPTX_variableBinning_
static NoBPTXbinning getHistoLSPSet(const edm::ParameterSet &pset)
StringCutObjectSelector< reco::Track, true > muonSelection_
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
NoBPTXbinning muonPhi_binning_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EventID id() const
Definition: EventBase.h:59
NoBPTXME muonEtaNoBPTX_
fixed size matrix
NoBPTXbinning muonEta_binning_
HLT enums.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Definition: DQMStore.cc:266
NoBPTXME jetEtaVsLS_
NoBPTXbinning jetPhi_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
NoBPTXME jetPhiNoBPTX_
NoBPTXbinning ls_binning_
NoBPTXMonitor(const edm::ParameterSet &)
Definition: NoBPTXMonitor.cc:7
NoBPTXME muonPhiVsLS_
void setNoBPTXTitle(NoBPTXME &me, const std::string &titleX, const std::string &titleY, bool bookDen)
std::vector< double > muonPt_variable_binning_
NoBPTXME muonPtVsLS_
Definition: Run.h:45
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
NoBPTXME muonPhiNoBPTX_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)