CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
NoBPTXMonitor Class Reference
Inheritance diagram for NoBPTXMonitor:
DQMEDAnalyzer TriggerDQMBase edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Types

typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from TriggerDQMBase
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

 NoBPTXMonitor (const edm::ParameterSet &)
 
 ~NoBPTXMonitor () override throw ()
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
- Public Member Functions inherited from TriggerDQMBase
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const double ymin, const double ymax, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const uint nbinsY, const double ymin, const double ymax, const bool bookDen=true)
 
void setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY)
 
 TriggerDQMBase ()=default
 
virtual ~TriggerDQMBase ()=default
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Static Public Member Functions inherited from TriggerDQMBase
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
static MEbinning getHistoLSPSet (const edm::ParameterSet &pset)
 
static MEbinning getHistoPSet (const edm::ParameterSet &pset)
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

MEbinning bx_binning_
 
std::unique_ptr< GenericTriggerEventFlagden_genTriggerEventFlag_
 
const std::string folderName_
 
bool hltPathsAreValid_
 
MEbinning jetE_binning_
 
std::vector< double > jetE_variable_binning_
 
ObjME jetENoBPTX_
 
ObjME jetENoBPTX_variableBinning_
 
MEbinning jetEta_binning_
 
ObjME jetEtaNoBPTX_
 
ObjME jetEtaVsBX_
 
ObjME jetEtaVsLS_
 
ObjME jetEVsBX_
 
ObjME jetEVsLS_
 
MEbinning jetPhi_binning_
 
ObjME jetPhiNoBPTX_
 
ObjME jetPhiVsBX_
 
ObjME jetPhiVsLS_
 
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
 
edm::EDGetTokenT< reco::CaloJetCollectionjetToken_
 
MEbinning ls_binning_
 
MEbinning muonEta_binning_
 
ObjME muonEtaNoBPTX_
 
ObjME muonEtaVsBX_
 
ObjME muonEtaVsLS_
 
MEbinning muonPhi_binning_
 
ObjME muonPhiNoBPTX_
 
ObjME muonPhiVsBX_
 
ObjME muonPhiVsLS_
 
MEbinning muonPt_binning_
 
std::vector< double > muonPt_variable_binning_
 
ObjME muonPtNoBPTX_
 
ObjME muonPtNoBPTX_variableBinning_
 
ObjME muonPtVsBX_
 
ObjME muonPtVsLS_
 
StringCutObjectSelector< reco::Track, true > muonSelection_
 
edm::EDGetTokenT< reco::TrackCollectionmuonToken_
 
unsigned int njets_
 
unsigned int nmuons_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
const bool requireValidHLTPaths_
 

Additional Inherited Members

- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 16 of file NoBPTXMonitor.cc.

Member Typedef Documentation

◆ DQMStore

Definition at line 19 of file NoBPTXMonitor.cc.

◆ MonitorElement

Definition at line 18 of file NoBPTXMonitor.cc.

Constructor & Destructor Documentation

◆ NoBPTXMonitor()

NoBPTXMonitor::NoBPTXMonitor ( const edm::ParameterSet iConfig)

Definition at line 80 of file NoBPTXMonitor.cc.

81  : folderName_(iConfig.getParameter<std::string>("FolderName")),
82  requireValidHLTPaths_(iConfig.getParameter<bool>("requireValidHLTPaths")),
83  hltPathsAreValid_(false),
84  jetToken_(consumes<reco::CaloJetCollection>(iConfig.getParameter<edm::InputTag>("jets"))),
85  muonToken_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("muons"))),
87  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetEBinning")),
89  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetEPSet"))),
91  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetEtaPSet"))),
93  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetPhiPSet"))),
95  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muonPtBinning")),
97  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonPtPSet"))),
99  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonEtaPSet"))),
101  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonPhiPSet"))),
102  ls_binning_(
103  getHistoPSet(iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("lsPSet"))),
105  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("bxPSet"))),
107  iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
109  iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"), consumesCollector(), *this)),
110  jetSelection_(iConfig.getParameter<std::string>("jetSelection")),
111  muonSelection_(iConfig.getParameter<std::string>("muonSelection")),
112  njets_(iConfig.getParameter<unsigned int>("njets")),
113  nmuons_(iConfig.getParameter<unsigned int>("nmuons")) {}

◆ ~NoBPTXMonitor()

NoBPTXMonitor::~NoBPTXMonitor ( )
throw (
)
override

Definition at line 115 of file NoBPTXMonitor.cc.

115  {
117  num_genTriggerEventFlag_.reset();
118  }
120  den_genTriggerEventFlag_.reset();
121  }
122 }

References den_genTriggerEventFlag_, and num_genTriggerEventFlag_.

Member Function Documentation

◆ analyze()

void NoBPTXMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 372 of file NoBPTXMonitor.cc.

372  {
373  // if valid HLT paths are required,
374  // analyze event only if all paths are valid
376  return;
377  }
378 
379  // Filter out events if Trigger Filtering is requested
380  if (den_genTriggerEventFlag_->on() && !den_genTriggerEventFlag_->accept(iEvent, iSetup)) {
381  return;
382  }
383 
384  const int ls = iEvent.id().luminosityBlock();
385  const int bx = iEvent.bunchCrossing();
386 
388  iEvent.getByToken(jetToken_, jetHandle);
389 
390  if ((unsigned int)(jetHandle->size()) < njets_)
391  return;
392 
393  std::vector<reco::CaloJet> jets;
394  for (auto const& j : *jetHandle) {
395  if (jetSelection_(j))
396  jets.push_back(j);
397  }
398 
399  if ((unsigned int)(jets.size()) < njets_)
400  return;
401 
402  double jetE = -999;
403  double jetEta = -999;
404  double jetPhi = -999;
405  if (!jets.empty()) {
406  jetE = jets[0].energy();
407  jetEta = jets[0].eta();
408  jetPhi = jets[0].phi();
409  }
410 
412  iEvent.getByToken(muonToken_, DSAHandle);
413 
414  if ((unsigned int)(DSAHandle->size()) < nmuons_)
415  return;
416 
417  std::vector<reco::Track> muons;
418  for (auto const& m : *DSAHandle) {
419  if (muonSelection_(m))
420  muons.push_back(m);
421  }
422 
423  if ((unsigned int)(muons.size()) < nmuons_)
424  return;
425 
426  double muonPt = -999;
427  double muonEta = -999;
428  double muonPhi = -999;
429  if (!muons.empty()) {
430  muonPt = muons[0].pt();
431  muonEta = muons[0].eta();
432  muonPhi = muons[0].phi();
433  }
434 
435  // passes numerator-trigger (fill-numerator flag)
436  const bool trg_passed = (num_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->accept(iEvent, iSetup));
437 
438  // filling histograms
439  jetENoBPTX_.fill(trg_passed, jetE);
440  jetENoBPTX_variableBinning_.fill(trg_passed, jetE);
441  jetEtaNoBPTX_.fill(trg_passed, jetEta);
442  jetPhiNoBPTX_.fill(trg_passed, jetPhi);
443  muonPtNoBPTX_.fill(trg_passed, muonPt);
445  muonEtaNoBPTX_.fill(trg_passed, muonEta);
446  muonPhiNoBPTX_.fill(trg_passed, muonPhi);
447 
448  jetEVsLS_.fill(trg_passed, ls, jetE);
449 
450  if (trg_passed) {
451  jetEVsBX_.numerator->Fill(bx, jetE);
462  }
463 }

References l1GtPatternGenerator_cfi::bx, den_genTriggerEventFlag_, TriggerDQMBase::ObjME::fill(), dqm::impl::MonitorElement::Fill(), hltPathsAreValid_, iEvent, dqmiolumiharvest::j, jetENoBPTX_, jetENoBPTX_variableBinning_, reco::btau::jetEta, jetEtaNoBPTX_, jetEtaVsBX_, jetEtaVsLS_, jetEVsBX_, jetEVsLS_, reco::btau::jetPhi, jetPhiNoBPTX_, jetPhiVsBX_, jetPhiVsLS_, singleTopDQM_cfi::jets, jetSelection_, jetToken_, eostools::ls(), visualization-live-secondInstance_cfg::m, HLTObjectMonitor_cfi::muonEta, muonEtaNoBPTX_, muonEtaVsBX_, muonEtaVsLS_, HLTObjectMonitor_cfi::muonPhi, muonPhiNoBPTX_, muonPhiVsBX_, muonPhiVsLS_, HLTObjectMonitor_cfi::muonPt, muonPtNoBPTX_, muonPtNoBPTX_variableBinning_, muonPtVsBX_, muonPtVsLS_, PDWG_BPHSkim_cff::muons, muonSelection_, muonToken_, njets_, nmuons_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, and requireValidHLTPaths_.

◆ bookHistograms()

void NoBPTXMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 124 of file NoBPTXMonitor.cc.

124  {
125  // Initialize the GenericTriggerEventFlag
127  num_genTriggerEventFlag_->initRun(iRun, iSetup);
128  }
130  den_genTriggerEventFlag_->initRun(iRun, iSetup);
131  }
132 
133  // check if every HLT path specified in numerator and denominator has a valid match in the HLT Menu
135  den_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->allHLTPathsAreValid() &&
136  den_genTriggerEventFlag_->allHLTPathsAreValid());
137 
138  // if valid HLT paths are required,
139  // create DQM outputs only if all paths are valid
141  return;
142  }
143 
144  std::string histname, histtitle;
145 
146  std::string currentFolder = folderName_;
147  ibooker.setCurrentFolder(currentFolder);
148 
149  histname = "jetE";
150  histtitle = "jetE";
151  bookME(ibooker, jetENoBPTX_, histname, histtitle, jetE_binning_.nbins, jetE_binning_.xmin, jetE_binning_.xmax);
152  setMETitle(jetENoBPTX_, "Jet E [GeV]", "Events / [GeV]");
153 
154  histname = "jetE_variable";
155  histtitle = "jetE";
156  bookME(ibooker, jetENoBPTX_variableBinning_, histname, histtitle, jetE_variable_binning_);
157  setMETitle(jetENoBPTX_variableBinning_, "Jet E [GeV]", "Events / [GeV]");
158 
159  histname = "jetEVsLS";
160  histtitle = "jetE vs LS";
161  bookME(ibooker,
162  jetEVsLS_,
163  histname,
164  histtitle,
170  setMETitle(jetEVsLS_, "LS", "Jet E [GeV]");
171 
172  histname = "jetEVsBX";
173  histtitle = "jetE vs BX";
174  bookME(ibooker,
175  jetEVsBX_,
176  histname,
177  histtitle,
183  false);
184  setMETitle(jetEVsBX_, "BX", "Jet E [GeV]");
185 
186  histname = "jetEta";
187  histtitle = "jetEta";
188  bookME(
189  ibooker, jetEtaNoBPTX_, histname, histtitle, jetEta_binning_.nbins, jetEta_binning_.xmin, jetEta_binning_.xmax);
190  setMETitle(jetEtaNoBPTX_, "Jet #eta", "Events");
191 
192  histname = "jetEtaVsLS";
193  histtitle = "jetEta vs LS";
194  bookME(ibooker,
195  jetEtaVsLS_,
196  histname,
197  histtitle,
203  false);
204  setMETitle(jetEtaVsLS_, "LS", "Jet #eta");
205 
206  histname = "jetEtaVsBX";
207  histtitle = "jetEta vs BX";
208  bookME(ibooker,
209  jetEtaVsBX_,
210  histname,
211  histtitle,
217  false);
218  setMETitle(jetEtaVsBX_, "BX", "Jet #eta");
219 
220  histname = "jetPhi";
221  histtitle = "jetPhi";
222  bookME(
223  ibooker, jetPhiNoBPTX_, histname, histtitle, jetPhi_binning_.nbins, jetPhi_binning_.xmin, jetPhi_binning_.xmax);
224  setMETitle(jetPhiNoBPTX_, "Jet #phi", "Events");
225 
226  histname = "jetPhiVsLS";
227  histtitle = "jetPhi vs LS";
228  bookME(ibooker,
229  jetPhiVsLS_,
230  histname,
231  histtitle,
237  false);
238  setMETitle(jetPhiVsLS_, "LS", "Jet #phi");
239 
240  histname = "jetPhiVsBX";
241  histtitle = "jetPhi vs BX";
242  bookME(ibooker,
243  jetPhiVsBX_,
244  histname,
245  histtitle,
251  false);
252  setMETitle(jetPhiVsBX_, "BX", "Jet #phi");
253 
254  histname = "muonPt";
255  histtitle = "muonPt";
256  bookME(
257  ibooker, muonPtNoBPTX_, histname, histtitle, muonPt_binning_.nbins, muonPt_binning_.xmin, muonPt_binning_.xmax);
258  setMETitle(muonPtNoBPTX_, "DisplacedStandAlone Muon p_{T} [GeV]", "Events / [GeV]");
259 
260  histname = "muonPt_variable";
261  histtitle = "muonPt";
262  bookME(ibooker, muonPtNoBPTX_variableBinning_, histname, histtitle, muonPt_variable_binning_);
263  setMETitle(muonPtNoBPTX_variableBinning_, "DisplacedStandAlone Muon p_{T} [GeV]", "Events / [GeV]");
264 
265  histname = "muonPtVsLS";
266  histtitle = "muonPt vs LS";
267  bookME(ibooker,
268  muonPtVsLS_,
269  histname,
270  histtitle,
276  false);
277  setMETitle(muonPtVsLS_, "LS", "DisplacedStandAlone Muon p_{T} [GeV]");
278 
279  histname = "muonPtVsBX";
280  histtitle = "muonPt vs BX";
281  bookME(ibooker,
282  muonPtVsBX_,
283  histname,
284  histtitle,
290  false);
291  setMETitle(muonPtVsBX_, "BX", "DisplacedStandAlone Muon p_{T} [GeV]");
292 
293  histname = "muonEta";
294  histtitle = "muonEta";
295  bookME(ibooker,
297  histname,
298  histtitle,
302  setMETitle(muonEtaNoBPTX_, "DisplacedStandAlone Muon #eta", "Events");
303 
304  histname = "muonEtaVsLS";
305  histtitle = "muonEta vs LS";
306  bookME(ibooker,
307  muonEtaVsLS_,
308  histname,
309  histtitle,
315  false);
316  setMETitle(muonEtaVsLS_, "LS", "DisplacedStandAlone Muon #eta");
317 
318  histname = "muonEtaVsBX";
319  histtitle = "muonEta vs BX";
320  bookME(ibooker,
321  muonEtaVsBX_,
322  histname,
323  histtitle,
329  false);
330  setMETitle(muonEtaVsBX_, "BX", "DisplacedStandAlone Muon #eta");
331 
332  histname = "muonPhi";
333  histtitle = "muonPhi";
334  bookME(ibooker,
336  histname,
337  histtitle,
341  setMETitle(muonPhiNoBPTX_, "DisplacedStandAlone Muon #phi", "Events");
342 
343  histname = "muonPhiVsLS";
344  histtitle = "muonPhi vs LS";
345  bookME(ibooker,
346  muonPhiVsLS_,
347  histname,
348  histtitle,
354  false);
355  setMETitle(muonPhiVsLS_, "LS", "DisplacedStandAlone Muon #phi");
356 
357  histname = "muonPhiVsBX";
358  histtitle = "muonPhi vs BX";
359  bookME(ibooker,
360  muonPhiVsBX_,
361  histname,
362  histtitle,
368  false);
369  setMETitle(muonPhiVsBX_, "BX", "DisplacedStandAlone Muon #phi");
370 }

References TriggerDQMBase::bookME(), bx_binning_, den_genTriggerEventFlag_, folderName_, hltPathsAreValid_, jetE_binning_, jetE_variable_binning_, jetENoBPTX_, jetENoBPTX_variableBinning_, jetEta_binning_, jetEtaNoBPTX_, jetEtaVsBX_, jetEtaVsLS_, jetEVsBX_, jetEVsLS_, jetPhi_binning_, jetPhiNoBPTX_, jetPhiVsBX_, jetPhiVsLS_, ls_binning_, muonEta_binning_, muonEtaNoBPTX_, muonEtaVsBX_, muonEtaVsLS_, muonPhi_binning_, muonPhiNoBPTX_, muonPhiVsBX_, muonPhiVsLS_, muonPt_binning_, muonPt_variable_binning_, muonPtNoBPTX_, muonPtNoBPTX_variableBinning_, muonPtVsBX_, muonPtVsLS_, TriggerDQMBase::MEbinning::nbins, num_genTriggerEventFlag_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.

◆ fillDescriptions()

void NoBPTXMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 465 of file NoBPTXMonitor.cc.

465  {
467  desc.add<std::string>("FolderName", "HLT/NoBPTX");
468  desc.add<bool>("requireValidHLTPaths", true);
469 
470  desc.add<edm::InputTag>("jets", edm::InputTag("ak4CaloJets"));
471  desc.add<edm::InputTag>("muons", edm::InputTag("displacedStandAloneMuons"));
472  desc.add<std::string>("jetSelection", "pt > 0");
473  desc.add<std::string>("muonSelection", "pt > 0");
474  desc.add<unsigned int>("njets", 0);
475  desc.add<unsigned int>("nmuons", 0);
476 
478  genericTriggerEventPSet.add<bool>("andOr");
479  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
480  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions", {});
481  genericTriggerEventPSet.add<bool>("andOrDcs", false);
482  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
483  genericTriggerEventPSet.add<std::string>("dbLabel", "");
484  genericTriggerEventPSet.add<bool>("andOrHlt", true);
485  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
486  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths", {});
487  genericTriggerEventPSet.add<std::string>("hltDBKey", "");
488  genericTriggerEventPSet.add<bool>("errorReplyHlt", false);
489  genericTriggerEventPSet.add<unsigned int>("verbosityLevel", 1);
490 
491  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
492  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
493 
519  std::vector<double> bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
520  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
521  histoPSet.add<std::vector<double> >("jetEBinning", bins);
522  histoPSet.add<std::vector<double> >("muonPtBinning", bins);
523 
524  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
525 
526  descriptions.add("NoBPTXMonitoring", desc);
527 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), trigObjTnPSource_cfi::bins, NoBPTXMonitor_cfi::bxPSet, TriggerDQMBase::fillHistoLSPSetDescription(), TriggerDQMBase::fillHistoPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, LumiMonitor_cff::histoPSet, HLT_2018_cff::InputTag, NoBPTXMonitor_cfi::jetEPSet, NoBPTXMonitor_cfi::jetEtaPSet, NoBPTXMonitor_cfi::jetPhiPSet, LumiMonitor_cff::lsPSet, DiDispStaMuonMonitor_cfi::muonEtaPSet, DiDispStaMuonMonitor_cfi::muonPhiPSet, DiDispStaMuonMonitor_cfi::muonPtPSet, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ bx_binning_

MEbinning NoBPTXMonitor::bx_binning_
private

Definition at line 47 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ den_genTriggerEventFlag_

std::unique_ptr<GenericTriggerEventFlag> NoBPTXMonitor::den_genTriggerEventFlag_
private

Definition at line 71 of file NoBPTXMonitor.cc.

Referenced by analyze(), bookHistograms(), and ~NoBPTXMonitor().

◆ folderName_

const std::string NoBPTXMonitor::folderName_
private

Definition at line 30 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ hltPathsAreValid_

bool NoBPTXMonitor::hltPathsAreValid_
private

Definition at line 33 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetE_binning_

MEbinning NoBPTXMonitor::jetE_binning_
private

Definition at line 39 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ jetE_variable_binning_

std::vector<double> NoBPTXMonitor::jetE_variable_binning_
private

Definition at line 38 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ jetENoBPTX_

ObjME NoBPTXMonitor::jetENoBPTX_
private

Definition at line 49 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetENoBPTX_variableBinning_

ObjME NoBPTXMonitor::jetENoBPTX_variableBinning_
private

Definition at line 50 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetEta_binning_

MEbinning NoBPTXMonitor::jetEta_binning_
private

Definition at line 40 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ jetEtaNoBPTX_

ObjME NoBPTXMonitor::jetEtaNoBPTX_
private

Definition at line 53 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetEtaVsBX_

ObjME NoBPTXMonitor::jetEtaVsBX_
private

Definition at line 55 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetEtaVsLS_

ObjME NoBPTXMonitor::jetEtaVsLS_
private

Definition at line 54 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetEVsBX_

ObjME NoBPTXMonitor::jetEVsBX_
private

Definition at line 52 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetEVsLS_

ObjME NoBPTXMonitor::jetEVsLS_
private

Definition at line 51 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetPhi_binning_

MEbinning NoBPTXMonitor::jetPhi_binning_
private

Definition at line 41 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ jetPhiNoBPTX_

ObjME NoBPTXMonitor::jetPhiNoBPTX_
private

Definition at line 56 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetPhiVsBX_

ObjME NoBPTXMonitor::jetPhiVsBX_
private

Definition at line 58 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetPhiVsLS_

ObjME NoBPTXMonitor::jetPhiVsLS_
private

Definition at line 57 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetSelection_

StringCutObjectSelector<reco::CaloJet, true> NoBPTXMonitor::jetSelection_
private

Definition at line 73 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ jetToken_

edm::EDGetTokenT<reco::CaloJetCollection> NoBPTXMonitor::jetToken_
private

Definition at line 35 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ ls_binning_

MEbinning NoBPTXMonitor::ls_binning_
private

Definition at line 46 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ muonEta_binning_

MEbinning NoBPTXMonitor::muonEta_binning_
private

Definition at line 44 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ muonEtaNoBPTX_

ObjME NoBPTXMonitor::muonEtaNoBPTX_
private

Definition at line 63 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonEtaVsBX_

ObjME NoBPTXMonitor::muonEtaVsBX_
private

Definition at line 65 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonEtaVsLS_

ObjME NoBPTXMonitor::muonEtaVsLS_
private

Definition at line 64 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPhi_binning_

MEbinning NoBPTXMonitor::muonPhi_binning_
private

Definition at line 45 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ muonPhiNoBPTX_

ObjME NoBPTXMonitor::muonPhiNoBPTX_
private

Definition at line 66 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPhiVsBX_

ObjME NoBPTXMonitor::muonPhiVsBX_
private

Definition at line 68 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPhiVsLS_

ObjME NoBPTXMonitor::muonPhiVsLS_
private

Definition at line 67 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPt_binning_

MEbinning NoBPTXMonitor::muonPt_binning_
private

Definition at line 43 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ muonPt_variable_binning_

std::vector<double> NoBPTXMonitor::muonPt_variable_binning_
private

Definition at line 42 of file NoBPTXMonitor.cc.

Referenced by bookHistograms().

◆ muonPtNoBPTX_

ObjME NoBPTXMonitor::muonPtNoBPTX_
private

Definition at line 59 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPtNoBPTX_variableBinning_

ObjME NoBPTXMonitor::muonPtNoBPTX_variableBinning_
private

Definition at line 60 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPtVsBX_

ObjME NoBPTXMonitor::muonPtVsBX_
private

Definition at line 62 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonPtVsLS_

ObjME NoBPTXMonitor::muonPtVsLS_
private

Definition at line 61 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ muonSelection_

StringCutObjectSelector<reco::Track, true> NoBPTXMonitor::muonSelection_
private

Definition at line 74 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ muonToken_

edm::EDGetTokenT<reco::TrackCollection> NoBPTXMonitor::muonToken_
private

Definition at line 36 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ njets_

unsigned int NoBPTXMonitor::njets_
private

Definition at line 76 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ nmuons_

unsigned int NoBPTXMonitor::nmuons_
private

Definition at line 77 of file NoBPTXMonitor.cc.

Referenced by analyze().

◆ num_genTriggerEventFlag_

std::unique_ptr<GenericTriggerEventFlag> NoBPTXMonitor::num_genTriggerEventFlag_
private

Definition at line 70 of file NoBPTXMonitor.cc.

Referenced by analyze(), bookHistograms(), and ~NoBPTXMonitor().

◆ requireValidHLTPaths_

const bool NoBPTXMonitor::requireValidHLTPaths_
private

Definition at line 32 of file NoBPTXMonitor.cc.

Referenced by analyze(), and bookHistograms().

HLTObjectMonitor_cfi.muonPt
muonPt
Definition: HLTObjectMonitor_cfi.py:82
NoBPTXMonitor::muonEtaNoBPTX_
ObjME muonEtaNoBPTX_
Definition: NoBPTXMonitor.cc:63
NoBPTXMonitor_cfi.bxPSet
bxPSet
Definition: NoBPTXMonitor_cfi.py:42
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
NoBPTXMonitor::muonPhiVsBX_
ObjME muonPhiVsBX_
Definition: NoBPTXMonitor.cc:68
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
NoBPTXMonitor::muonEtaVsBX_
ObjME muonEtaVsBX_
Definition: NoBPTXMonitor.cc:65
NoBPTXMonitor::jetE_binning_
MEbinning jetE_binning_
Definition: NoBPTXMonitor.cc:39
HLTObjectMonitor_cfi.muonEta
muonEta
Definition: HLTObjectMonitor_cfi.py:92
NoBPTXMonitor::muonSelection_
StringCutObjectSelector< reco::Track, true > muonSelection_
Definition: NoBPTXMonitor.cc:74
NoBPTXMonitor::jetENoBPTX_variableBinning_
ObjME jetENoBPTX_variableBinning_
Definition: NoBPTXMonitor.cc:50
NoBPTXMonitor_cfi.jetEtaPSet
jetEtaPSet
Definition: NoBPTXMonitor_cfi.py:17
NoBPTXMonitor::folderName_
const std::string folderName_
Definition: NoBPTXMonitor.cc:30
NoBPTXMonitor::hltPathsAreValid_
bool hltPathsAreValid_
Definition: NoBPTXMonitor.cc:33
NoBPTXMonitor::jetEVsLS_
ObjME jetEVsLS_
Definition: NoBPTXMonitor.cc:51
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
SiStripSourceConfigTier0_cff.genericTriggerEventPSet
genericTriggerEventPSet
Definition: SiStripSourceConfigTier0_cff.py:96
NoBPTXMonitor::muonToken_
edm::EDGetTokenT< reco::TrackCollection > muonToken_
Definition: NoBPTXMonitor.cc:36
NoBPTXMonitor::jetPhiVsLS_
ObjME jetPhiVsLS_
Definition: NoBPTXMonitor.cc:57
NoBPTXMonitor::muonEtaVsLS_
ObjME muonEtaVsLS_
Definition: NoBPTXMonitor.cc:64
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
NoBPTXMonitor::bx_binning_
MEbinning bx_binning_
Definition: NoBPTXMonitor.cc:47
NoBPTXMonitor::jetSelection_
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
Definition: NoBPTXMonitor.cc:73
edm::Handle< reco::CaloJetCollection >
NoBPTXMonitor::ls_binning_
MEbinning ls_binning_
Definition: NoBPTXMonitor.cc:46
NoBPTXMonitor::muonPtNoBPTX_variableBinning_
ObjME muonPtNoBPTX_variableBinning_
Definition: NoBPTXMonitor.cc:60
TriggerDQMBase::ObjME::numerator
MonitorElement * numerator
Definition: TriggerDQMBase.h:27
NoBPTXMonitor::jetPhiNoBPTX_
ObjME jetPhiNoBPTX_
Definition: NoBPTXMonitor.cc:56
NoBPTXMonitor_cfi.jetEPSet
jetEPSet
Definition: NoBPTXMonitor_cfi.py:12
TriggerDQMBase::ObjME::fill
void fill(const bool pass_num, Args... args)
Definition: TriggerDQMBase.h:87
LumiMonitor_cff.lsPSet
lsPSet
Definition: LumiMonitor_cff.py:33
NoBPTXMonitor::muonPtVsLS_
ObjME muonPtVsLS_
Definition: NoBPTXMonitor.cc:61
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
NoBPTXMonitor::jetE_variable_binning_
std::vector< double > jetE_variable_binning_
Definition: NoBPTXMonitor.cc:38
NoBPTXMonitor::jetEta_binning_
MEbinning jetEta_binning_
Definition: NoBPTXMonitor.cc:40
NoBPTXMonitor::jetEVsBX_
ObjME jetEVsBX_
Definition: NoBPTXMonitor.cc:52
TriggerDQMBase::setMETitle
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
Definition: TriggerDQMBase.cc:3
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
TriggerDQMBase::MEbinning::xmax
double xmax
Definition: TriggerDQMBase.h:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
NoBPTXMonitor::muonPtNoBPTX_
ObjME muonPtNoBPTX_
Definition: NoBPTXMonitor.cc:59
DiDispStaMuonMonitor_cfi.muonPtPSet
muonPtPSet
Definition: DiDispStaMuonMonitor_cfi.py:12
DiDispStaMuonMonitor_cfi.muonPhiPSet
muonPhiPSet
Definition: DiDispStaMuonMonitor_cfi.py:22
TriggerDQMBase::bookME
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
Definition: TriggerDQMBase.cc:15
NoBPTXMonitor::jetEtaNoBPTX_
ObjME jetEtaNoBPTX_
Definition: NoBPTXMonitor.cc:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DiDispStaMuonMonitor_cfi.muonEtaPSet
muonEtaPSet
Definition: DiDispStaMuonMonitor_cfi.py:17
TriggerDQMBase::fillHistoPSetDescription
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition: TriggerDQMBase.cc:108
NoBPTXMonitor::requireValidHLTPaths_
const bool requireValidHLTPaths_
Definition: NoBPTXMonitor.cc:32
reco::btau::jetPhi
Definition: TaggingVariable.h:36
reco::btau::jetEta
Definition: TaggingVariable.h:34
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
NoBPTXMonitor::njets_
unsigned int njets_
Definition: NoBPTXMonitor.cc:76
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
NoBPTXMonitor::den_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: NoBPTXMonitor.cc:71
NoBPTXMonitor_cfi.jetPhiPSet
jetPhiPSet
Definition: NoBPTXMonitor_cfi.py:22
HLTObjectMonitor_cfi.muonPhi
muonPhi
Definition: HLTObjectMonitor_cfi.py:102
iEvent
int iEvent
Definition: GenABIO.cc:224
TriggerDQMBase::getHistoLSPSet
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
Definition: TriggerDQMBase.cc:125
LumiMonitor_cff.histoPSet
histoPSet
Definition: LumiMonitor_cff.py:12
NoBPTXMonitor::nmuons_
unsigned int nmuons_
Definition: NoBPTXMonitor.cc:77
TriggerDQMBase::getHistoPSet
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
Definition: TriggerDQMBase.cc:120
NoBPTXMonitor::muonPhiNoBPTX_
ObjME muonPhiNoBPTX_
Definition: NoBPTXMonitor.cc:66
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
NoBPTXMonitor::jetPhiVsBX_
ObjME jetPhiVsBX_
Definition: NoBPTXMonitor.cc:58
NoBPTXMonitor::muonPt_variable_binning_
std::vector< double > muonPt_variable_binning_
Definition: NoBPTXMonitor.cc:42
NoBPTXMonitor::muonPt_binning_
MEbinning muonPt_binning_
Definition: NoBPTXMonitor.cc:43
NoBPTXMonitor::muonPtVsBX_
ObjME muonPtVsBX_
Definition: NoBPTXMonitor.cc:62
TriggerDQMBase::MEbinning::nbins
uint nbins
Definition: TriggerDQMBase.h:17
TriggerDQMBase::MEbinning::xmin
double xmin
Definition: TriggerDQMBase.h:18
NoBPTXMonitor::muonPhiVsLS_
ObjME muonPhiVsLS_
Definition: NoBPTXMonitor.cc:67
NoBPTXMonitor::jetToken_
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
Definition: NoBPTXMonitor.cc:35
NoBPTXMonitor::jetEtaVsLS_
ObjME jetEtaVsLS_
Definition: NoBPTXMonitor.cc:54
NoBPTXMonitor::num_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: NoBPTXMonitor.cc:70
NoBPTXMonitor::jetENoBPTX_
ObjME jetENoBPTX_
Definition: NoBPTXMonitor.cc:49
NoBPTXMonitor::jetEtaVsBX_
ObjME jetEtaVsBX_
Definition: NoBPTXMonitor.cc:55
trigObjTnPSource_cfi.bins
bins
Definition: trigObjTnPSource_cfi.py:20
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
NoBPTXMonitor::muonPhi_binning_
MEbinning muonPhi_binning_
Definition: NoBPTXMonitor.cc:45
NoBPTXMonitor::jetPhi_binning_
MEbinning jetPhi_binning_
Definition: NoBPTXMonitor.cc:41
TriggerDQMBase::fillHistoLSPSetDescription
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition: TriggerDQMBase.cc:114
edm::InputTag
Definition: InputTag.h:15
NoBPTXMonitor::muonEta_binning_
MEbinning muonEta_binning_
Definition: NoBPTXMonitor.cc:44