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 >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::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
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
- Public Member Functions inherited from TriggerDQMBase
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 std::vector< double > &binningX, 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 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 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")) {}
edm::EDGetTokenT< reco::TrackCollection > muonToken_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
const bool requireValidHLTPaths_
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MEbinning muonEta_binning_
std::vector< double > jetE_variable_binning_
bool hltPathsAreValid_
const std::string folderName_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
MEbinning ls_binning_
MEbinning jetEta_binning_
MEbinning jetE_binning_
unsigned int njets_
unsigned int nmuons_
MEbinning muonPt_binning_
StringCutObjectSelector< reco::Track, true > muonSelection_
MEbinning jetPhi_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
MEbinning muonPhi_binning_
std::vector< double > muonPt_variable_binning_
MEbinning bx_binning_

◆ ~NoBPTXMonitor()

NoBPTXMonitor::~NoBPTXMonitor ( )
throw (
)
override

Definition at line 115 of file NoBPTXMonitor.cc.

References den_genTriggerEventFlag_, and num_genTriggerEventFlag_.

115  {
117  num_genTriggerEventFlag_.reset();
118  }
120  den_genTriggerEventFlag_.reset();
121  }
122 }
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > 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.

References nano_mu_digi_cff::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_, PDWG_EXODelayedJetMET_cff::jets, jetSelection_, jetToken_, relval_nano::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_, DiMuonV_cfg::muons, muonSelection_, muonToken_, njets_, nmuons_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, and requireValidHLTPaths_.

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 }
ObjME muonEtaNoBPTX_
edm::EDGetTokenT< reco::TrackCollection > muonToken_
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
ObjME muonPtNoBPTX_variableBinning_
const bool requireValidHLTPaths_
void fill(const bool pass_num, Args... args)
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
bool hltPathsAreValid_
void Fill(long long x)
int iEvent
Definition: GenABIO.cc:224
MonitorElement * numerator
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
unsigned int njets_
unsigned int nmuons_
ObjME muonPhiNoBPTX_
StringCutObjectSelector< reco::Track, true > muonSelection_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
ObjME jetENoBPTX_variableBinning_

◆ 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.

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.

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 }
ObjME muonEtaNoBPTX_
ObjME muonPtNoBPTX_variableBinning_
const bool requireValidHLTPaths_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MEbinning muonEta_binning_
std::vector< double > jetE_variable_binning_
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
bool hltPathsAreValid_
const std::string folderName_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
MEbinning ls_binning_
MEbinning jetEta_binning_
MEbinning jetE_binning_
MEbinning muonPt_binning_
ObjME muonPhiNoBPTX_
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)
MEbinning jetPhi_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
MEbinning muonPhi_binning_
ObjME jetENoBPTX_variableBinning_
std::vector< double > muonPt_variable_binning_
MEbinning bx_binning_

◆ fillDescriptions()

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

Definition at line 465 of file NoBPTXMonitor.cc.

References edm::ConfigurationDescriptions::add(), isotrackApplyRegressor::bins, NoBPTXMonitor_cfi::bxPSet, submitPVResolutionJobs::desc, TriggerDQMBase::fillHistoLSPSetDescription(), TriggerDQMBase::fillHistoPSetDescription(), GenericTriggerEventFlag::fillPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, V0Monitor_cff::histoPSet, ProducerED_cfi::InputTag, NoBPTXMonitor_cfi::jetEPSet, NoBPTXMonitor_cfi::jetEtaPSet, NoBPTXMonitor_cfi::jetPhiPSet, V0Monitor_cfi::lsPSet, DiDispStaMuonMonitor_cfi::muonEtaPSet, DiDispStaMuonMonitor_cfi::muonPhiPSet, DiDispStaMuonMonitor_cfi::muonPtPSet, and AlCaHLTBitMon_QueryRunRegistry::string.

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 
479  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
480  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
481 
507  std::vector<double> bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
508  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
509  histoPSet.add<std::vector<double> >("jetEBinning", bins);
510  histoPSet.add<std::vector<double> >("muonPtBinning", bins);
511 
512  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
513 
514  descriptions.add("NoBPTXMonitoring", desc);
515 }
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillPSetDescription(edm::ParameterSetDescription &desc)

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().