CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
JetMonitor Class Reference
Inheritance diagram for JetMonitor:
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

 JetMonitor (const edm::ParameterSet &)
 
 ~JetMonitor () 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
 
void bookMESub (DQMStore::IBooker &, ObjME *a_me, const int len_, const std::string &h_Name, const std::string &h_Title, const std::string &h_subOptName, const std::string &h_subOptTitle, const bool doPhi=true, const bool doEta=true, const bool doEtaPhi=true, const bool doVsLS=true)
 
void FillME (ObjME *a_me, const double pt_, const double phi_, const double eta_, const int ls_, const std::string &denu, const bool doPhi=true, const bool doEta=true, const bool doEtaPhi=true, const bool doVsLS=true)
 
bool isBarrel (double eta)
 
bool isEndCapM (double eta)
 
bool isEndCapP (double eta)
 For Hcal Endcap Plus Area. More...
 
bool isForward (double eta)
 For Hcal Forward Plus Area. More...
 
bool isHEM17 (double eta, double phi)
 For Hcal HEM17 Area. More...
 
bool isHEP17 (double eta, double phi)
 For Hcal HEP17 Area. More...
 
bool isHEP18 (double eta, double phi)
 For Hcal HEP18 Area. More...
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

ObjME a_ME [7]
 
ObjME a_ME_HB [7]
 
ObjME a_ME_HE [7]
 
ObjME a_ME_HE_m [7]
 
ObjME a_ME_HE_p [7]
 
ObjME a_ME_HEM17 [7]
 
ObjME a_ME_HEP17 [7]
 
ObjME a_ME_HEP18 [7]
 
ObjME a_ME_HF [7]
 
std::unique_ptr< GenericTriggerEventFlagden_genTriggerEventFlag_
 
MEbinning eta_binning_hem17_ {9, -3.0, -1.3}
 
MEbinning eta_binning_hep17_ {9, 1.3, 3.0}
 
const std::string folderName_
 
bool hltPathsAreValid_
 
bool isCaloJetTrig
 
bool isPFJetTrig
 
MEbinning jet_eta_binning_ {20, -5, 5}
 
MEbinning jet_phi_binning_ {32, -3.2, 3.2}
 
ObjME jetHEM17_AbsEta_
 
ObjME jetHEM17_AbsEtaVsPhi_
 
ObjME jetHEP17_AbsEta_
 
ObjME jetHEP17_AbsEtaVsPhi_
 
MEbinning jetpt_binning_
 
MEbinning jetptThr_binning_
 
edm::EDGetTokenT< edm::View< reco::Jet > > jetSrc_
 
MEbinning ls_binning_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
MEbinning phi_binning_hep17_ {7, -0.87, -0.52}
 
MEbinning phi_binning_hep18_ {7, -0.52, -0.17}
 
double ptcut_
 
const bool requireValidHLTPaths_
 
std::vector< double > v_jeteta
 
std::vector< double > v_jetphi
 
std::vector< double > v_jetpt
 

Additional Inherited Members

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

Detailed Description

Definition at line 19 of file JetMonitor.cc.

Member Typedef Documentation

◆ DQMStore

Definition at line 22 of file JetMonitor.cc.

◆ MonitorElement

Definition at line 21 of file JetMonitor.cc.

Constructor & Destructor Documentation

◆ JetMonitor()

JetMonitor::JetMonitor ( const edm::ParameterSet iConfig)

Definition at line 112 of file JetMonitor.cc.

113  : folderName_(iConfig.getParameter<std::string>("FolderName")),
114  requireValidHLTPaths_(iConfig.getParameter<bool>("requireValidHLTPaths")),
115  hltPathsAreValid_(false),
116  ptcut_(iConfig.getParameter<double>("ptcut")),
117  isPFJetTrig(iConfig.getParameter<bool>("ispfjettrg")),
118  isCaloJetTrig(iConfig.getParameter<bool>("iscalojettrg")),
119  jetSrc_(mayConsume<edm::View<reco::Jet> >(iConfig.getParameter<edm::InputTag>("jetSrc"))),
121  iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
123  iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"), consumesCollector(), *this)),
125  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetPSet"))),
127  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("jetPtThrPSet"))),
129  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("lsPSet"))) {}

◆ ~JetMonitor()

JetMonitor::~JetMonitor ( )
throw (
)
override

Definition at line 131 of file JetMonitor.cc.

131  {
133  num_genTriggerEventFlag_.reset();
134  }
136  den_genTriggerEventFlag_.reset();
137  }
138 }

References den_genTriggerEventFlag_, and num_genTriggerEventFlag_.

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 302 of file JetMonitor.cc.

302  {
303  // if valid HLT paths are required,
304  // analyze event only if all paths are valid
306  return;
307  }
308 
309  // Filter out events if Trigger Filtering is requested
310  if (den_genTriggerEventFlag_->on() && !den_genTriggerEventFlag_->accept(iEvent, iSetup))
311  return;
312 
313  const int ls = iEvent.id().luminosityBlock();
314 
315  v_jetpt.clear();
316  v_jeteta.clear();
317  v_jetphi.clear();
318 
320  iEvent.getByToken(jetSrc_, offjets);
321  if (!offjets.isValid()) {
322  edm::LogWarning("JetMonitor") << "Jet handle not valid \n";
323  return;
324  }
325  for (edm::View<reco::Jet>::const_iterator ibegin = offjets->begin(), iend = offjets->end(), ijet = ibegin;
326  ijet != iend;
327  ++ijet) {
328  //if (ijet->pt()< 20) {continue;}
329  if (ijet->pt() < ptcut_) {
330  continue;
331  }
332  v_jetpt.push_back(ijet->pt());
333  v_jeteta.push_back(ijet->eta());
334  v_jetphi.push_back(ijet->phi());
335  // cout << "jetpt (view ) : " << ijet->pt() << endl;
336  }
337 
338  if (v_jetpt.empty())
339  return;
340  double jetpt_ = v_jetpt[0];
341  double jeteta_ = v_jeteta[0];
342  double jetphi_ = v_jetphi[0];
343 
344  FillME(a_ME, jetpt_, jetphi_, jeteta_, ls, "denominator");
345  if (isBarrel(jeteta_)) {
346  FillME(a_ME_HB, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
347  } else if (isEndCapP(jeteta_)) {
348  FillME(a_ME_HE, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
349  FillME(a_ME_HE_p, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
350  } else if (isEndCapM(jeteta_)) {
351  FillME(a_ME_HE, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
352  FillME(a_ME_HE_m, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
353  } else if (isForward(jeteta_)) {
354  FillME(a_ME_HF, jetpt_, jetphi_, jeteta_, ls, "denominator", true, true, true, false);
355  }
356 
357  if (isHEP17(jeteta_, jetphi_)) {
359  jetpt_,
360  jetphi_,
361  jeteta_,
362  ls,
363  "denominator",
364  true,
365  false,
366  false,
367  false); // doPhi, doEta, doEtaPhi, doVsLS
369  } else if (isHEM17(jeteta_, jetphi_)) {
370  FillME(
371  a_ME_HEM17, jetpt_, jetphi_, jeteta_, ls, "denominator", true, false, false, false); // doPhi, doEta, doEtaPhi
373  } else if (isHEP18(jeteta_, jetphi_)) {
374  FillME(
375  a_ME_HEP18, jetpt_, jetphi_, jeteta_, ls, "denominator", false, false, false, false); // doPhi, doEta, doEtaPhi
376  }
377 
378  if (num_genTriggerEventFlag_->on() && !num_genTriggerEventFlag_->accept(iEvent, iSetup))
379  return; // Require Numerator //
380 
381  FillME(a_ME, jetpt_, jetphi_, jeteta_, ls, "numerator");
382  if (isBarrel(jeteta_)) {
383  FillME(a_ME_HB, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
384  } else if (isEndCapP(jeteta_)) {
385  FillME(a_ME_HE, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
386  FillME(a_ME_HE_p, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
387  } else if (isEndCapM(jeteta_)) {
388  FillME(a_ME_HE, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
389  FillME(a_ME_HE_m, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
390  } else if (isForward(jeteta_)) {
391  FillME(a_ME_HF, jetpt_, jetphi_, jeteta_, ls, "numerator", true, true, true, false);
392  }
393 
394  if (isHEP17(jeteta_, jetphi_)) {
396  jetpt_,
397  jetphi_,
398  jeteta_,
399  ls,
400  "numerator",
401  true,
402  false,
403  false,
404  false); // doPhi, doEta, doEtaPhi, doVsLS
405  jetHEP17_AbsEta_.numerator->Fill(abs(jeteta_));
406  } else if (isHEM17(jeteta_, jetphi_)) {
408  jetpt_,
409  jetphi_,
410  jeteta_,
411  ls,
412  "numerator",
413  true,
414  false,
415  false,
416  false); // doPhi, doEta, doEtaPhi, doVsLS
417  jetHEM17_AbsEta_.numerator->Fill(abs(jeteta_));
418  } else if (isHEP18(jeteta_, jetphi_)) {
420  jetpt_,
421  jetphi_,
422  jeteta_,
423  ls,
424  "numerator",
425  false,
426  false,
427  false,
428  false); // doPhi, doEta, doEtaPhi, doVsLS
429  }
430 }

References a_ME, a_ME_HB, a_ME_HE, a_ME_HE_m, a_ME_HE_p, a_ME_HEM17, a_ME_HEP17, a_ME_HEP18, a_ME_HF, funct::abs(), den_genTriggerEventFlag_, TriggerDQMBase::ObjME::denominator, dqm::impl::MonitorElement::Fill(), FillME(), hltPathsAreValid_, iEvent, isBarrel(), isEndCapM(), isEndCapP(), isForward(), isHEM17(), isHEP17(), isHEP18(), edm::HandleBase::isValid(), jetHEM17_AbsEta_, jetHEP17_AbsEta_, jetSrc_, eostools::ls(), num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, ptcut_, requireValidHLTPaths_, v_jeteta, v_jetphi, and v_jetpt.

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 140 of file JetMonitor.cc.

140  {
141  // Initialize the GenericTriggerEventFlag
143  num_genTriggerEventFlag_->initRun(iRun, iSetup);
144  }
146  den_genTriggerEventFlag_->initRun(iRun, iSetup);
147  }
148 
149  // check if every HLT path specified in numerator and denominator has a valid match in the HLT Menu
151  den_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->allHLTPathsAreValid() &&
152  den_genTriggerEventFlag_->allHLTPathsAreValid());
153 
154  // if valid HLT paths are required,
155  // create DQM outputs only if all paths are valid
157  return;
158  }
159 
160  std::string histname, histtitle;
161  std::string hist_obtag = "";
162  std::string histtitle_obtag = "";
163  std::string currentFolder = folderName_;
164  ibooker.setCurrentFolder(currentFolder);
165 
166  if (isPFJetTrig) {
167  hist_obtag = "pfjet";
168  histtitle_obtag = "PFJet";
169  } else if (isCaloJetTrig) {
170  hist_obtag = "calojet";
171  histtitle_obtag = "CaloJet";
172  } else {
173  hist_obtag = "pfjet";
174  histtitle_obtag = "PFJet";
175  } //default is pfjet
176 
177  bookMESub(ibooker, a_ME, sizeof(a_ME) / sizeof(a_ME[0]), hist_obtag, histtitle_obtag, "", "");
178  bookMESub(ibooker,
179  a_ME_HB,
180  sizeof(a_ME_HB) / sizeof(a_ME_HB[0]),
181  hist_obtag,
182  histtitle_obtag,
183  "HB",
184  "(HB)",
185  true,
186  true,
187  true,
188  false);
189  bookMESub(ibooker,
190  a_ME_HE,
191  sizeof(a_ME_HE) / sizeof(a_ME_HE[0]),
192  hist_obtag,
193  histtitle_obtag,
194  "HE",
195  "(HE)",
196  true,
197  true,
198  true,
199  false);
200  bookMESub(ibooker,
201  a_ME_HF,
202  sizeof(a_ME_HF) / sizeof(a_ME_HF[0]),
203  hist_obtag,
204  histtitle_obtag,
205  "HF",
206  "(HF)",
207  true,
208  true,
209  true,
210  false);
211  bookMESub(ibooker,
212  a_ME_HE_p,
213  sizeof(a_ME_HE_p) / sizeof(a_ME_HE_p[0]),
214  hist_obtag,
215  histtitle_obtag,
216  "HE_p",
217  "(HE+)",
218  true,
219  true,
220  true,
221  false);
222  bookMESub(ibooker,
223  a_ME_HE_m,
224  sizeof(a_ME_HE_m) / sizeof(a_ME_HE_m[0]),
225  hist_obtag,
226  histtitle_obtag,
227  "HE_m",
228  "(HE-)",
229  true,
230  true,
231  true,
232  false);
233  bookMESub(ibooker,
234  a_ME_HEP17,
235  sizeof(a_ME_HEP17) / sizeof(a_ME_HEP17[0]),
236  hist_obtag,
237  histtitle_obtag,
238  "HEP17",
239  "(HEP17)",
240  true,
241  false,
242  false,
243  false);
244  bookMESub(ibooker,
245  a_ME_HEM17,
246  sizeof(a_ME_HEM17) / sizeof(a_ME_HEM17[0]),
247  hist_obtag,
248  histtitle_obtag,
249  "HEM17",
250  "(HEM17)",
251  true,
252  false,
253  false,
254  false);
255  bookMESub(ibooker,
256  a_ME_HEP18,
257  sizeof(a_ME_HEP18) / sizeof(a_ME_HEP18[0]),
258  hist_obtag,
259  histtitle_obtag,
260  "HEP18",
261  "(HEP18)",
262  false,
263  false,
264  false,
265  false);
266 
267  /*
268  WE WOULD NEED TURNON CURVES TO BE COMPARED NOT JUST THE ZOOM OF A 2D MAP !!!
269 
270  histname = hist_obtag +"AbsEtaVsPhi_HEP17"; histtitle = histtitle_obtag + " |eta| Vs phi (HEP17) ";
271  bookME(ibooker,jetHEP17_AbsEtaVsPhi_,histname,histtitle, eta_binning_hep17_.nbins, eta_binning_hep17_.xmin, eta_binning_hep17_.xmax, phi_binning_hep17_.nbins,phi_binning_hep17_.xmin,phi_binning_hep17_.xmax);
272  setMETitle(jetHEP17_AbsEtaVsPhi_,histtitle_obtag + " |#eta|","#phi");
273 
274  histname = hist_obtag +"AbsEtaVsPhi_HEM17"; histtitle = histtitle_obtag + " |eta| Vs phi (HEM17) ";
275  bookME(ibooker,jetHEM17_AbsEtaVsPhi_,histname,histtitle, eta_binning_hep17_.nbins, eta_binning_hep17_.xmin, eta_binning_hep17_.xmax, phi_binning_hep17_.nbins,phi_binning_hep17_.xmin,phi_binning_hep17_.xmax);
276  setMETitle(jetHEM17_AbsEtaVsPhi_,histtitle_obtag + " |#eta|","#phi");
277  */
278 
279  histname = hist_obtag + "abseta_HEP17";
280  histtitle = histtitle_obtag + " |#eta| (HEP17) ";
281  bookME(ibooker,
283  histname,
284  histtitle,
288  setMETitle(jetHEP17_AbsEta_, histtitle_obtag + " |#eta|", "events / |#eta|");
289 
290  histname = hist_obtag + "abseta_HEM17";
291  histtitle = histtitle_obtag + " |eta| (HEM17) ";
292  bookME(ibooker,
294  histname,
295  histtitle,
299  setMETitle(jetHEM17_AbsEta_, histtitle_obtag + " |#eta|", "events / |#eta|");
300 }

References a_ME, a_ME_HB, a_ME_HE, a_ME_HE_m, a_ME_HE_p, a_ME_HEM17, a_ME_HEP17, a_ME_HEP18, a_ME_HF, TriggerDQMBase::bookME(), bookMESub(), den_genTriggerEventFlag_, eta_binning_hep17_, folderName_, hltPathsAreValid_, isCaloJetTrig, isPFJetTrig, jetHEM17_AbsEta_, jetHEP17_AbsEta_, TriggerDQMBase::MEbinning::nbins, num_genTriggerEventFlag_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.

◆ bookMESub()

void JetMonitor::bookMESub ( DQMStore::IBooker Ibooker,
ObjME a_me,
const int  len_,
const std::string &  h_Name,
const std::string &  h_Title,
const std::string &  h_subOptName,
const std::string &  h_subOptTitle,
const bool  doPhi = true,
const bool  doEta = true,
const bool  doEtaPhi = true,
const bool  doVsLS = true 
)
protected

Definition at line 535 of file JetMonitor.cc.

545  {
546  std::string hName = h_Name;
547  std::string hTitle = h_Title;
548  const std::string hSubN = h_subOptName.empty() ? "" : "_" + h_subOptName;
549 
550  int nbin_phi = jet_phi_binning_.nbins;
551  double maxbin_phi = jet_phi_binning_.xmax;
552  double minbin_phi = jet_phi_binning_.xmin;
553 
554  int nbin_eta = jet_eta_binning_.nbins;
555  double maxbin_eta = jet_eta_binning_.xmax;
556  double minbin_eta = jet_eta_binning_.xmin;
557 
558  if (h_subOptName == "HEP17") {
559  nbin_phi = phi_binning_hep17_.nbins;
560  maxbin_phi = phi_binning_hep17_.xmax;
561  minbin_phi = phi_binning_hep17_.xmin;
562 
563  nbin_eta = eta_binning_hep17_.nbins;
564  maxbin_eta = eta_binning_hep17_.xmax;
565  minbin_eta = eta_binning_hep17_.xmin;
566  }
567  if (h_subOptName == "HEM17") {
568  nbin_phi = phi_binning_hep17_.nbins;
569  maxbin_phi = phi_binning_hep17_.xmax;
570  minbin_phi = phi_binning_hep17_.xmin;
571 
572  nbin_eta = eta_binning_hem17_.nbins;
573  maxbin_eta = eta_binning_hem17_.xmax;
574  minbin_eta = eta_binning_hem17_.xmin;
575  }
576  if (h_subOptName == "HEP18") {
577  nbin_phi = phi_binning_hep18_.nbins;
578  maxbin_phi = phi_binning_hep18_.xmax;
579  minbin_phi = phi_binning_hep18_.xmin;
580 
581  nbin_eta = eta_binning_hep17_.nbins;
582  maxbin_eta = eta_binning_hep17_.xmax;
583  minbin_eta = eta_binning_hep17_.xmin;
584  }
585  hName = h_Name + "pT" + hSubN;
586  hTitle = h_Title + " pT " + hSubT;
587  bookME(Ibooker, a_me[0], hName, hTitle, jetpt_binning_.nbins, jetpt_binning_.xmin, jetpt_binning_.xmax);
588  setMETitle(a_me[0], h_Title + " pT [GeV]", "events / [GeV]");
589 
590  hName = h_Name + "pT_pTThresh" + hSubN;
591  hTitle = h_Title + " pT " + hSubT;
592  bookME(Ibooker, a_me[1], hName, hTitle, jetptThr_binning_.nbins, jetptThr_binning_.xmin, jetptThr_binning_.xmax);
593  setMETitle(a_me[1], h_Title + "pT [GeV]", "events / [GeV]");
594 
595  if (doVsLS) {
596  hName = h_Name + "pTVsLS" + hSubN;
597  hTitle = h_Title + " vs LS " + hSubT;
598  bookME(Ibooker,
599  a_me[2],
600  hName,
601  hTitle,
607  setMETitle(a_me[2], "LS", h_Title + "pT [GeV]");
608  }
609 
610  if (doPhi) {
611  hName = h_Name + "phi" + hSubN;
612  hTitle = h_Title + " phi " + hSubT;
613  bookME(Ibooker, a_me[3], hName, hTitle, nbin_phi, minbin_phi, maxbin_phi);
614  setMETitle(a_me[3], h_Title + " #phi", "events / 0.1 rad");
615  }
616 
617  if (doEta) {
618  hName = h_Name + "eta" + hSubN;
619  hTitle = h_Title + " eta " + hSubT;
620  bookME(Ibooker, a_me[4], hName, hTitle, nbin_eta, minbin_eta, maxbin_eta);
621  setMETitle(a_me[4], h_Title + " #eta", "events / #eta");
622  }
623 
624  if (doEtaPhi) {
625  hName = h_Name + "EtaVsPhi" + hSubN;
626  hTitle = h_Title + " eta Vs phi " + hSubT;
627  bookME(Ibooker, a_me[5], hName, hTitle, nbin_eta, minbin_eta, maxbin_eta, nbin_phi, minbin_phi, maxbin_phi);
628  setMETitle(a_me[5], h_Title + " #eta", "#phi");
629  }
630 
631  if (doEta) {
632  hName = h_Name + "EtaVspT" + hSubN;
633  hTitle = h_Title + " eta Vs pT " + hSubT;
634  bookME(Ibooker,
635  a_me[6],
636  hName,
637  hTitle,
638  nbin_eta,
639  minbin_eta,
640  maxbin_eta,
644  setMETitle(a_me[6], h_Title + " #eta", "Leading Jet pT [GeV]");
645  }
646 }

References TriggerDQMBase::bookME(), eta_binning_hem17_, eta_binning_hep17_, jet_eta_binning_, jet_phi_binning_, jetpt_binning_, jetptThr_binning_, ls_binning_, TriggerDQMBase::MEbinning::nbins, phi_binning_hep17_, phi_binning_hep18_, TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.

Referenced by bookHistograms().

◆ fillDescriptions()

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

Definition at line 648 of file JetMonitor.cc.

648  {
650  desc.add<std::string>("FolderName", "HLT/Jet");
651  desc.add<bool>("requireValidHLTPaths", true);
652 
653  desc.add<edm::InputTag>("jetSrc", edm::InputTag("ak4PFJetsCHS"));
654  desc.add<double>("ptcut", 20);
655  desc.add<bool>("ispfjettrg", true);
656  desc.add<bool>("iscalojettrg", false);
657 
659  genericTriggerEventPSet.add<bool>("andOr");
660  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
661  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions", {});
662  genericTriggerEventPSet.add<bool>("andOrDcs", false);
663  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
664  genericTriggerEventPSet.add<std::string>("dbLabel", "");
665  genericTriggerEventPSet.add<bool>("andOrHlt", true);
666  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
667  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths", {});
668  genericTriggerEventPSet.add<std::string>("hltDBKey", "");
669  genericTriggerEventPSet.add<bool>("errorReplyHlt", false);
670  genericTriggerEventPSet.add<unsigned int>("verbosityLevel", 1);
671 
672  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
673  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
674 
682  histoPSet.add<std::vector<double> >("jetptBinning",
683  {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
684  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.});
685 
689 
690  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
691 
692  descriptions.add("jetMonitoring", desc);
693 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), TriggerDQMBase::fillHistoLSPSetDescription(), TriggerDQMBase::fillHistoPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, LumiMonitor_cff::histoPSet, HLT_2018_cff::InputTag, JetMonitor_cfi::jetPSet, JetMonitor_cff::jetPtThrPSet, LumiMonitor_cff::lsPSet, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ FillME()

void JetMonitor::FillME ( ObjME a_me,
const double  pt_,
const double  phi_,
const double  eta_,
const int  ls_,
const std::string &  denu,
const bool  doPhi = true,
const bool  doEta = true,
const bool  doEtaPhi = true,
const bool  doVsLS = true 
)
protected

Definition at line 492 of file JetMonitor.cc.

501  {
502  if (DenoOrNume == "denominator") {
503  // index 0 = pt, 1 = ptThreshold , 2 = pt vs ls , 3 = phi, 4 = eta,
504  // 5 = eta vs phi, 6 = eta vs pt , 7 = abs(eta) , 8 = abs(eta) vs phi
505  a_me[0].denominator->Fill(pt_); // pt
506  a_me[1].denominator->Fill(pt_); // jetpT Threshold binning for pt
507  if (doVsLS)
508  a_me[2].denominator->Fill(ls_, pt_); // pt vs ls
509  if (doPhi)
510  a_me[3].denominator->Fill(phi_); // phi
511  if (doEta)
512  a_me[4].denominator->Fill(eta_); // eta
513  if (doEtaPhi)
514  a_me[5].denominator->Fill(eta_, phi_); // eta vs phi
515  if (doEta)
516  a_me[6].denominator->Fill(eta_, pt_); // eta vs pT
517  } else if (DenoOrNume == "numerator") {
518  a_me[0].numerator->Fill(pt_); // pt
519  a_me[1].numerator->Fill(pt_); // jetpT Threshold binning for pt
520  if (doVsLS)
521  a_me[2].numerator->Fill(ls_, pt_); // pt vs ls
522  if (doPhi)
523  a_me[3].numerator->Fill(phi_); // phi
524  if (doEta)
525  a_me[4].numerator->Fill(eta_); // eat
526  if (doEtaPhi)
527  a_me[5].numerator->Fill(eta_, phi_); // eta vs phi
528  if (doEta)
529  a_me[6].numerator->Fill(eta_, pt_); // eta vs pT
530  } else {
531  edm::LogWarning("JetMonitor") << "CHECK OUT denu option in FillME !!! DenoOrNume ? : " << DenoOrNume << std::endl;
532  }
533 }

Referenced by analyze().

◆ isBarrel()

bool JetMonitor::isBarrel ( double  eta)
protected

Definition at line 432 of file JetMonitor.cc.

432  {
433  bool output = false;
434  if (fabs(eta) <= 1.3)
435  output = true;
436  return output;
437 }

References PVValHelper::eta, and convertSQLitetoXML_cfg::output.

Referenced by analyze().

◆ isEndCapM()

bool JetMonitor::isEndCapM ( double  eta)
protected

Definition at line 439 of file JetMonitor.cc.

439  {
440  bool output = false;
441  if (fabs(eta) <= 3.0 && fabs(eta) > 1.3 && (eta < 0))
442  output = true; // (mia) this magic number should come from some file in CMSSW !!!
443  return output;
444 }

References PVValHelper::eta, and convertSQLitetoXML_cfg::output.

Referenced by analyze().

◆ isEndCapP()

bool JetMonitor::isEndCapP ( double  eta)
protected

For Hcal Endcap Plus Area.

Definition at line 447 of file JetMonitor.cc.

447  {
448  bool output = false;
449  //if ( eta<=3.0 && eta >1.3) output=true;
450  if (fabs(eta) <= 3.0 && fabs(eta) > 1.3 && (eta > 0))
451  output = true; // (mia) this magic number should come from some file in CMSSW !!!
452  return output;
453 }

References PVValHelper::eta, and convertSQLitetoXML_cfg::output.

Referenced by analyze().

◆ isForward()

bool JetMonitor::isForward ( double  eta)
protected

For Hcal Forward Plus Area.

Definition at line 456 of file JetMonitor.cc.

456  {
457  bool output = false;
458  if (fabs(eta) > 3.0)
459  output = true;
460  return output;
461 }

References PVValHelper::eta, and convertSQLitetoXML_cfg::output.

Referenced by analyze().

◆ isHEM17()

bool JetMonitor::isHEM17 ( double  eta,
double  phi 
)
protected

For Hcal HEM17 Area.

Definition at line 474 of file JetMonitor.cc.

474  {
475  bool output = false;
476  if (fabs(eta) <= 3.0 && fabs(eta) > 1.3 && (eta < 0) && phi > -0.87 && phi <= -0.52) {
477  output = true;
478  } // (mia) this magic number should come from some file in CMSSW !!!
479  return output;
480 }

References PVValHelper::eta, convertSQLitetoXML_cfg::output, and phi.

Referenced by analyze().

◆ isHEP17()

bool JetMonitor::isHEP17 ( double  eta,
double  phi 
)
protected

For Hcal HEP17 Area.

Definition at line 464 of file JetMonitor.cc.

464  {
465  bool output = false;
466  // phi -0.87 to -0.52
467  if (fabs(eta) <= 3.0 && fabs(eta) > 1.3 && (eta > 0) && phi > -0.87 && phi <= -0.52) {
468  output = true;
469  } // (mia) this magic number should come from some file in CMSSW !!!
470  return output;
471 }

References PVValHelper::eta, convertSQLitetoXML_cfg::output, and phi.

Referenced by analyze().

◆ isHEP18()

bool JetMonitor::isHEP18 ( double  eta,
double  phi 
)
protected

For Hcal HEP18 Area.

Definition at line 483 of file JetMonitor.cc.

483  {
484  bool output = false;
485  // phi -0.87 to -0.52
486  if (fabs(eta) <= 3.0 && fabs(eta) > 1.3 && (eta > 0) && phi > -0.52 && phi <= -0.17) {
487  output = true;
488  } // (mia) this magic number should come from some file in CMSSW !!!
489  return output;
490 }

References PVValHelper::eta, convertSQLitetoXML_cfg::output, and phi.

Referenced by analyze().

Member Data Documentation

◆ a_ME

ObjME JetMonitor::a_ME[7]
private

Definition at line 82 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HB

ObjME JetMonitor::a_ME_HB[7]
private

Definition at line 83 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HE

ObjME JetMonitor::a_ME_HE[7]
private

Definition at line 84 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HE_m

ObjME JetMonitor::a_ME_HE_m[7]
private

Definition at line 87 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HE_p

ObjME JetMonitor::a_ME_HE_p[7]
private

Definition at line 86 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HEM17

ObjME JetMonitor::a_ME_HEM17[7]
private

Definition at line 88 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HEP17

ObjME JetMonitor::a_ME_HEP17[7]
private

Definition at line 89 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HEP18

ObjME JetMonitor::a_ME_HEP18[7]
private

Definition at line 90 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ a_ME_HF

ObjME JetMonitor::a_ME_HF[7]
private

Definition at line 85 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ den_genTriggerEventFlag_

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

Definition at line 76 of file JetMonitor.cc.

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

◆ eta_binning_hem17_

MEbinning JetMonitor::eta_binning_hem17_ {9, -3.0, -1.3}
private

Definition at line 106 of file JetMonitor.cc.

Referenced by bookMESub().

◆ eta_binning_hep17_

MEbinning JetMonitor::eta_binning_hep17_ {9, 1.3, 3.0}
private

Definition at line 105 of file JetMonitor.cc.

Referenced by bookHistograms(), and bookMESub().

◆ folderName_

const std::string JetMonitor::folderName_
private

Definition at line 64 of file JetMonitor.cc.

Referenced by bookHistograms().

◆ hltPathsAreValid_

bool JetMonitor::hltPathsAreValid_
private

Definition at line 67 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ isCaloJetTrig

bool JetMonitor::isCaloJetTrig
private

Definition at line 71 of file JetMonitor.cc.

Referenced by bookHistograms().

◆ isPFJetTrig

bool JetMonitor::isPFJetTrig
private

Definition at line 70 of file JetMonitor.cc.

Referenced by bookHistograms().

◆ jet_eta_binning_

MEbinning JetMonitor::jet_eta_binning_ {20, -5, 5}
private

Definition at line 103 of file JetMonitor.cc.

Referenced by bookMESub().

◆ jet_phi_binning_

MEbinning JetMonitor::jet_phi_binning_ {32, -3.2, 3.2}
private

Definition at line 102 of file JetMonitor.cc.

Referenced by bookMESub().

◆ jetHEM17_AbsEta_

ObjME JetMonitor::jetHEM17_AbsEta_
private

Definition at line 95 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetHEM17_AbsEtaVsPhi_

ObjME JetMonitor::jetHEM17_AbsEtaVsPhi_
private

Definition at line 93 of file JetMonitor.cc.

◆ jetHEP17_AbsEta_

ObjME JetMonitor::jetHEP17_AbsEta_
private

Definition at line 94 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetHEP17_AbsEtaVsPhi_

ObjME JetMonitor::jetHEP17_AbsEtaVsPhi_
private

Definition at line 92 of file JetMonitor.cc.

◆ jetpt_binning_

MEbinning JetMonitor::jetpt_binning_
private

Definition at line 78 of file JetMonitor.cc.

Referenced by bookMESub().

◆ jetptThr_binning_

MEbinning JetMonitor::jetptThr_binning_
private

Definition at line 79 of file JetMonitor.cc.

Referenced by bookMESub().

◆ jetSrc_

edm::EDGetTokenT<edm::View<reco::Jet> > JetMonitor::jetSrc_
private

Definition at line 73 of file JetMonitor.cc.

Referenced by analyze().

◆ ls_binning_

MEbinning JetMonitor::ls_binning_
private

Definition at line 80 of file JetMonitor.cc.

Referenced by bookMESub().

◆ num_genTriggerEventFlag_

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

Definition at line 75 of file JetMonitor.cc.

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

◆ phi_binning_hep17_

MEbinning JetMonitor::phi_binning_hep17_ {7, -0.87, -0.52}
private

Definition at line 108 of file JetMonitor.cc.

Referenced by bookMESub().

◆ phi_binning_hep18_

MEbinning JetMonitor::phi_binning_hep18_ {7, -0.52, -0.17}
private

Definition at line 109 of file JetMonitor.cc.

Referenced by bookMESub().

◆ ptcut_

double JetMonitor::ptcut_
private

Definition at line 69 of file JetMonitor.cc.

Referenced by analyze().

◆ requireValidHLTPaths_

const bool JetMonitor::requireValidHLTPaths_
private

Definition at line 66 of file JetMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ v_jeteta

std::vector<double> JetMonitor::v_jeteta
private

Definition at line 98 of file JetMonitor.cc.

Referenced by analyze().

◆ v_jetphi

std::vector<double> JetMonitor::v_jetphi
private

Definition at line 99 of file JetMonitor.cc.

Referenced by analyze().

◆ v_jetpt

std::vector<double> JetMonitor::v_jetpt
private

Definition at line 97 of file JetMonitor.cc.

Referenced by analyze().

JetMonitor::a_ME
ObjME a_ME[7]
Definition: JetMonitor.cc:82
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
JetMonitor::eta_binning_hep17_
MEbinning eta_binning_hep17_
Definition: JetMonitor.cc:105
JetMonitor::isHEM17
bool isHEM17(double eta, double phi)
For Hcal HEM17 Area.
Definition: JetMonitor.cc:474
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
JetMonitor::isEndCapM
bool isEndCapM(double eta)
Definition: JetMonitor.cc:439
JetMonitor_cff.jetPtThrPSet
jetPtThrPSet
Definition: JetMonitor_cff.py:9
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
JetMonitor::jetpt_binning_
MEbinning jetpt_binning_
Definition: JetMonitor.cc:78
JetMonitor_cfi.jetPSet
jetPSet
Definition: JetMonitor_cfi.py:12
JetMonitor::jetSrc_
edm::EDGetTokenT< edm::View< reco::Jet > > jetSrc_
Definition: JetMonitor.cc:73
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
JetMonitor::a_ME_HEM17
ObjME a_ME_HEM17[7]
Definition: JetMonitor.cc:88
SiStripSourceConfigTier0_cff.genericTriggerEventPSet
genericTriggerEventPSet
Definition: SiStripSourceConfigTier0_cff.py:96
JetMonitor::num_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: JetMonitor.cc:75
JetMonitor::isPFJetTrig
bool isPFJetTrig
Definition: JetMonitor.cc:70
edm::Handle
Definition: AssociativeIterator.h:50
JetMonitor::v_jetphi
std::vector< double > v_jetphi
Definition: JetMonitor.cc:99
JetMonitor::v_jetpt
std::vector< double > v_jetpt
Definition: JetMonitor.cc:97
TriggerDQMBase::ObjME::numerator
MonitorElement * numerator
Definition: TriggerDQMBase.h:27
JetMonitor::isEndCapP
bool isEndCapP(double eta)
For Hcal Endcap Plus Area.
Definition: JetMonitor.cc:447
JetMonitor::a_ME_HB
ObjME a_ME_HB[7]
Definition: JetMonitor.cc:83
LumiMonitor_cff.lsPSet
lsPSet
Definition: LumiMonitor_cff.py:33
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
JetMonitor::jetHEP17_AbsEta_
ObjME jetHEP17_AbsEta_
Definition: JetMonitor.cc:94
PVValHelper::eta
Definition: PVValidationHelpers.h:69
TriggerDQMBase::setMETitle
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
Definition: TriggerDQMBase.cc:3
TriggerDQMBase::MEbinning::xmax
double xmax
Definition: TriggerDQMBase.h:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
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
JetMonitor::a_ME_HEP17
ObjME a_ME_HEP17[7]
Definition: JetMonitor.cc:89
JetMonitor::v_jeteta
std::vector< double > v_jeteta
Definition: JetMonitor.cc:98
JetMonitor::ptcut_
double ptcut_
Definition: JetMonitor.cc:69
JetMonitor::a_ME_HE
ObjME a_ME_HE[7]
Definition: JetMonitor.cc:84
JetMonitor::ls_binning_
MEbinning ls_binning_
Definition: JetMonitor.cc:80
JetMonitor::a_ME_HE_m
ObjME a_ME_HE_m[7]
Definition: JetMonitor.cc:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
JetMonitor::jet_eta_binning_
MEbinning jet_eta_binning_
Definition: JetMonitor.cc:103
edm::LogWarning
Definition: MessageLogger.h:141
TriggerDQMBase::fillHistoPSetDescription
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition: TriggerDQMBase.cc:108
JetMonitor::bookMESub
void bookMESub(DQMStore::IBooker &, ObjME *a_me, const int len_, const std::string &h_Name, const std::string &h_Title, const std::string &h_subOptName, const std::string &h_subOptTitle, const bool doPhi=true, const bool doEta=true, const bool doEtaPhi=true, const bool doVsLS=true)
Definition: JetMonitor.cc:535
edm::View
Definition: CaloClusterFwd.h:14
JetMonitor::requireValidHLTPaths_
const bool requireValidHLTPaths_
Definition: JetMonitor.cc:66
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
JetMonitor::phi_binning_hep17_
MEbinning phi_binning_hep17_
Definition: JetMonitor.cc:108
JetMonitor::isForward
bool isForward(double eta)
For Hcal Forward Plus Area.
Definition: JetMonitor.cc:456
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
JetMonitor::isHEP17
bool isHEP17(double eta, double phi)
For Hcal HEP17 Area.
Definition: JetMonitor.cc:464
iEvent
int iEvent
Definition: GenABIO.cc:224
LumiMonitor_cff.histoPSet
histoPSet
Definition: LumiMonitor_cff.py:12
JetMonitor::isCaloJetTrig
bool isCaloJetTrig
Definition: JetMonitor.cc:71
JetMonitor::jetHEM17_AbsEta_
ObjME jetHEM17_AbsEta_
Definition: JetMonitor.cc:95
JetMonitor::eta_binning_hem17_
MEbinning eta_binning_hem17_
Definition: JetMonitor.cc:106
JetMonitor::isHEP18
bool isHEP18(double eta, double phi)
For Hcal HEP18 Area.
Definition: JetMonitor.cc:483
JetMonitor::isBarrel
bool isBarrel(double eta)
Definition: JetMonitor.cc:432
TriggerDQMBase::getHistoPSet
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
Definition: TriggerDQMBase.cc:120
DDAxes::phi
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
JetMonitor::jet_phi_binning_
MEbinning jet_phi_binning_
Definition: JetMonitor.cc:102
TriggerDQMBase::ObjME::denominator
MonitorElement * denominator
Definition: TriggerDQMBase.h:28
TriggerDQMBase::MEbinning::nbins
uint nbins
Definition: TriggerDQMBase.h:17
TriggerDQMBase::MEbinning::xmin
double xmin
Definition: TriggerDQMBase.h:18
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
JetMonitor::FillME
void FillME(ObjME *a_me, const double pt_, const double phi_, const double eta_, const int ls_, const std::string &denu, const bool doPhi=true, const bool doEta=true, const bool doEtaPhi=true, const bool doVsLS=true)
Definition: JetMonitor.cc:492
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
JetMonitor::hltPathsAreValid_
bool hltPathsAreValid_
Definition: JetMonitor.cc:67
JetMonitor::phi_binning_hep18_
MEbinning phi_binning_hep18_
Definition: JetMonitor.cc:109
TriggerDQMBase::fillHistoLSPSetDescription
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition: TriggerDQMBase.cc:114
edm::InputTag
Definition: InputTag.h:15
JetMonitor::a_ME_HEP18
ObjME a_ME_HEP18[7]
Definition: JetMonitor.cc:90
JetMonitor::jetptThr_binning_
MEbinning jetptThr_binning_
Definition: JetMonitor.cc:79
JetMonitor::a_ME_HE_p
ObjME a_ME_HE_p[7]
Definition: JetMonitor.cc:86
JetMonitor::den_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: JetMonitor.cc:76
JetMonitor::a_ME_HF
ObjME a_ME_HF[7]
Definition: JetMonitor.cc:85
JetMonitor::folderName_
const std::string folderName_
Definition: JetMonitor.cc:64