CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
B2GSingleLeptonHLTValidation Class Reference

#include <B2GSingleLeptonHLTValidation.h>

Inheritance diagram for B2GSingleLeptonHLTValidation:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

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

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 &)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
std::string monitorPath (const std::string &label) const
 
void triggerBinLabels (const std::vector< std::string > &labels)
 set configurable labels for trigger monitoring histograms More...
 

Private Attributes

edm::Ptr< reco::GsfElectronelec_
 
double etaElectrons_
 
double etaJets_
 
double etaMuons_
 
MonitorElementhDenJetEta
 
MonitorElementhDenJetPt
 
MonitorElementhDenLeptonEta
 
MonitorElementhDenLeptonPt
 
MonitorElementhDenTriggerMon
 
MonitorElementhNumJetEta
 
MonitorElementhNumJetPt
 
MonitorElementhNumLeptonEta
 
MonitorElementhNumLeptonPt
 
MonitorElementhNumTriggerMon
 
bool isAll_ = false
 
double isoElectrons_
 
double isoMuons_
 
bool isSel_ = false
 
edm::Ptr< reco::Jetjet_
 
unsigned int minElectrons_
 
unsigned int minJets_
 
unsigned int minMuons_
 
edm::Ptr< reco::Muonmu_
 
double ptElectrons_
 
double ptJets0_
 
double ptJets1_
 
double ptJets_
 
double ptMuons_
 
std::string sDir_
 
std::string sElectrons_
 
std::string sJets_
 
std::string sMuons_
 
std::string sTrigger_
 
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
 
edm::EDGetTokenT< edm::View< reco::Jet > > tokJets_
 
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
 
edm::EDGetTokenT< edm::TriggerResultstokTrigger_
 
std::vector< std::string > vsPaths_
 

Additional Inherited Members

- 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
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

HLTriggerOffline/B2G/interface/B2GSingleLeptonHLTValidation.h

Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta

Implementation: harvesting

HLTriggerOffline/B2G/src/B2GSingleLeptonHLTValidation.cc

Description:

Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta

Implementation: harvesting

Definition at line 49 of file B2GSingleLeptonHLTValidation.h.

Constructor & Destructor Documentation

◆ B2GSingleLeptonHLTValidation()

B2GSingleLeptonHLTValidation::B2GSingleLeptonHLTValidation ( const edm::ParameterSet iConfig)
explicit

Definition at line 130 of file B2GSingleLeptonHLTValidation.h.

131  : sDir_(iConfig.getUntrackedParameter<std::string>("sDir", "HLTValidation/B2G/Efficiencies/")),
132  sElectrons_(iConfig.getUntrackedParameter<std::string>("sElectrons", "gsfElectrons")),
133  ptElectrons_(iConfig.getUntrackedParameter<double>("ptElectrons", 0.)),
134  etaElectrons_(iConfig.getUntrackedParameter<double>("etaElectrons", 0.)),
135  isoElectrons_(iConfig.getUntrackedParameter<double>("isoElectrons", 0.)),
136  minElectrons_(iConfig.getUntrackedParameter<unsigned int>("minElectrons", 0)),
137  sMuons_(iConfig.getUntrackedParameter<std::string>("sMuons", "muons")),
138  ptMuons_(iConfig.getUntrackedParameter<double>("ptMuons", 0.)),
139  etaMuons_(iConfig.getUntrackedParameter<double>("etaMuons", 0.)),
140  isoMuons_(iConfig.getUntrackedParameter<double>("isoMuons", 0.)),
141  minMuons_(iConfig.getUntrackedParameter<unsigned int>("minMuons", 0)),
142  sJets_(iConfig.getUntrackedParameter<std::string>("sJets", "ak5PFJets")),
143  ptJets_(iConfig.getUntrackedParameter<double>("ptJets", 0.)),
144  ptJets0_(iConfig.getUntrackedParameter<double>("ptJets0", 0.)),
145  ptJets1_(iConfig.getUntrackedParameter<double>("ptJets1", 0.)),
146  etaJets_(iConfig.getUntrackedParameter<double>("etaJets", 0.)),
147  minJets_(iConfig.getUntrackedParameter<unsigned int>("minJets", 0)),
148  sTrigger_(iConfig.getUntrackedParameter<std::string>("sTrigger", "TriggerResults")),
149  vsPaths_(iConfig.getUntrackedParameter<std::vector<std::string>>("vsPaths"))
150 
151 {
152  // Electrons
153  tokElectrons_ = consumes<edm::View<reco::GsfElectron>>(edm::InputTag(sElectrons_));
154  // Muons
155  tokMuons_ = consumes<edm::View<reco::Muon>>(edm::InputTag(sMuons_));
156  // Jets
157  tokJets_ = consumes<edm::View<reco::Jet>>(edm::InputTag(sJets_));
158  // Trigger
159  tokTrigger_ = consumes<edm::TriggerResults>(edm::InputTag(sTrigger_, "", "HLT"));
160 }

References HLT_2018_cff::InputTag, sElectrons_, sJets_, sMuons_, sTrigger_, tokElectrons_, tokJets_, tokMuons_, and tokTrigger_.

◆ ~B2GSingleLeptonHLTValidation()

B2GSingleLeptonHLTValidation::~B2GSingleLeptonHLTValidation ( )
override

Definition at line 162 of file B2GSingleLeptonHLTValidation.h.

162  {
163  // do anything here that needs to be done at desctruction time
164  // (e.g. close files, deallocate resources etc.)
165 }

Member Function Documentation

◆ analyze()

void B2GSingleLeptonHLTValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 46 of file B2GSingleLeptonHLTValidation.cc.

46  {
47  using namespace edm;
48 
49  isAll_ = false;
50  isSel_ = false;
51 
52  // Electrons
54  if (!iEvent.getByToken(tokElectrons_, electrons))
55  edm::LogWarning("B2GSingleLeptonHLTValidation") << "Electrons collection not found \n";
56  unsigned int nGoodE = 0;
57  for (edm::View<reco::GsfElectron>::const_iterator e = electrons->begin(); e != electrons->end(); ++e) {
58  if (e->pt() < ptElectrons_)
59  continue;
60  if (fabs(e->eta()) > etaElectrons_)
61  continue;
62  nGoodE++;
63  if (nGoodE == 1)
64  elec_ = electrons->ptrAt(e - electrons->begin());
65  }
66  // Muons
68  if (!iEvent.getByToken(tokMuons_, muons))
69  edm::LogWarning("B2GSingleLeptonHLTValidation") << "Muons collection not found \n";
70  unsigned int nGoodM = 0;
71  for (edm::View<reco::Muon>::const_iterator m = muons->begin(); m != muons->end(); ++m) {
72  if (!m->isPFMuon() || !m->isGlobalMuon())
73  continue;
74  if (m->pt() < ptMuons_)
75  continue;
76  if (fabs(m->eta()) > etaMuons_)
77  continue;
78  nGoodM++;
79  if (nGoodM == 1)
80  mu_ = muons->ptrAt(m - muons->begin());
81  }
82  // Jets
84  if (!iEvent.getByToken(tokJets_, jets))
85  edm::LogWarning("B2GSingleLeptonHLTValidation") << "Jets collection not found \n";
86  unsigned int nGoodJ = 0;
87 
88  // Check to see if we want asymmetric jet pt cuts
89  if (ptJets0_ > 0.0 || ptJets1_ > 0.0) {
90  if (ptJets0_ > 0.0) {
91  if (!jets->empty() && jets->at(0).pt() > ptJets0_) {
92  nGoodJ++;
93  jet_ = jets->ptrAt(0);
94  }
95  }
96  if (ptJets1_ > 0.0) {
97  if (jets->size() > 1 && jets->at(1).pt() > ptJets1_) {
98  nGoodJ++;
99  jet_ = jets->ptrAt(1);
100  }
101  }
102  } else {
103  for (edm::View<reco::Jet>::const_iterator j = jets->begin(); j != jets->end(); ++j) {
104  if (j->pt() < ptJets_)
105  continue;
106  if (fabs(j->eta()) > etaJets_)
107  continue;
108  nGoodJ++;
109  if (nGoodJ == minJets_)
110  jet_ = jets->ptrAt(j - jets->begin());
111  }
112  }
113 
114  if (nGoodE >= minElectrons_ && nGoodM >= minMuons_ && nGoodJ >= minJets_)
115  isAll_ = true;
116 
117  // Trigger
118  Handle<edm::TriggerResults> triggerTable;
119  if (!iEvent.getByToken(tokTrigger_, triggerTable))
120  edm::LogWarning("B2GSingleLeptonHLTValidation") << "Trigger collection not found \n";
121  const edm::TriggerNames &triggerNames = iEvent.triggerNames(*triggerTable);
122  bool isInteresting = false;
123  for (unsigned int i = 0; i < triggerNames.triggerNames().size(); ++i) {
124  TString name = triggerNames.triggerNames()[i].c_str();
125  for (unsigned int j = 0; j < vsPaths_.size(); j++) {
126  if (name.Contains(TString(vsPaths_[j]), TString::kIgnoreCase)) {
127  isInteresting = true;
128  break;
129  }
130  }
131  if (isInteresting)
132  break;
133  }
134 
135  if (isAll_ && isInteresting)
136  isSel_ = true;
137  else
138  isSel_ = false;
139 
140  // Histos
141  if (isAll_) {
142  if (minElectrons_ > 0 && elec_.isNonnull()) {
143  hDenLeptonPt->Fill(elec_->pt());
145  }
146  if (minMuons_ > 0 && mu_.isNonnull()) {
147  hDenLeptonPt->Fill(mu_->pt());
148  hDenLeptonEta->Fill(mu_->eta());
149  }
150  if (jet_.isNonnull()) {
151  hDenJetPt->Fill(jet_->pt());
152  hDenJetEta->Fill(jet_->eta());
153  }
154  for (unsigned int idx = 0; idx < vsPaths_.size(); ++idx) {
155  hDenTriggerMon->Fill(idx + 0.5);
156  }
157  }
158  if (isSel_) {
159  if (minElectrons_ > 0 && elec_.isNonnull()) {
160  hNumLeptonPt->Fill(elec_->pt());
162  }
163  if (minMuons_ > 0 && mu_.isNonnull()) {
164  hNumLeptonPt->Fill(mu_->pt());
165  hNumLeptonEta->Fill(mu_->eta());
166  }
167  if (jet_.isNonnull()) {
168  hNumJetPt->Fill(jet_->pt());
169  hNumJetEta->Fill(jet_->eta());
170  }
171  for (unsigned int i = 0; i < triggerNames.triggerNames().size(); ++i) {
172  TString name = triggerNames.triggerNames()[i].c_str();
173  for (unsigned int j = 0; j < vsPaths_.size(); j++) {
174  if (name.Contains(TString(vsPaths_[j]), TString::kIgnoreCase)) {
175  hNumTriggerMon->Fill(j + 0.5);
176  }
177  }
178  }
179  }
180 }

References MillePedeFileConverter_cfg::e, elec_, pwdgSkimBPark_cfi::electrons, reco::LeafCandidate::eta(), etaElectrons_, etaJets_, etaMuons_, dqm::impl::MonitorElement::Fill(), hDenJetEta, hDenJetPt, hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumJetEta, hNumJetPt, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, mps_fire::i, training_settings::idx, iEvent, isAll_, edm::Ptr< T >::isNonnull(), isSel_, dqmiolumiharvest::j, jet_, singleTopDQM_cfi::jets, visualization-live-secondInstance_cfg::m, minElectrons_, minJets_, minMuons_, mu_, PDWG_BPHSkim_cff::muons, Skims_PA_cff::name, reco::LeafCandidate::pt(), ptElectrons_, ptJets0_, ptJets1_, ptJets_, ptMuons_, tokElectrons_, tokJets_, tokMuons_, tokTrigger_, L1TEGammaOffline_cfi::triggerNames, and vsPaths_.

◆ bookHistograms()

void B2GSingleLeptonHLTValidation::bookHistograms ( DQMStore::IBooker dbe,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 183 of file B2GSingleLeptonHLTValidation.cc.

183  {
184  dbe.setCurrentFolder(sDir_);
185  hDenLeptonPt = dbe.book1D("PtLeptonAll", "PtLeptonAll", 50, 0., 2500.);
186  hDenLeptonEta = dbe.book1D("EtaLeptonAll", "EtaLeptonAll", 30, -3., 3.);
187  hDenJetPt = dbe.book1D("PtLastJetAll", "PtLastJetAll", 60, 0., 3000.);
188  hDenJetEta = dbe.book1D("EtaLastJetAll", "EtaLastJetAll", 30, -3., 3.);
189  hNumLeptonPt = dbe.book1D("PtLeptonSel", "PtLeptonSel", 50, 0., 2500.);
190  hNumLeptonEta = dbe.book1D("EtaLeptonSel", "EtaLeptonSel", 30, -3., 3.);
191  hNumJetPt = dbe.book1D("PtLastJetSel", "PtLastJetSel", 60, 0., 3000.);
192  hNumJetEta = dbe.book1D("EtaLastJetSel", "EtaLastJetSel", 30, -3., 3.);
193  // determine number of bins for trigger monitoring
194  unsigned int nPaths = vsPaths_.size();
195  // monitored trigger occupancy for single lepton triggers
196  hNumTriggerMon = dbe.book1D("TriggerMonSel", "TriggerMonSel", nPaths, 0., nPaths);
197  hDenTriggerMon = dbe.book1D("TriggerMonAll", "TriggerMonAll", nPaths, 0., nPaths);
198  // set bin labels for trigger monitoring
200 }

References dqm::implementation::IBooker::book1D(), hDenJetEta, hDenJetPt, hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumJetEta, hNumJetPt, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, sDir_, dqm::implementation::NavigatorBase::setCurrentFolder(), triggerBinLabels(), and vsPaths_.

◆ fillDescriptions()

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

Definition at line 204 of file B2GSingleLeptonHLTValidation.cc.

204  {
205  // The following says we do not know what parameters are allowed so do no
206  // validation
207  // Please change this to state exactly what you do use, even if it is no
208  // parameters
210  desc.setUnknown();
211  descriptions.addDefault(desc);
212 }

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

◆ monitorPath()

std::string B2GSingleLeptonHLTValidation::monitorPath ( const std::string &  label) const
inlineprivate

deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'

Definition at line 61 of file B2GSingleLeptonHLTValidation.h.

61 { return label.substr(label.find(':') + 1); };

References label.

Referenced by triggerBinLabels().

◆ triggerBinLabels()

void B2GSingleLeptonHLTValidation::triggerBinLabels ( const std::vector< std::string > &  labels)
inlineprivate

set configurable labels for trigger monitoring histograms

Definition at line 112 of file B2GSingleLeptonHLTValidation.h.

112  {
113  for (unsigned int idx = 0; idx < labels.size(); ++idx) {
114  hNumTriggerMon->setBinLabel(idx + 1, "[" + monitorPath(labels[idx]) + "]", 1);
115  hDenTriggerMon->setBinLabel(idx + 1, "[" + monitorPath(labels[idx]) + "]", 1);
116  }
117 }

References hDenTriggerMon, hNumTriggerMon, training_settings::idx, SummaryClient_cfi::labels, monitorPath(), and dqm::impl::MonitorElement::setBinLabel().

Referenced by bookHistograms().

Member Data Documentation

◆ elec_

edm::Ptr<reco::GsfElectron> B2GSingleLeptonHLTValidation::elec_
private

Definition at line 79 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ etaElectrons_

double B2GSingleLeptonHLTValidation::etaElectrons_
private

Definition at line 83 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ etaJets_

double B2GSingleLeptonHLTValidation::etaJets_
private

Definition at line 101 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ etaMuons_

double B2GSingleLeptonHLTValidation::etaMuons_
private

Definition at line 91 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ hDenJetEta

MonitorElement* B2GSingleLeptonHLTValidation::hDenJetEta
private

Definition at line 75 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hDenJetPt

MonitorElement* B2GSingleLeptonHLTValidation::hDenJetPt
private

Definition at line 73 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hDenLeptonEta

MonitorElement* B2GSingleLeptonHLTValidation::hDenLeptonEta
private

Definition at line 71 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hDenLeptonPt

MonitorElement* B2GSingleLeptonHLTValidation::hDenLeptonPt
private

Definition at line 69 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hDenTriggerMon

MonitorElement* B2GSingleLeptonHLTValidation::hDenTriggerMon
private

Definition at line 77 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), bookHistograms(), and triggerBinLabels().

◆ hNumJetEta

MonitorElement* B2GSingleLeptonHLTValidation::hNumJetEta
private

Definition at line 74 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hNumJetPt

MonitorElement* B2GSingleLeptonHLTValidation::hNumJetPt
private

Definition at line 72 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hNumLeptonEta

MonitorElement* B2GSingleLeptonHLTValidation::hNumLeptonEta
private

Definition at line 70 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hNumLeptonPt

MonitorElement* B2GSingleLeptonHLTValidation::hNumLeptonPt
private

Definition at line 68 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hNumTriggerMon

MonitorElement* B2GSingleLeptonHLTValidation::hNumTriggerMon
private

Definition at line 76 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), bookHistograms(), and triggerBinLabels().

◆ isAll_

bool B2GSingleLeptonHLTValidation::isAll_ = false
private

Definition at line 108 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ isoElectrons_

double B2GSingleLeptonHLTValidation::isoElectrons_
private

Definition at line 84 of file B2GSingleLeptonHLTValidation.h.

◆ isoMuons_

double B2GSingleLeptonHLTValidation::isoMuons_
private

Definition at line 92 of file B2GSingleLeptonHLTValidation.h.

◆ isSel_

bool B2GSingleLeptonHLTValidation::isSel_ = false
private

Definition at line 109 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ jet_

edm::Ptr<reco::Jet> B2GSingleLeptonHLTValidation::jet_
private

Definition at line 95 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ minElectrons_

unsigned int B2GSingleLeptonHLTValidation::minElectrons_
private

Definition at line 85 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ minJets_

unsigned int B2GSingleLeptonHLTValidation::minJets_
private

Definition at line 102 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ minMuons_

unsigned int B2GSingleLeptonHLTValidation::minMuons_
private

Definition at line 93 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ mu_

edm::Ptr<reco::Muon> B2GSingleLeptonHLTValidation::mu_
private

Definition at line 87 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ ptElectrons_

double B2GSingleLeptonHLTValidation::ptElectrons_
private

Definition at line 82 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ ptJets0_

double B2GSingleLeptonHLTValidation::ptJets0_
private

Definition at line 99 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ ptJets1_

double B2GSingleLeptonHLTValidation::ptJets1_
private

Definition at line 100 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ ptJets_

double B2GSingleLeptonHLTValidation::ptJets_
private

Definition at line 98 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ ptMuons_

double B2GSingleLeptonHLTValidation::ptMuons_
private

Definition at line 90 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze().

◆ sDir_

std::string B2GSingleLeptonHLTValidation::sDir_
private

Definition at line 67 of file B2GSingleLeptonHLTValidation.h.

Referenced by bookHistograms().

◆ sElectrons_

std::string B2GSingleLeptonHLTValidation::sElectrons_
private

Definition at line 80 of file B2GSingleLeptonHLTValidation.h.

Referenced by B2GSingleLeptonHLTValidation().

◆ sJets_

std::string B2GSingleLeptonHLTValidation::sJets_
private

Definition at line 96 of file B2GSingleLeptonHLTValidation.h.

Referenced by B2GSingleLeptonHLTValidation().

◆ sMuons_

std::string B2GSingleLeptonHLTValidation::sMuons_
private

Definition at line 88 of file B2GSingleLeptonHLTValidation.h.

Referenced by B2GSingleLeptonHLTValidation().

◆ sTrigger_

std::string B2GSingleLeptonHLTValidation::sTrigger_
private

Definition at line 104 of file B2GSingleLeptonHLTValidation.h.

Referenced by B2GSingleLeptonHLTValidation().

◆ tokElectrons_

edm::EDGetTokenT<edm::View<reco::GsfElectron> > B2GSingleLeptonHLTValidation::tokElectrons_
private

Definition at line 81 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and B2GSingleLeptonHLTValidation().

◆ tokJets_

edm::EDGetTokenT<edm::View<reco::Jet> > B2GSingleLeptonHLTValidation::tokJets_
private

Definition at line 97 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and B2GSingleLeptonHLTValidation().

◆ tokMuons_

edm::EDGetTokenT<edm::View<reco::Muon> > B2GSingleLeptonHLTValidation::tokMuons_
private

Definition at line 89 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and B2GSingleLeptonHLTValidation().

◆ tokTrigger_

edm::EDGetTokenT<edm::TriggerResults> B2GSingleLeptonHLTValidation::tokTrigger_
private

Definition at line 105 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and B2GSingleLeptonHLTValidation().

◆ vsPaths_

std::vector<std::string> B2GSingleLeptonHLTValidation::vsPaths_
private

Definition at line 106 of file B2GSingleLeptonHLTValidation.h.

Referenced by analyze(), and bookHistograms().

SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
B2GSingleLeptonHLTValidation::isoMuons_
double isoMuons_
Definition: B2GSingleLeptonHLTValidation.h:92
B2GSingleLeptonHLTValidation::hNumJetPt
MonitorElement * hNumJetPt
Definition: B2GSingleLeptonHLTValidation.h:72
mps_fire.i
i
Definition: mps_fire.py:355
B2GSingleLeptonHLTValidation::isSel_
bool isSel_
Definition: B2GSingleLeptonHLTValidation.h:109
B2GSingleLeptonHLTValidation::ptJets0_
double ptJets0_
Definition: B2GSingleLeptonHLTValidation.h:99
B2GSingleLeptonHLTValidation::hNumTriggerMon
MonitorElement * hNumTriggerMon
Definition: B2GSingleLeptonHLTValidation.h:76
B2GSingleLeptonHLTValidation::hDenJetEta
MonitorElement * hDenJetEta
Definition: B2GSingleLeptonHLTValidation.h:75
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
B2GSingleLeptonHLTValidation::monitorPath
std::string monitorPath(const std::string &label) const
Definition: B2GSingleLeptonHLTValidation.h:61
B2GSingleLeptonHLTValidation::tokElectrons_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
Definition: B2GSingleLeptonHLTValidation.h:81
B2GSingleLeptonHLTValidation::triggerBinLabels
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
Definition: B2GSingleLeptonHLTValidation.h:112
B2GSingleLeptonHLTValidation::ptJets_
double ptJets_
Definition: B2GSingleLeptonHLTValidation.h:98
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
B2GSingleLeptonHLTValidation::hDenLeptonEta
MonitorElement * hDenLeptonEta
Definition: B2GSingleLeptonHLTValidation.h:71
edm::Handle
Definition: AssociativeIterator.h:50
training_settings.idx
idx
Definition: training_settings.py:16
B2GSingleLeptonHLTValidation::vsPaths_
std::vector< std::string > vsPaths_
Definition: B2GSingleLeptonHLTValidation.h:106
B2GSingleLeptonHLTValidation::hDenJetPt
MonitorElement * hDenJetPt
Definition: B2GSingleLeptonHLTValidation.h:73
B2GSingleLeptonHLTValidation::hNumLeptonPt
MonitorElement * hNumLeptonPt
Definition: B2GSingleLeptonHLTValidation.h:68
B2GSingleLeptonHLTValidation::jet_
edm::Ptr< reco::Jet > jet_
Definition: B2GSingleLeptonHLTValidation.h:95
B2GSingleLeptonHLTValidation::sDir_
std::string sDir_
Definition: B2GSingleLeptonHLTValidation.h:67
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
B2GSingleLeptonHLTValidation::minElectrons_
unsigned int minElectrons_
Definition: B2GSingleLeptonHLTValidation.h:85
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
B2GSingleLeptonHLTValidation::etaMuons_
double etaMuons_
Definition: B2GSingleLeptonHLTValidation.h:91
B2GSingleLeptonHLTValidation::sJets_
std::string sJets_
Definition: B2GSingleLeptonHLTValidation.h:96
B2GSingleLeptonHLTValidation::isAll_
bool isAll_
Definition: B2GSingleLeptonHLTValidation.h:108
B2GSingleLeptonHLTValidation::isoElectrons_
double isoElectrons_
Definition: B2GSingleLeptonHLTValidation.h:84
B2GSingleLeptonHLTValidation::minJets_
unsigned int minJets_
Definition: B2GSingleLeptonHLTValidation.h:102
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
B2GSingleLeptonHLTValidation::hNumLeptonEta
MonitorElement * hNumLeptonEta
Definition: B2GSingleLeptonHLTValidation.h:70
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
B2GSingleLeptonHLTValidation::sTrigger_
std::string sTrigger_
Definition: B2GSingleLeptonHLTValidation.h:104
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
B2GSingleLeptonHLTValidation::hDenTriggerMon
MonitorElement * hDenTriggerMon
Definition: B2GSingleLeptonHLTValidation.h:77
B2GSingleLeptonHLTValidation::tokJets_
edm::EDGetTokenT< edm::View< reco::Jet > > tokJets_
Definition: B2GSingleLeptonHLTValidation.h:97
iEvent
int iEvent
Definition: GenABIO.cc:224
B2GSingleLeptonHLTValidation::hNumJetEta
MonitorElement * hNumJetEta
Definition: B2GSingleLeptonHLTValidation.h:74
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
edm::ParameterSetDescription::setUnknown
void setUnknown()
Definition: ParameterSetDescription.cc:39
B2GSingleLeptonHLTValidation::etaElectrons_
double etaElectrons_
Definition: B2GSingleLeptonHLTValidation.h:83
B2GSingleLeptonHLTValidation::ptElectrons_
double ptElectrons_
Definition: B2GSingleLeptonHLTValidation.h:82
B2GSingleLeptonHLTValidation::tokMuons_
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
Definition: B2GSingleLeptonHLTValidation.h:89
B2GSingleLeptonHLTValidation::ptMuons_
double ptMuons_
Definition: B2GSingleLeptonHLTValidation.h:90
B2GSingleLeptonHLTValidation::mu_
edm::Ptr< reco::Muon > mu_
Definition: B2GSingleLeptonHLTValidation.h:87
B2GSingleLeptonHLTValidation::tokTrigger_
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
Definition: B2GSingleLeptonHLTValidation.h:105
B2GSingleLeptonHLTValidation::hDenLeptonPt
MonitorElement * hDenLeptonPt
Definition: B2GSingleLeptonHLTValidation.h:69
B2GSingleLeptonHLTValidation::ptJets1_
double ptJets1_
Definition: B2GSingleLeptonHLTValidation.h:100
pwdgSkimBPark_cfi.electrons
electrons
Definition: pwdgSkimBPark_cfi.py:6
edm::TriggerNames
Definition: TriggerNames.h:55
B2GSingleLeptonHLTValidation::sMuons_
std::string sMuons_
Definition: B2GSingleLeptonHLTValidation.h:88
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
B2GSingleLeptonHLTValidation::elec_
edm::Ptr< reco::GsfElectron > elec_
Definition: B2GSingleLeptonHLTValidation.h:79
edm::Ptr::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ptr.h:146
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
B2GSingleLeptonHLTValidation::sElectrons_
std::string sElectrons_
Definition: B2GSingleLeptonHLTValidation.h:80
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
B2GSingleLeptonHLTValidation::minMuons_
unsigned int minMuons_
Definition: B2GSingleLeptonHLTValidation.h:93
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
B2GSingleLeptonHLTValidation::etaJets_
double etaJets_
Definition: B2GSingleLeptonHLTValidation.h:101
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37