CMS 3D CMS Logo

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

 LepHTMonitor (const edm::ParameterSet &ps)
 
 ~LepHTMonitor () 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
 

Protected Member Functions

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

Private Attributes

std::unique_ptr< GenericTriggerEventFlagden_HT_genTriggerEventFlag_
 
std::unique_ptr< GenericTriggerEventFlagden_lep_genTriggerEventFlag_
 
float etabins_max_
 
float etabins_min_
 
const std::string folderName_
 
MonitorElementh_lepEtaPhiTurnOn_den_
 
MonitorElementh_lepEtaPhiTurnOn_num_
 
MonitorElementh_lepEtaTurnOn_den_
 
MonitorElementh_lepEtaTurnOn_num_
 
MonitorElementh_lepPhiTurnOn_den_
 
MonitorElementh_lepPhiTurnOn_num_
 
MonitorElementh_lepPtTurnOn_den_
 
MonitorElementh_lepPtTurnOn_num_
 
MonitorElementh_NPVTurnOn_den_
 
MonitorElementh_NPVTurnOn_num_
 
MonitorElementh_pfHTTurnOn_den_
 
MonitorElementh_pfHTTurnOn_num_
 
bool hltPathsAreValid_
 
std::vector< double > htbins_
 
double htCut_
 
double jetEtaCut_
 
double jetPtCut_
 
double lep_counting_threshold_
 
double lep_d0_cut_b_
 
double lep_d0_cut_e_
 
double lep_dz_cut_b_
 
double lep_dz_cut_e_
 
double lep_eta_cut_
 
double lep_iso_cut_
 
double lep_pt_plateau_
 
double metCut_
 
int muonIDlevel_
 
int nbins_eta_
 
int nbins_npv_
 
int nbins_phi_
 
double nelsCut_
 
double nmusCut_
 
float npvbins_max_
 
float npvbins_min_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
float phibins_max_
 
float phibins_min_
 
std::vector< double > ptbins_
 
const bool requireValidHLTPaths_
 
edm::EDGetTokenT< reco::BeamSpottheBeamSpot_
 
edm::InputTag theBeamSpotTag_
 
edm::EDGetTokenT< reco::ConversionCollectiontheConversionCollection_
 
edm::InputTag theConversionCollectionTag_
 
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
 
edm::InputTag theElectronTag_
 
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
 
edm::InputTag theElectronVIDTag_
 
edm::EDGetTokenT< reco::JetTagCollectiontheJetTagCollection_
 
edm::InputTag theJetTagTag_
 
edm::EDGetTokenT< reco::MuonCollectiontheMuonCollection_
 
edm::InputTag theMuonTag_
 
edm::EDGetTokenT< reco::PFJetCollectionthePfJetCollection_
 
edm::InputTag thePfJetTag_
 
edm::EDGetTokenT< reco::PFMETCollectionthePfMETCollection_
 
edm::InputTag thePfMETTag_
 
edm::EDGetTokenT< reco::VertexCollectiontheVertexCollection_
 
edm::InputTag theVertexCollectionTag_
 

Additional Inherited Members

- 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 Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 36 of file LepHTMonitor.cc.

Member Typedef Documentation

◆ DQMStore

Definition at line 39 of file LepHTMonitor.cc.

◆ MonitorElement

Definition at line 38 of file LepHTMonitor.cc.

Constructor & Destructor Documentation

◆ LepHTMonitor()

LepHTMonitor::LepHTMonitor ( const edm::ParameterSet ps)

Definition at line 229 of file LepHTMonitor.cc.

230  : theElectronTag_(ps.getParameter<edm::InputTag>("electronCollection")),
232  theElectronVIDTag_(ps.getParameter<edm::InputTag>("electronVID")),
234  theMuonTag_(ps.getParameter<edm::InputTag>("muonCollection")),
235  theMuonCollection_(consumes<reco::MuonCollection>(theMuonTag_)),
236  thePfMETTag_(ps.getParameter<edm::InputTag>("pfMetCollection")),
237  thePfMETCollection_(consumes<reco::PFMETCollection>(thePfMETTag_)),
238  thePfJetTag_(ps.getParameter<edm::InputTag>("pfJetCollection")),
239  thePfJetCollection_(consumes<reco::PFJetCollection>(thePfJetTag_)),
240  theJetTagTag_(ps.getParameter<edm::InputTag>("jetTagCollection")),
241  theJetTagCollection_(consumes<reco::JetTagCollection>(theJetTagTag_)),
242  theVertexCollectionTag_(ps.getParameter<edm::InputTag>("vertexCollection")),
243  theVertexCollection_(consumes<reco::VertexCollection>(theVertexCollectionTag_)),
244  theConversionCollectionTag_(ps.getParameter<edm::InputTag>("conversionCollection")),
245  theConversionCollection_(consumes<reco::ConversionCollection>(theConversionCollectionTag_)),
246  theBeamSpotTag_(ps.getParameter<edm::InputTag>("beamSpot")),
247  theBeamSpot_(consumes<reco::BeamSpot>(theBeamSpotTag_)),
248 
250  ps.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
252  ps.getParameter<edm::ParameterSet>("den_lep_GenericTriggerEventPSet"), consumesCollector(), *this)),
254  ps.getParameter<edm::ParameterSet>("den_HT_GenericTriggerEventPSet"), consumesCollector(), *this)),
255 
256  folderName_(ps.getParameter<std::string>("folderName")),
257  requireValidHLTPaths_(ps.getParameter<bool>("requireValidHLTPaths")),
258  hltPathsAreValid_(false),
259 
260  muonIDlevel_(ps.getUntrackedParameter<int>("muonIDlevel")),
261  jetPtCut_(ps.getUntrackedParameter<double>("jetPtCut")),
262  jetEtaCut_(ps.getUntrackedParameter<double>("jetEtaCut")),
263  metCut_(ps.getUntrackedParameter<double>("metCut")),
264  htCut_(ps.getUntrackedParameter<double>("htCut")),
265 
266  nmusCut_(ps.getUntrackedParameter<double>("nmus")),
267  nelsCut_(ps.getUntrackedParameter<double>("nels")),
268  lep_pt_plateau_(ps.getUntrackedParameter<double>("leptonPtPlateau")),
269  lep_counting_threshold_(ps.getUntrackedParameter<double>("leptonCountingThreshold")),
270  lep_iso_cut_(ps.getUntrackedParameter<double>("lepIsoCut")),
271  lep_eta_cut_(ps.getUntrackedParameter<double>("lepEtaCut")),
272  lep_d0_cut_b_(ps.getUntrackedParameter<double>("lep_d0_cut_b")),
273  lep_dz_cut_b_(ps.getUntrackedParameter<double>("lep_dz_cut_b")),
274  lep_d0_cut_e_(ps.getUntrackedParameter<double>("lep_d0_cut_e")),
275  lep_dz_cut_e_(ps.getUntrackedParameter<double>("lep_dz_cut_e")),
276  ptbins_(ps.getParameter<std::vector<double> >("ptbins")),
277  htbins_(ps.getParameter<std::vector<double> >("htbins")),
278 
279  nbins_eta_(ps.getUntrackedParameter<int>("nbins_eta")),
280  nbins_phi_(ps.getUntrackedParameter<int>("nbins_phi")),
281  nbins_npv_(ps.getUntrackedParameter<int>("nbins_npv")),
282  etabins_min_(ps.getUntrackedParameter<double>("etabins_min")),
283  etabins_max_(ps.getUntrackedParameter<double>("etabins_max")),
284  phibins_min_(ps.getUntrackedParameter<double>("phibins_min")),
285  phibins_max_(ps.getUntrackedParameter<double>("phibins_max")),
286  npvbins_min_(ps.getUntrackedParameter<double>("npvbins_min")),
287  npvbins_max_(ps.getUntrackedParameter<double>("npvbins_max")),
288 
289  h_pfHTTurnOn_num_(nullptr),
290  h_pfHTTurnOn_den_(nullptr),
291  h_lepPtTurnOn_num_(nullptr),
292  h_lepPtTurnOn_den_(nullptr),
293  h_lepEtaTurnOn_num_(nullptr),
294  h_lepEtaTurnOn_den_(nullptr),
295  h_lepPhiTurnOn_num_(nullptr),
296  h_lepPhiTurnOn_den_(nullptr),
297  h_NPVTurnOn_num_(nullptr),
298  h_NPVTurnOn_den_(nullptr) {
299  edm::LogInfo("LepHTMonitor") << "Constructor LepHTMonitor::LepHTMonitor\n";
300 }

◆ ~LepHTMonitor()

LepHTMonitor::~LepHTMonitor ( )
throw (
)
override

Definition at line 302 of file LepHTMonitor.cc.

302  {
304  num_genTriggerEventFlag_.reset();
305  }
308  }
311  }
312 }

References den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, and num_genTriggerEventFlag_.

Member Function Documentation

◆ analyze()

void LepHTMonitor::analyze ( const edm::Event e,
const edm::EventSetup eSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 416 of file LepHTMonitor.cc.

416  {
417  // if valid HLT paths are required,
418  // analyze event only if all paths are valid
420  return;
421  }
422 
423  // Find whether main and auxilliary triggers fired
424  bool hasFired = false;
425  bool hasFiredAuxiliary = false;
426  bool hasFiredLeptonAuxiliary = false;
427  if (den_lep_genTriggerEventFlag_->on() && den_lep_genTriggerEventFlag_->accept(e, eSetup))
428  hasFiredLeptonAuxiliary = true;
429  if (den_HT_genTriggerEventFlag_->on() && den_HT_genTriggerEventFlag_->accept(e, eSetup))
430  hasFiredAuxiliary = true;
431  if (num_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->accept(e, eSetup))
432  hasFired = true;
433 
434  if (!(hasFiredAuxiliary || hasFiredLeptonAuxiliary))
435  return;
436  int npv = 0;
437  //Vertex
439  if (not theVertexCollectionTag_.label().empty()) {
441  if (!VertexCollection.isValid()) {
442  edm::LogWarning("LepHTMonitor") << "Invalid VertexCollection: " << theVertexCollectionTag_.label() << '\n';
443  } else
444  npv = VertexCollection->size();
445  }
446 
447  //Get electron ID map
448  edm::Handle<edm::ValueMap<bool> > ele_id_decisions;
449  if (not theElectronVIDTag_.label().empty()) {
450  e.getByToken(theElectronVIDMap_, ele_id_decisions);
451  if (!ele_id_decisions.isValid()) {
452  edm::LogWarning("LepHTMonitor") << "Invalid Electron VID map: " << theElectronVIDTag_.label() << '\n';
453  }
454  }
455 
456  //Conversions
458  if (not theConversionCollectionTag_.label().empty()) {
460  if (!ConversionCollection.isValid()) {
461  edm::LogWarning("LepHTMonitor") << "Invalid ConversionCollection: " << theConversionCollectionTag_.label()
462  << '\n';
463  }
464  }
465 
466  //Beam Spot
468  if (not theBeamSpotTag_.label().empty()) {
469  e.getByToken(theBeamSpot_, BeamSpot);
470  if (!BeamSpot.isValid()) {
471  edm::LogWarning("LepHTMonitor") << "Invalid BeamSpot: " << theBeamSpotTag_.label() << '\n';
472  }
473  }
474 
475  //MET
477  if (not thePfMETTag_.label().empty()) {
479  if (!pfMETCollection.isValid()) {
480  edm::LogWarning("LepHTMonitor") << "Invalid PFMETCollection: " << thePfMETTag_.label() << '\n';
481  }
482  }
483 
484  //Jets
486  if (not thePfJetTag_.label().empty()) {
488  if (!pfJetCollection.isValid()) {
489  edm::LogWarning("LepHTMonitor") << "Invalid PFJetCollection: " << thePfJetTag_.label() << '\n';
490  }
491  }
492 
493  //Electron
495  if (not theElectronTag_.label().empty()) {
497  if (!ElectronCollection.isValid()) {
498  edm::LogWarning("LepHTMonitor") << "Invalid GsfElectronCollection: " << theElectronTag_.label() << '\n';
499  }
500  }
501 
502  //Muon
504  if (not theMuonTag_.label().empty()) {
505  e.getByToken(theMuonCollection_, MuonCollection);
506  if (!MuonCollection.isValid()) {
507  edm::LogWarning("LepHTMonitor") << "Invalid MuonCollection: " << theMuonTag_.label() << '\n';
508  }
509  }
510 
511  //Get offline HT
512  double pfHT = -1.0;
513  if (pfJetCollection.isValid()) {
514  pfHT = 0.0;
515  for (auto const &pfjet : *pfJetCollection) {
516  if (pfjet.pt() < jetPtCut_)
517  continue;
518  if (std::abs(pfjet.eta()) > jetEtaCut_)
519  continue;
520  pfHT += pfjet.pt();
521  }
522  }
523 
524  //Get offline MET
525  double pfMET = -1.0;
526  if (pfMETCollection.isValid() && !pfMETCollection->empty()) {
527  pfMET = pfMETCollection->front().et();
528  }
529 
530  //Find offline leptons and keep track of pt,eta of leading and trailing leptons
531  double lep_max_pt = -1.0;
532  double lep_eta = 0;
533  double lep_phi = 0;
534  double trailing_ele_eta = 0;
535  double trailing_ele_phi = 0;
536  double trailing_mu_eta = 0;
537  double trailing_mu_phi = 0;
538  double min_ele_pt = -1.0;
539  double min_mu_pt = -1.0;
540  int nels = 0;
541  int nmus = 0;
542  if (VertexCollection.isValid() && !VertexCollection->empty()) { //for quality checks
543  //Try to find a reco electron
544  if (ElectronCollection.isValid() && ConversionCollection.isValid() && BeamSpot.isValid() &&
545  ele_id_decisions.isValid()) {
546  size_t index = 0;
547  for (auto const &electron : *ElectronCollection) {
548  const auto el = ElectronCollection->ptrAt(index);
549  bool pass_id = (*ele_id_decisions)[el];
550  if (isGood(electron,
551  VertexCollection->front().position(),
552  BeamSpot->position(),
554  pass_id,
556  lep_iso_cut_,
557  lep_eta_cut_,
561  lep_dz_cut_e_)) {
562  if (electron.pt() > lep_max_pt) {
563  lep_max_pt = electron.pt();
564  lep_eta = electron.eta();
565  lep_phi = electron.phi();
566  }
567  if (electron.pt() < min_ele_pt || min_ele_pt < 0) {
568  min_ele_pt = electron.pt();
569  trailing_ele_eta = electron.eta();
570  trailing_ele_phi = electron.phi();
571  }
572  nels++;
573  }
574  index++;
575  }
576  }
577 
578  //Try to find a reco muon
579  if (MuonCollection.isValid()) {
580  for (auto const &muon : *MuonCollection) {
581  if (isGood(muon,
582  VertexCollection->front(),
584  lep_iso_cut_,
585  lep_eta_cut_,
588  muonIDlevel_)) {
589  if (muon.pt() > lep_max_pt) {
590  lep_max_pt = muon.pt();
591  lep_eta = muon.eta();
592  lep_phi = muon.phi();
593  }
594  if (muon.pt() < min_mu_pt || min_mu_pt < 0) {
595  min_mu_pt = muon.pt();
596  trailing_mu_eta = muon.eta();
597  trailing_mu_phi = muon.phi();
598  }
599  nmus++;
600  }
601  }
602  }
603  }
604 
605  //Fill single lepton triggers with leading lepton pT
606  float lep_pt = lep_max_pt;
607 
608  //For dilepton triggers, use trailing rather than leading lepton
609  if (nmusCut_ >= 2) {
610  lep_pt = min_mu_pt;
611  lep_eta = trailing_mu_eta;
612  lep_phi = trailing_mu_phi;
613  }
614  if (nelsCut_ >= 2) {
615  lep_pt = min_ele_pt;
616  lep_eta = trailing_ele_eta;
617  lep_phi = trailing_ele_phi;
618  }
619  if (nelsCut_ >= 1 && nmusCut_ >= 1) {
620  if (min_ele_pt < min_mu_pt) {
621  lep_pt = min_ele_pt;
622  lep_eta = trailing_ele_eta;
623  lep_phi = trailing_ele_phi;
624  } else {
625  lep_pt = min_mu_pt;
626  lep_eta = trailing_mu_eta;
627  lep_phi = trailing_mu_phi;
628  }
629  }
630 
631  const bool nleps_cut = nels >= nelsCut_ && nmus >= nmusCut_;
632  bool lep_plateau = lep_pt > lep_pt_plateau_ || lep_pt_plateau_ < 0.0;
633 
634  //Fill lepton pT and eta histograms
635  if (hasFiredLeptonAuxiliary || !e.isRealData()) {
636  if (nleps_cut && (pfMET > metCut_ || metCut_ < 0.0) && (pfHT > htCut_ || htCut_ < 0.0)) {
637  if (h_lepPtTurnOn_den_) {
638  if (lep_pt > ptbins_.back())
639  lep_pt = ptbins_.back() - 1; //Overflow protection
640  h_lepPtTurnOn_den_->Fill(lep_pt);
641  }
642  if (h_lepPtTurnOn_num_ && hasFired)
643  h_lepPtTurnOn_num_->Fill(lep_pt);
644 
645  if (lep_plateau) {
646  //Fill Eta and Phi histograms for leptons above pT threshold
648  h_lepEtaTurnOn_den_->Fill(lep_eta);
649  if (h_lepEtaTurnOn_num_ && hasFired)
650  h_lepEtaTurnOn_num_->Fill(lep_eta);
652  h_lepPhiTurnOn_den_->Fill(lep_phi);
653  if (h_lepPhiTurnOn_num_ && hasFired)
654  h_lepPhiTurnOn_num_->Fill(lep_phi);
656  h_lepEtaPhiTurnOn_den_->Fill(lep_eta, lep_phi);
657  if (h_lepEtaPhiTurnOn_num_ && hasFired)
658  h_lepEtaPhiTurnOn_num_->Fill(lep_eta, lep_phi);
659 
660  //Fill NPV histograms
661  if (h_NPVTurnOn_den_)
662  h_NPVTurnOn_den_->Fill(npv);
663  if (h_NPVTurnOn_num_ && hasFired)
664  h_NPVTurnOn_num_->Fill(npv);
665  }
666  }
667  }
668 
669  //Fill HT turn-on histograms
670  if (hasFiredAuxiliary || !e.isRealData()) {
671  if (nleps_cut && lep_plateau) {
672  if (h_pfHTTurnOn_den_) {
673  if (pfHT > htbins_.back())
674  pfHT = htbins_.back() - 1; //Overflow protection
675  h_pfHTTurnOn_den_->Fill(pfHT);
676  }
677  if (h_pfHTTurnOn_num_ && hasFired)
678  h_pfHTTurnOn_num_->Fill(pfHT);
679  }
680  }
681 }

References funct::abs(), align::BeamSpot, den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, MillePedeFileConverter_cfg::e, metsig::electron, dqm::impl::MonitorElement::Fill(), h_lepEtaPhiTurnOn_den_, h_lepEtaPhiTurnOn_num_, h_lepEtaTurnOn_den_, h_lepEtaTurnOn_num_, h_lepPhiTurnOn_den_, h_lepPhiTurnOn_num_, h_lepPtTurnOn_den_, h_lepPtTurnOn_num_, h_NPVTurnOn_den_, h_NPVTurnOn_num_, h_pfHTTurnOn_den_, h_pfHTTurnOn_num_, hltPathsAreValid_, htbins_, htCut_, edm::HandleBase::isValid(), jetEtaCut_, jetPtCut_, edm::InputTag::label(), lep_counting_threshold_, lep_d0_cut_b_, lep_d0_cut_e_, lep_dz_cut_b_, lep_dz_cut_e_, lep_eta_cut_, lep_iso_cut_, lep_pt_plateau_, metCut_, muonIDlevel_, LepHTMonitor_cff::nels, nelsCut_, LepHTMonitor_cff::nmus, nmusCut_, num_genTriggerEventFlag_, ExoticaDQM_cfi::pfJetCollection, pfMETBenchmark_cfi::pfMET, B2GDQM_cfi::pfMETCollection, ptbins_, requireValidHLTPaths_, theBeamSpot_, theBeamSpotTag_, theConversionCollection_, theConversionCollectionTag_, theElectronCollection_, theElectronTag_, theElectronVIDMap_, theElectronVIDTag_, theMuonCollection_, theMuonTag_, thePfJetCollection_, thePfJetTag_, thePfMETCollection_, thePfMETTag_, theVertexCollection_, and theVertexCollectionTag_.

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 314 of file LepHTMonitor.cc.

314  {
315  // Initialize trigger flags
317  num_genTriggerEventFlag_->initRun(iRun, iSetup);
318  }
320  den_lep_genTriggerEventFlag_->initRun(iRun, iSetup);
321  }
323  den_HT_genTriggerEventFlag_->initRun(iRun, iSetup);
324  }
325 
326  // check if every HLT path specified in numerator and denominator has a valid match in the HLT Menu
328  num_genTriggerEventFlag_->allHLTPathsAreValid()) &&
330  den_lep_genTriggerEventFlag_->allHLTPathsAreValid()) ||
332  den_HT_genTriggerEventFlag_->allHLTPathsAreValid())));
333 
334  // if valid HLT paths are required,
335  // create DQM outputs only if all paths are valid
337  return;
338  }
339 
340  // book at beginRun
341  ibooker.cd();
342  ibooker.setCurrentFolder("HLT/SUSY/LepHT/" + folderName_);
343 
344  bool is_mu = false;
345  bool is_ele = false;
346  if (theElectronTag_.label().empty() and not theMuonTag_.label().empty()) {
347  is_mu = true;
348  } else if (not theElectronTag_.label().empty() and theMuonTag_.label().empty()) {
349  is_ele = true;
350  }
351 
352  // Cosmetic axis names
353  std::string lepton = "lepton", Lepton = "Lepton";
354  if (is_mu && !is_ele) {
355  lepton = "muon";
356  Lepton = "Muon";
357  } else if (is_ele && !is_mu) {
358  lepton = "electron";
359  Lepton = "Electron";
360  }
361 
362  //Convert to vfloat for picky TH1F constructor
363  vector<float> f_ptbins;
364  for (double ptbin : ptbins_)
365  f_ptbins.push_back(static_cast<float>(ptbin));
366  vector<float> f_htbins;
367  for (double htbin : htbins_)
368  f_htbins.push_back(static_cast<float>(htbin));
369 
370  //num and den hists to be divided in harvesting step to make turn on curves
372  ibooker.book1D("pfHTTurnOn_num", "Numerator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
374  ibooker.book1D("pfHTTurnOn_den", "Denominator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
375 
376  h_lepPtTurnOn_num_ = ibooker.book1D("lepPtTurnOn_num",
377  ("Numerator;Offline " + lepton + " p_{T} [GeV];").c_str(),
378  f_ptbins.size() - 1,
379  f_ptbins.data());
380  h_lepPtTurnOn_den_ = ibooker.book1D("lepPtTurnOn_den",
381  ("Denominator;Offline " + lepton + " p_{T} [GeV];").c_str(),
382  f_ptbins.size() - 1,
383  f_ptbins.data());
385  ibooker.book1D("lepEtaTurnOn_num", "Numerator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
387  ibooker.book1D("lepEtaTurnOn_den", "Denominator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
389  ibooker.book1D("lepPhiTurnOn_num", "Numerator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
391  ibooker.book1D("lepPhiTurnOn_den", "Denominator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
392 
393  h_lepEtaPhiTurnOn_num_ = ibooker.book2D("lepEtaPhiTurnOn_num",
394  "Numerator;Offline lepton #eta;Offline lepton #phi;",
395  nbins_eta_ / 2,
396  etabins_min_,
397  etabins_max_,
398  nbins_phi_ / 2,
399  phibins_min_,
400  phibins_max_);
401  h_lepEtaPhiTurnOn_den_ = ibooker.book2D("lepEtaPhiTurnOn_den",
402  "Denominator;Offline lepton #eta;Offline lepton #phi;",
403  nbins_eta_ / 2,
404  etabins_min_,
405  etabins_max_,
406  nbins_phi_ / 2,
407  phibins_min_,
408  phibins_max_);
409 
410  h_NPVTurnOn_num_ = ibooker.book1D("NPVTurnOn_num", "Numerator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
411  h_NPVTurnOn_den_ = ibooker.book1D("NPVTurnOn_den", "Denominator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
412 
413  ibooker.cd();
414 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, etabins_max_, etabins_min_, folderName_, h_lepEtaPhiTurnOn_den_, h_lepEtaPhiTurnOn_num_, h_lepEtaTurnOn_den_, h_lepEtaTurnOn_num_, h_lepPhiTurnOn_den_, h_lepPhiTurnOn_num_, h_lepPtTurnOn_den_, h_lepPtTurnOn_num_, h_NPVTurnOn_den_, h_NPVTurnOn_num_, h_pfHTTurnOn_den_, h_pfHTTurnOn_num_, hltPathsAreValid_, htbins_, edm::InputTag::label(), nbins_eta_, nbins_npv_, nbins_phi_, npvbins_max_, npvbins_min_, num_genTriggerEventFlag_, phibins_max_, phibins_min_, ptbins_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theElectronTag_, and theMuonTag_.

Member Data Documentation

◆ den_HT_genTriggerEventFlag_

std::unique_ptr<GenericTriggerEventFlag> LepHTMonitor::den_HT_genTriggerEventFlag_
private

Definition at line 70 of file LepHTMonitor.cc.

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

◆ den_lep_genTriggerEventFlag_

std::unique_ptr<GenericTriggerEventFlag> LepHTMonitor::den_lep_genTriggerEventFlag_
private

Definition at line 69 of file LepHTMonitor.cc.

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

◆ etabins_max_

float LepHTMonitor::etabins_max_
private

Definition at line 100 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ etabins_min_

float LepHTMonitor::etabins_min_
private

Definition at line 99 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ folderName_

const std::string LepHTMonitor::folderName_
private

Definition at line 72 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ h_lepEtaPhiTurnOn_den_

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_den_
private

Definition at line 116 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaPhiTurnOn_num_

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_num_
private

Definition at line 115 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaTurnOn_den_

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_den_
private

Definition at line 112 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaTurnOn_num_

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_num_
private

Definition at line 111 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPhiTurnOn_den_

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_den_
private

Definition at line 114 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPhiTurnOn_num_

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_num_
private

Definition at line 113 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPtTurnOn_den_

MonitorElement* LepHTMonitor::h_lepPtTurnOn_den_
private

Definition at line 110 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPtTurnOn_num_

MonitorElement* LepHTMonitor::h_lepPtTurnOn_num_
private

Definition at line 109 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_NPVTurnOn_den_

MonitorElement* LepHTMonitor::h_NPVTurnOn_den_
private

Definition at line 118 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_NPVTurnOn_num_

MonitorElement* LepHTMonitor::h_NPVTurnOn_num_
private

Definition at line 117 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_den_

MonitorElement* LepHTMonitor::h_pfHTTurnOn_den_
private

Definition at line 108 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_num_

MonitorElement* LepHTMonitor::h_pfHTTurnOn_num_
private

Definition at line 107 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ hltPathsAreValid_

bool LepHTMonitor::hltPathsAreValid_
private

Definition at line 75 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ htbins_

std::vector<double> LepHTMonitor::htbins_
private

Definition at line 95 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ htCut_

double LepHTMonitor::htCut_
private

Definition at line 82 of file LepHTMonitor.cc.

Referenced by analyze().

◆ jetEtaCut_

double LepHTMonitor::jetEtaCut_
private

Definition at line 80 of file LepHTMonitor.cc.

Referenced by analyze().

◆ jetPtCut_

double LepHTMonitor::jetPtCut_
private

Definition at line 79 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_counting_threshold_

double LepHTMonitor::lep_counting_threshold_
private

Definition at line 86 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_d0_cut_b_

double LepHTMonitor::lep_d0_cut_b_
private

Definition at line 89 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_d0_cut_e_

double LepHTMonitor::lep_d0_cut_e_
private

Definition at line 91 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_dz_cut_b_

double LepHTMonitor::lep_dz_cut_b_
private

Definition at line 90 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_dz_cut_e_

double LepHTMonitor::lep_dz_cut_e_
private

Definition at line 92 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_eta_cut_

double LepHTMonitor::lep_eta_cut_
private

Definition at line 88 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_iso_cut_

double LepHTMonitor::lep_iso_cut_
private

Definition at line 87 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_pt_plateau_

double LepHTMonitor::lep_pt_plateau_
private

Definition at line 85 of file LepHTMonitor.cc.

Referenced by analyze().

◆ metCut_

double LepHTMonitor::metCut_
private

Definition at line 81 of file LepHTMonitor.cc.

Referenced by analyze().

◆ muonIDlevel_

int LepHTMonitor::muonIDlevel_
private

Definition at line 77 of file LepHTMonitor.cc.

Referenced by analyze().

◆ nbins_eta_

int LepHTMonitor::nbins_eta_
private

Definition at line 96 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nbins_npv_

int LepHTMonitor::nbins_npv_
private

Definition at line 98 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nbins_phi_

int LepHTMonitor::nbins_phi_
private

Definition at line 97 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nelsCut_

double LepHTMonitor::nelsCut_
private

Definition at line 84 of file LepHTMonitor.cc.

Referenced by analyze().

◆ nmusCut_

double LepHTMonitor::nmusCut_
private

Definition at line 83 of file LepHTMonitor.cc.

Referenced by analyze().

◆ npvbins_max_

float LepHTMonitor::npvbins_max_
private

Definition at line 104 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ npvbins_min_

float LepHTMonitor::npvbins_min_
private

Definition at line 103 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ num_genTriggerEventFlag_

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

Definition at line 68 of file LepHTMonitor.cc.

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

◆ phibins_max_

float LepHTMonitor::phibins_max_
private

Definition at line 102 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ phibins_min_

float LepHTMonitor::phibins_min_
private

Definition at line 101 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ ptbins_

std::vector<double> LepHTMonitor::ptbins_
private

Definition at line 94 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ requireValidHLTPaths_

const bool LepHTMonitor::requireValidHLTPaths_
private

Definition at line 74 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ theBeamSpot_

edm::EDGetTokenT<reco::BeamSpot> LepHTMonitor::theBeamSpot_
private

Definition at line 66 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theBeamSpotTag_

edm::InputTag LepHTMonitor::theBeamSpotTag_
private

Definition at line 65 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theConversionCollection_

edm::EDGetTokenT<reco::ConversionCollection> LepHTMonitor::theConversionCollection_
private

Definition at line 64 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theConversionCollectionTag_

edm::InputTag LepHTMonitor::theConversionCollectionTag_
private

Definition at line 63 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronCollection_

edm::EDGetTokenT<edm::View<reco::GsfElectron> > LepHTMonitor::theElectronCollection_
private

Definition at line 50 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronTag_

edm::InputTag LepHTMonitor::theElectronTag_
private

Definition at line 49 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ theElectronVIDMap_

edm::EDGetTokenT<edm::ValueMap<bool> > LepHTMonitor::theElectronVIDMap_
private

Definition at line 52 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronVIDTag_

edm::InputTag LepHTMonitor::theElectronVIDTag_
private

Definition at line 51 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theJetTagCollection_

edm::EDGetTokenT<reco::JetTagCollection> LepHTMonitor::theJetTagCollection_
private

Definition at line 60 of file LepHTMonitor.cc.

◆ theJetTagTag_

edm::InputTag LepHTMonitor::theJetTagTag_
private

Definition at line 59 of file LepHTMonitor.cc.

◆ theMuonCollection_

edm::EDGetTokenT<reco::MuonCollection> LepHTMonitor::theMuonCollection_
private

Definition at line 54 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theMuonTag_

edm::InputTag LepHTMonitor::theMuonTag_
private

Definition at line 53 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ thePfJetCollection_

edm::EDGetTokenT<reco::PFJetCollection> LepHTMonitor::thePfJetCollection_
private

Definition at line 58 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfJetTag_

edm::InputTag LepHTMonitor::thePfJetTag_
private

Definition at line 57 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfMETCollection_

edm::EDGetTokenT<reco::PFMETCollection> LepHTMonitor::thePfMETCollection_
private

Definition at line 56 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfMETTag_

edm::InputTag LepHTMonitor::thePfMETTag_
private

Definition at line 55 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theVertexCollection_

edm::EDGetTokenT<reco::VertexCollection> LepHTMonitor::theVertexCollection_
private

Definition at line 62 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theVertexCollectionTag_

edm::InputTag LepHTMonitor::theVertexCollectionTag_
private

Definition at line 61 of file LepHTMonitor.cc.

Referenced by analyze().

LepHTMonitor::nbins_phi_
int nbins_phi_
Definition: LepHTMonitor.cc:97
LepHTMonitor::npvbins_min_
float npvbins_min_
Definition: LepHTMonitor.cc:103
LepHTMonitor::theJetTagCollection_
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.cc:60
LepHTMonitor_cff.nmus
nmus
Definition: LepHTMonitor_cff.py:29
LepHTMonitor::npvbins_max_
float npvbins_max_
Definition: LepHTMonitor.cc:104
LepHTMonitor::nbins_eta_
int nbins_eta_
Definition: LepHTMonitor.cc:96
Lepton
Definition: Lepton.py:1
align::BeamSpot
Definition: StructureType.h:89
muon
Definition: MuonCocktails.h:17
LepHTMonitor::jetPtCut_
double jetPtCut_
Definition: LepHTMonitor.cc:79
LepHTMonitor::h_NPVTurnOn_num_
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.cc:117
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
edm::LogInfo
Definition: MessageLogger.h:254
LepHTMonitor::lep_d0_cut_e_
double lep_d0_cut_e_
Definition: LepHTMonitor.cc:91
LepHTMonitor::h_pfHTTurnOn_den_
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.cc:108
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
LepHTMonitor::folderName_
const std::string folderName_
Definition: LepHTMonitor.cc:72
LepHTMonitor::h_NPVTurnOn_den_
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.cc:118
LepHTMonitor::den_HT_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.cc:70
edm::Handle< reco::VertexCollection >
LepHTMonitor::etabins_min_
float etabins_min_
Definition: LepHTMonitor.cc:99
LepHTMonitor::hltPathsAreValid_
bool hltPathsAreValid_
Definition: LepHTMonitor.cc:75
LepHTMonitor::thePfJetTag_
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.cc:57
LepHTMonitor::ptbins_
std::vector< double > ptbins_
Definition: LepHTMonitor.cc:94
LepHTMonitor::num_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.cc:68
LepHTMonitor::nbins_npv_
int nbins_npv_
Definition: LepHTMonitor.cc:98
reco::ConversionCollection
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
LepHTMonitor::h_lepPtTurnOn_num_
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.cc:109
LepHTMonitor::lep_d0_cut_b_
double lep_d0_cut_b_
Definition: LepHTMonitor.cc:89
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
LepHTMonitor::phibins_min_
float phibins_min_
Definition: LepHTMonitor.cc:101
LepHTMonitor::lep_dz_cut_e_
double lep_dz_cut_e_
Definition: LepHTMonitor.cc:92
LepHTMonitor::h_lepEtaPhiTurnOn_num_
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.cc:115
LepHTMonitor::nelsCut_
double nelsCut_
Definition: LepHTMonitor.cc:84
LepHTMonitor::theVertexCollectionTag_
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.cc:61
LepHTMonitor::lep_eta_cut_
double lep_eta_cut_
Definition: LepHTMonitor.cc:88
LepHTMonitor::lep_pt_plateau_
double lep_pt_plateau_
Definition: LepHTMonitor.cc:85
LepHTMonitor::theBeamSpot_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.cc:66
ExoticaDQM_cfi.pfJetCollection
pfJetCollection
Definition: ExoticaDQM_cfi.py:19
reco::MuonCollection
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
LepHTMonitor::theVertexCollection_
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.cc:62
LepHTMonitor::nmusCut_
double nmusCut_
Definition: LepHTMonitor.cc:83
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
metsig::electron
Definition: SignAlgoResolutions.h:48
LepHTMonitor::theMuonCollection_
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.cc:54
LepHTMonitor::thePfMETCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.cc:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
edm::View
Definition: CaloClusterFwd.h:14
LepHTMonitor::den_lep_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.cc:69
LepHTMonitor::theElectronTag_
edm::InputTag theElectronTag_
Definition: LepHTMonitor.cc:49
LepHTMonitor::h_lepPhiTurnOn_den_
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.cc:114
LepHTMonitor::jetEtaCut_
double jetEtaCut_
Definition: LepHTMonitor.cc:80
edm::ParameterSet
Definition: ParameterSet.h:36
LepHTMonitor::htCut_
double htCut_
Definition: LepHTMonitor.cc:82
LepHTMonitor::lep_iso_cut_
double lep_iso_cut_
Definition: LepHTMonitor.cc:87
LepHTMonitor::theConversionCollection_
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.cc:64
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
LepHTMonitor::h_pfHTTurnOn_num_
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.cc:107
LepHTMonitor::metCut_
double metCut_
Definition: LepHTMonitor.cc:81
LepHTMonitor::lep_counting_threshold_
double lep_counting_threshold_
Definition: LepHTMonitor.cc:86
LepHTMonitor::theMuonTag_
edm::InputTag theMuonTag_
Definition: LepHTMonitor.cc:53
LepHTMonitor::h_lepEtaTurnOn_den_
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.cc:112
LepHTMonitor::thePfJetCollection_
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.cc:58
LepHTMonitor::phibins_max_
float phibins_max_
Definition: LepHTMonitor.cc:102
LepHTMonitor::h_lepPtTurnOn_den_
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.cc:110
LepHTMonitor::thePfMETTag_
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.cc:55
reco::ElectronCollection
std::vector< Electron > ElectronCollection
collectin of Electron objects
Definition: ElectronFwd.h:9
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
LepHTMonitor::lep_dz_cut_b_
double lep_dz_cut_b_
Definition: LepHTMonitor.cc:90
B2GDQM_cfi.pfMETCollection
pfMETCollection
Definition: B2GDQM_cfi.py:27
LepHTMonitor::theJetTagTag_
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.cc:59
LepHTMonitor_cff.nels
nels
1: loose, 2: medium, 3: tight
Definition: LepHTMonitor_cff.py:28
edm::ValueMap
Definition: ValueMap.h:107
LepHTMonitor::htbins_
std::vector< double > htbins_
Definition: LepHTMonitor.cc:95
LepHTMonitor::theElectronCollection_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.cc:50
LepHTMonitor::h_lepEtaTurnOn_num_
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.cc:111
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
LepHTMonitor::h_lepEtaPhiTurnOn_den_
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.cc:116
LepHTMonitor::theBeamSpotTag_
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.cc:65
LepHTMonitor::h_lepPhiTurnOn_num_
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.cc:113
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
LepHTMonitor::theElectronVIDTag_
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.cc:51
LepHTMonitor::etabins_max_
float etabins_max_
Definition: LepHTMonitor.cc:100
LepHTMonitor::theConversionCollectionTag_
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.cc:63
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
LepHTMonitor::muonIDlevel_
int muonIDlevel_
Definition: LepHTMonitor.cc:77
LepHTMonitor::theElectronVIDMap_
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.cc:52
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
LepHTMonitor::requireValidHLTPaths_
const bool requireValidHLTPaths_
Definition: LepHTMonitor.cc:74
pfMETBenchmark_cfi.pfMET
pfMET
Definition: pfMETBenchmark_cfi.py:3