CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
LepHTMonitor Class Reference

#include <LepHTMonitor.h>

Inheritance diagram for LepHTMonitor:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 LepHTMonitor (const edm::ParameterSet &ps)
 
 ~LepHTMonitor () override
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &eSetup) override
 
void beginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override
 
void bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override
 
void dqmBeginRun (const edm::Run &run, const edm::EventSetup &e) override
 
void endLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override
 
void endRun (const edm::Run &run, const edm::EventSetup &eSetup) override
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

std::unique_ptr< GenericTriggerEventFlagden_HT_genTriggerEventFlag_
 
std::unique_ptr< GenericTriggerEventFlagden_lep_genTriggerEventFlag_
 
float etabins_max_
 
float etabins_min_
 
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_
 
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_
 
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

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
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 edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 54 of file LepHTMonitor.h.

Constructor & Destructor Documentation

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

Definition at line 112 of file LepHTMonitor.cc.

112  :
113  theElectronTag_(ps.getParameter<edm::InputTag>("electronCollection")),
115  theElectronVIDTag_(ps.getParameter<edm::InputTag>("electronVID")),
117  theMuonTag_(ps.getParameter<edm::InputTag>("muonCollection")),
118  theMuonCollection_(consumes<reco::MuonCollection>(theMuonTag_)),
119  thePfMETTag_(ps.getParameter<edm::InputTag>("pfMetCollection")),
120  thePfMETCollection_(consumes<reco::PFMETCollection>(thePfMETTag_)),
121  thePfJetTag_(ps.getParameter<edm::InputTag>("pfJetCollection")),
122  thePfJetCollection_(consumes<reco::PFJetCollection>(thePfJetTag_)),
123  theJetTagTag_(ps.getParameter<edm::InputTag>("jetTagCollection")),
124  theJetTagCollection_(consumes<reco::JetTagCollection>(theJetTagTag_)),
125  theVertexCollectionTag_(ps.getParameter<edm::InputTag>("vertexCollection")),
126  theVertexCollection_(consumes<reco::VertexCollection>(theVertexCollectionTag_)),
127  theConversionCollectionTag_(ps.getParameter<edm::InputTag>("conversionCollection")),
128  theConversionCollection_(consumes<reco::ConversionCollection>(theConversionCollectionTag_)),
129  theBeamSpotTag_(ps.getParameter<edm::InputTag>("beamSpot")),
130  theBeamSpot_(consumes<reco::BeamSpot>(theBeamSpotTag_)),
131 
133  den_lep_genTriggerEventFlag_(new GenericTriggerEventFlag(ps.getParameter<edm::ParameterSet>("den_lep_GenericTriggerEventPSet"),consumesCollector(), *this)),
134  den_HT_genTriggerEventFlag_(new GenericTriggerEventFlag(ps.getParameter<edm::ParameterSet>("den_HT_GenericTriggerEventPSet"),consumesCollector(), *this)),
135 
136  folderName_(ps.getParameter<std::string>("folderName")),
137 
138  muonIDlevel_(ps.getUntrackedParameter<int>("muonIDlevel")),
139 
140  jetPtCut_(ps.getUntrackedParameter<double>("jetPtCut")),
141  jetEtaCut_(ps.getUntrackedParameter<double>("jetEtaCut")),
142  metCut_(ps.getUntrackedParameter<double>("metCut")),
143  htCut_(ps.getUntrackedParameter<double>("htCut")),
144 
145  nmusCut_(ps.getUntrackedParameter<double>("nmus")),
146  nelsCut_(ps.getUntrackedParameter<double>("nels")),
147  lep_pt_plateau_(ps.getUntrackedParameter<double>("leptonPtPlateau")),
148  lep_counting_threshold_(ps.getUntrackedParameter<double>("leptonCountingThreshold")),
149  lep_iso_cut_(ps.getUntrackedParameter<double>("lepIsoCut")),
150  lep_eta_cut_(ps.getUntrackedParameter<double>("lepEtaCut")),
151  lep_d0_cut_b_(ps.getUntrackedParameter<double>("lep_d0_cut_b")),
152  lep_dz_cut_b_(ps.getUntrackedParameter<double>("lep_dz_cut_b")),
153  lep_d0_cut_e_(ps.getUntrackedParameter<double>("lep_d0_cut_e")),
154  lep_dz_cut_e_(ps.getUntrackedParameter<double>("lep_dz_cut_e")),
155  ptbins_(ps.getParameter< std::vector<double> >("ptbins")),
156  htbins_(ps.getParameter< std::vector<double> >("htbins")),
157 
158  nbins_eta_(ps.getUntrackedParameter<int>("nbins_eta")),
159  nbins_phi_(ps.getUntrackedParameter<int>("nbins_phi")),
160  nbins_npv_(ps.getUntrackedParameter<int>("nbins_npv")),
161  etabins_min_(ps.getUntrackedParameter<double>("etabins_min")),
162  etabins_max_(ps.getUntrackedParameter<double>("etabins_max")),
163  phibins_min_(ps.getUntrackedParameter<double>("phibins_min")),
164  phibins_max_(ps.getUntrackedParameter<double>("phibins_max")),
165  npvbins_min_(ps.getUntrackedParameter<double>("npvbins_min")),
166  npvbins_max_(ps.getUntrackedParameter<double>("npvbins_max")),
167 
168  h_pfHTTurnOn_num_(nullptr),
169  h_pfHTTurnOn_den_(nullptr),
170  h_lepPtTurnOn_num_(nullptr),
171  h_lepPtTurnOn_den_(nullptr),
172  h_lepEtaTurnOn_num_(nullptr),
173  h_lepEtaTurnOn_den_(nullptr),
174  h_lepPhiTurnOn_num_(nullptr),
175  h_lepPhiTurnOn_den_(nullptr),
176  h_NPVTurnOn_num_(nullptr),
177  h_NPVTurnOn_den_(nullptr)
178  {
179  edm::LogInfo("LepHTMonitor")
180  << "Constructor LepHTMonitor::LepHTMonitor\n";
181  }
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:73
double lep_d0_cut_e_
Definition: LepHTMonitor.h:109
T getParameter(std::string const &) const
float etabins_max_
Definition: LepHTMonitor.h:119
T getUntrackedParameter(std::string const &, T const &) const
float npvbins_min_
Definition: LepHTMonitor.h:122
double lep_iso_cut_
Definition: LepHTMonitor.h:105
double jetEtaCut_
Definition: LepHTMonitor.h:98
std::string folderName_
Definition: LepHTMonitor.h:93
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:127
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:76
double jetPtCut_
Definition: LepHTMonitor.h:97
double lep_dz_cut_e_
Definition: LepHTMonitor.h:110
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.h:80
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:132
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:128
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
float etabins_min_
Definition: LepHTMonitor.h:118
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:133
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:137
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< double > ptbins_
Definition: LepHTMonitor.h:113
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:77
double nmusCut_
Definition: LepHTMonitor.h:101
double lep_d0_cut_b_
Definition: LepHTMonitor.h:107
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:90
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:71
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:78
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:70
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:88
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:130
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:129
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:86
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.h:81
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:74
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:79
double lep_counting_threshold_
Definition: LepHTMonitor.h:104
float phibins_max_
Definition: LepHTMonitor.h:121
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:138
float npvbins_max_
Definition: LepHTMonitor.h:123
float phibins_min_
Definition: LepHTMonitor.h:120
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:89
double metCut_
Definition: LepHTMonitor.h:99
std::vector< double > htbins_
Definition: LepHTMonitor.h:114
double lep_eta_cut_
Definition: LepHTMonitor.h:106
double lep_pt_plateau_
Definition: LepHTMonitor.h:103
double nelsCut_
Definition: LepHTMonitor.h:102
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:84
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:91
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:85
double lep_dz_cut_b_
Definition: LepHTMonitor.h:108
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:72
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:134
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:83
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:75
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:87
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:131
LepHTMonitor::~LepHTMonitor ( )
override

Definition at line 183 of file LepHTMonitor.cc.

183  {
184  edm::LogInfo("LepHTMonitor")
185  << "Destructor LepHTMonitor::~LepHTMonitor\n";
186 }

Member Function Documentation

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

Definition at line 253 of file LepHTMonitor.cc.

References funct::abs(), align::BeamSpot, den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, metsig::electron, MonitorElement::Fill(), edm::Event::getByToken(), 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_, htbins_, htCut_, diffTreeTool::index, edm::EventBase::isRealData(), 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_, nelsCut_, nmusCut_, num_genTriggerEventFlag_, pfMETBenchmark_cfi::pfMET, reco::BeamSpot::position(), ptbins_, theBeamSpot_, theBeamSpotTag_, theConversionCollection_, theConversionCollectionTag_, theElectronCollection_, theElectronTag_, theElectronVIDMap_, theElectronVIDTag_, theMuonCollection_, theMuonTag_, thePfJetCollection_, thePfJetTag_, thePfMETCollection_, thePfMETTag_, theVertexCollection_, and theVertexCollectionTag_.

253  {
254  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::analyze\n";
255 
256  //Find whether main and auxilliary triggers fired
257  bool hasFired = false;
258  bool hasFiredAuxiliary = false;
259  bool hasFiredLeptonAuxiliary = false;
260  if (den_lep_genTriggerEventFlag_->on() && den_lep_genTriggerEventFlag_->accept( e, eSetup) ) hasFiredLeptonAuxiliary=true;
261  if (den_HT_genTriggerEventFlag_->on() && den_HT_genTriggerEventFlag_->accept( e, eSetup) ) hasFiredAuxiliary=true;
262  if (num_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->accept( e, eSetup) ) hasFired=true;
263 
264  if (!(hasFiredAuxiliary || hasFiredLeptonAuxiliary)) return;
265  int npv=0;
266  //Vertex
268  if (not theVertexCollectionTag_.label().empty()) {
269  e.getByToken(theVertexCollection_, VertexCollection);
270  if ( !VertexCollection.isValid() ) {
271  edm::LogWarning("LepHTMonitor")
272  << "Invalid VertexCollection: " << theVertexCollectionTag_.label() << '\n';
273  }
274  else npv = VertexCollection->size();
275  }
276 
277 
278  //Get electron ID map
279  edm::Handle<edm::ValueMap<bool> > ele_id_decisions;
280  if (not theElectronVIDTag_.label().empty()) {
281  e.getByToken(theElectronVIDMap_ ,ele_id_decisions);
282  if (!ele_id_decisions.isValid()) {
283  edm::LogWarning("LepHTMonitor")
284  << "Invalid Electron VID map: " << theElectronVIDTag_.label() << '\n';
285  }
286  }
287 
288  //Conversions
290  if (not theConversionCollectionTag_.label().empty()) {
291  e.getByToken(theConversionCollection_, ConversionCollection);
292  if ( !ConversionCollection.isValid() ) {
293  edm::LogWarning("LepHTMonitor")
294  << "Invalid ConversionCollection: " << theConversionCollectionTag_.label() << '\n';
295  }
296  }
297 
298  //Beam Spot
300  if (not theBeamSpotTag_.label().empty()) {
301  e.getByToken(theBeamSpot_, BeamSpot);
302  if ( !BeamSpot.isValid() ) {
303  edm::LogWarning("LepHTMonitor")
304  << "Invalid BeamSpot: " << theBeamSpotTag_.label() << '\n';
305  }
306  }
307 
308  //MET
309  edm::Handle<reco::PFMETCollection> pfMETCollection;
310  if (not thePfMETTag_.label().empty()) {
311  e.getByToken(thePfMETCollection_, pfMETCollection);
312  if ( !pfMETCollection.isValid() ) {
313  edm::LogWarning("LepHTMonitor")
314  << "Invalid PFMETCollection: " << thePfMETTag_.label() << '\n';
315  }
316  }
317 
318  //Jets
319  edm::Handle<reco::PFJetCollection> pfJetCollection;
320  if (not thePfJetTag_.label().empty()) {
321  e.getByToken (thePfJetCollection_,pfJetCollection);
322  if ( !pfJetCollection.isValid() ) {
323  edm::LogWarning("LepHTMonitor")
324  << "Invalid PFJetCollection: " << thePfJetTag_.label() << '\n';
325  }
326  }
327 
328  //Electron
330  if (not theElectronTag_.label().empty()) {
331  e.getByToken (theElectronCollection_, ElectronCollection);
332  if ( !ElectronCollection.isValid() ) {
333  edm::LogWarning("LepHTMonitor")
334  << "Invalid GsfElectronCollection: " << theElectronTag_.label() << '\n';
335  }
336  }
337 
338  //Muon
340  if (not theMuonTag_.label().empty()) {
341  e.getByToken (theMuonCollection_, MuonCollection);
342  if ( !MuonCollection.isValid() ) {
343  edm::LogWarning("LepHTMonitor")
344  << "Invalid MuonCollection: " << theMuonTag_.label() << '\n';
345  }
346  }
347 
348  //Get offline HT
349  double pfHT = -1.0;
350  if (pfJetCollection.isValid()) {
351  pfHT=0.0;
352  for(auto const &pfjet: *pfJetCollection) {
353  if (pfjet.pt() < jetPtCut_) continue;
354  if (std::abs(pfjet.eta()) > jetEtaCut_) continue;
355  pfHT += pfjet.pt();
356  }
357  }
358 
359  //Get offline MET
360  double pfMET = -1.0;
361  if (pfMETCollection.isValid() && pfMETCollection->size()) {
362  pfMET = pfMETCollection->front().et();
363  }
364 
365 
366  //Find offline leptons and keep track of pt,eta of leading and trailing leptons
367  double lep_max_pt = -1.0;
368  double lep_eta=0;
369  double lep_phi=0;
370  double trailing_ele_eta=0;
371  double trailing_ele_phi=0;
372  double trailing_mu_eta=0;
373  double trailing_mu_phi=0;
374  double min_ele_pt= -1.0;
375  double min_mu_pt=-1.0;
376  int nels=0;
377  int nmus=0;
378  if (VertexCollection.isValid() && VertexCollection->size()) {//for quality checks
379  //Try to find a reco electron
380  if (ElectronCollection.isValid()
381  && ConversionCollection.isValid()
382  && BeamSpot.isValid()
383  && ele_id_decisions.isValid()) {
384  size_t index=0;
385  for(auto const &electron: *ElectronCollection) {
386  const auto el = ElectronCollection->ptrAt(index);
387  bool pass_id = (*ele_id_decisions)[el];
388  if (isGood(electron, VertexCollection->front().position(),
389  BeamSpot->position(), ConversionCollection, pass_id,
392  {
393  if (electron.pt()>lep_max_pt) {lep_max_pt=electron.pt(); lep_eta=electron.eta();lep_phi=electron.phi();}
394  if (electron.pt()<min_ele_pt || min_ele_pt<0) { min_ele_pt=electron.pt(); trailing_ele_eta=electron.eta(); trailing_ele_phi=electron.phi();}
395  nels++;
396  }
397  index++;
398  }
399  }
400 
401  //Try to find a reco muon
402  if (MuonCollection.isValid()) {
403  for(auto const &muon: *MuonCollection) {
405  if (muon.pt()>lep_max_pt) {lep_max_pt=muon.pt(); lep_eta=muon.eta();lep_phi=muon.phi();}
406  if (muon.pt()<min_mu_pt || min_mu_pt<0) {min_mu_pt=muon.pt(); trailing_mu_eta=muon.eta(); trailing_mu_phi=muon.phi();}
407  nmus++;
408  }
409  }
410  }
411  }
412 
413 
414  //Fill single lepton triggers with leading lepton pT
415  float lep_pt = lep_max_pt;
416 
417  //For dilepton triggers, use trailing rather than leading lepton
418  if (nmusCut_>=2) {lep_pt = min_mu_pt; lep_eta = trailing_mu_eta; lep_phi = trailing_mu_phi;}
419  if (nelsCut_>=2) {lep_pt = min_ele_pt; lep_eta = trailing_ele_eta; lep_phi = trailing_ele_phi;}
420  if (nelsCut_>=1 && nmusCut_>=1) {
421  if (min_ele_pt<min_mu_pt) {
422  lep_pt = min_ele_pt;
423  lep_eta = trailing_ele_eta;
424  lep_phi = trailing_ele_phi;
425  } else {
426  lep_pt = min_mu_pt;
427  lep_eta = trailing_mu_eta;
428  lep_phi = trailing_mu_phi;
429  }
430  }
431 
432  const bool nleps_cut = nels>=nelsCut_ && nmus>=nmusCut_;
433  bool lep_plateau = lep_pt>lep_pt_plateau_ || lep_pt_plateau_<0.0;
434 
435  //Fill lepton pT and eta histograms
436  if (hasFiredLeptonAuxiliary || !e.isRealData()) {
437 
438  if (nleps_cut && (pfMET>metCut_ || metCut_<0.0) && (pfHT>htCut_ || htCut_<0.0)) {
439  if (h_lepPtTurnOn_den_) {
440  if (lep_pt > ptbins_.back()) lep_pt = ptbins_.back()-1; //Overflow protection
441  h_lepPtTurnOn_den_->Fill(lep_pt);
442  }
443  if (h_lepPtTurnOn_num_ && hasFired) h_lepPtTurnOn_num_->Fill(lep_pt);
444 
445  if (lep_plateau) {
446  //Fill Eta and Phi histograms for leptons above pT threshold
448  if (h_lepEtaTurnOn_num_ && hasFired) h_lepEtaTurnOn_num_->Fill(lep_eta);
450  if (h_lepPhiTurnOn_num_ && hasFired) h_lepPhiTurnOn_num_->Fill(lep_phi);
451  if (h_lepEtaPhiTurnOn_den_) h_lepEtaPhiTurnOn_den_->Fill(lep_eta,lep_phi);
452  if (h_lepEtaPhiTurnOn_num_ && hasFired) h_lepEtaPhiTurnOn_num_->Fill(lep_eta,lep_phi);
453 
454  //Fill NPV histograms
456  if (h_NPVTurnOn_num_ && hasFired) h_NPVTurnOn_num_->Fill(npv);
457  }
458  }
459  }
460 
461  //Fill HT turn-on histograms
462  if (hasFiredAuxiliary || !e.isRealData()) {
463  if (nleps_cut && lep_plateau ) {
464  if (h_pfHTTurnOn_den_) {
465  if (pfHT > htbins_.back()) pfHT = htbins_.back()-1; //Overflow protection
466  h_pfHTTurnOn_den_->Fill(pfHT);
467  }
468  if (h_pfHTTurnOn_num_ && hasFired) h_pfHTTurnOn_num_->Fill(pfHT);
469  }
470  }
471 }
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:73
double lep_d0_cut_e_
Definition: LepHTMonitor.h:109
double lep_iso_cut_
Definition: LepHTMonitor.h:105
double jetEtaCut_
Definition: LepHTMonitor.h:98
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:127
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:76
double jetPtCut_
Definition: LepHTMonitor.h:97
double lep_dz_cut_e_
Definition: LepHTMonitor.h:110
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:132
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:128
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:133
bool isRealData() const
Definition: EventBase.h:64
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:137
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
void Fill(long long x)
std::vector< double > ptbins_
Definition: LepHTMonitor.h:113
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:77
double nmusCut_
Definition: LepHTMonitor.h:101
double lep_d0_cut_b_
Definition: LepHTMonitor.h:107
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:90
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:71
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:78
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:70
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:88
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:130
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:129
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:86
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:74
bool isValid() const
Definition: HandleBase.h:74
std::vector< Electron > ElectronCollection
collectin of Electron objects
Definition: ElectronFwd.h:9
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:79
double lep_counting_threshold_
Definition: LepHTMonitor.h:104
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:138
std::string const & label() const
Definition: InputTag.h:36
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:89
double metCut_
Definition: LepHTMonitor.h:99
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:136
std::vector< double > htbins_
Definition: LepHTMonitor.h:114
double lep_eta_cut_
Definition: LepHTMonitor.h:106
const Point & position() const
position
Definition: BeamSpot.h:62
double lep_pt_plateau_
Definition: LepHTMonitor.h:103
double nelsCut_
Definition: LepHTMonitor.h:102
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:84
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:91
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:85
double lep_dz_cut_b_
Definition: LepHTMonitor.h:108
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:72
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:135
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:134
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:83
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:75
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:87
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:131
void LepHTMonitor::beginLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup eSetup 
)
overrideprotected

Definition at line 248 of file LepHTMonitor.cc.

249  {
250  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::beginLuminosityBlock\n";
251 }
void LepHTMonitor::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprotected

Definition at line 192 of file LepHTMonitor.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::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_, htbins_, edm::InputTag::label(), nbins_eta_, nbins_npv_, nbins_phi_, npvbins_max_, npvbins_min_, num_genTriggerEventFlag_, phibins_max_, phibins_min_, ptbins_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theElectronTag_, and theMuonTag_.

193  {
194  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::bookHistograms\n";
195  //book at beginRun
196  ibooker.cd();
197  ibooker.setCurrentFolder("HLT/LepHT/" + folderName_);
198 
199 
200  bool is_mu = false;
201  bool is_ele = false;
202  if (theElectronTag_.label().empty() and not theMuonTag_.label().empty()) {
203  is_mu=true;
204  } else if (not theElectronTag_.label().empty() and theMuonTag_.label().empty()) {
205  is_ele=true;
206  }
207  //Cosmetic axis names
208  std::string lepton="lepton", Lepton="Lepton";
209  if (is_mu && !is_ele) {
210  lepton="muon";
211  Lepton="Muon";
212  }else if (is_ele && !is_mu) {
213  lepton="electron";
214  Lepton="Electron";
215  }
216  //Initialize trigger flags
217  if ( num_genTriggerEventFlag_ && num_genTriggerEventFlag_->on() ) num_genTriggerEventFlag_->initRun( iRun, iSetup );
220 
221 
222  //Convert to vfloat for picky TH1F constructor
223  vector<float> f_ptbins;
224  for(double ptbin : ptbins_) f_ptbins.push_back(static_cast<float>(ptbin));
225  vector<float> f_htbins;
226  for(double htbin : htbins_) f_htbins.push_back(static_cast<float>(htbin));
227 
228  //num and den hists to be divided in harvesting step to make turn on curves
229  h_pfHTTurnOn_num_ = ibooker.book1D("pfHTTurnOn_num", "Numerator;Offline H_{T} [GeV];", f_htbins.size()-1, f_htbins.data());
230  h_pfHTTurnOn_den_ = ibooker.book1D("pfHTTurnOn_den","Denominator;Offline H_{T} [GeV];", f_htbins.size()-1, f_htbins.data());
231 
232  h_lepPtTurnOn_num_ = ibooker.book1D("lepPtTurnOn_num", ("Numerator;Offline "+lepton+" p_{T} [GeV];").c_str(), f_ptbins.size()-1, f_ptbins.data());
233  h_lepPtTurnOn_den_ = ibooker.book1D("lepPtTurnOn_den", ("Denominator;Offline "+lepton+" p_{T} [GeV];").c_str(), f_ptbins.size()-1, f_ptbins.data());
234  h_lepEtaTurnOn_num_ = ibooker.book1D("lepEtaTurnOn_num", "Numerator;Offline lepton #eta;", nbins_eta_,etabins_min_,etabins_max_);
235  h_lepEtaTurnOn_den_ = ibooker.book1D("lepEtaTurnOn_den", "Denominator;Offline lepton #eta;", nbins_eta_,etabins_min_,etabins_max_);
236  h_lepPhiTurnOn_num_ = ibooker.book1D("lepPhiTurnOn_num", "Numerator;Offline lepton #phi;", nbins_phi_,phibins_min_,phibins_max_);
237  h_lepPhiTurnOn_den_ = ibooker.book1D("lepPhiTurnOn_den", "Denominator;Offline lepton #phi;", nbins_phi_,phibins_min_,phibins_max_);
238 
239  h_lepEtaPhiTurnOn_num_ = ibooker.book2D("lepEtaPhiTurnOn_num", "Numerator;Offline lepton #eta;Offline lepton #phi;", nbins_eta_/2,etabins_min_,etabins_max_,nbins_phi_/2,phibins_min_,phibins_max_);
240  h_lepEtaPhiTurnOn_den_ = ibooker.book2D("lepEtaPhiTurnOn_den", "Denominator;Offline lepton #eta;Offline lepton #phi;", nbins_eta_/2,etabins_min_,etabins_max_,nbins_phi_/2,phibins_min_,phibins_max_);
241 
242  h_NPVTurnOn_num_ = ibooker.book1D("NPVTurnOn_num", "Numerator;N_{PV};", nbins_npv_,npvbins_min_,npvbins_max_);
243  h_NPVTurnOn_den_ = ibooker.book1D("NPVTurnOn_den", "Denominator;N_{PV};", nbins_npv_,npvbins_min_,npvbins_max_);
244 
245  ibooker.cd();
246 }
float etabins_max_
Definition: LepHTMonitor.h:119
float npvbins_min_
Definition: LepHTMonitor.h:122
std::string folderName_
Definition: LepHTMonitor.h:93
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:127
void cd(void)
Definition: DQMStore.cc:269
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:132
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:128
float etabins_min_
Definition: LepHTMonitor.h:118
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:133
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:137
std::vector< double > ptbins_
Definition: LepHTMonitor.h:113
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:90
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:70
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:130
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:129
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:74
float phibins_max_
Definition: LepHTMonitor.h:121
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:138
float npvbins_max_
Definition: LepHTMonitor.h:123
float phibins_min_
Definition: LepHTMonitor.h:120
std::string const & label() const
Definition: InputTag.h:36
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:89
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:136
std::vector< double > htbins_
Definition: LepHTMonitor.h:114
Definition: Lepton.py:1
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:91
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:135
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:134
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:131
void LepHTMonitor::dqmBeginRun ( const edm::Run run,
const edm::EventSetup e 
)
overrideprotected

Definition at line 188 of file LepHTMonitor.cc.

188  {
189  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::beginRun\n";
190 }
void LepHTMonitor::endLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup eSetup 
)
overrideprotected

Definition at line 473 of file LepHTMonitor.cc.

474  {
475  edm::LogInfo("LepHTMonitor")
476  << "LepHTMonitor::endLuminosityBlock\n";
477 }
void LepHTMonitor::endRun ( const edm::Run run,
const edm::EventSetup eSetup 
)
overrideprotected

Definition at line 479 of file LepHTMonitor.cc.

References DEFINE_FWK_MODULE.

479  {
480  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::endRun\n";
481 }

Member Data Documentation

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

Definition at line 91 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 90 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

float LepHTMonitor::etabins_max_
private

Definition at line 119 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::etabins_min_
private

Definition at line 118 of file LepHTMonitor.h.

Referenced by bookHistograms().

std::string LepHTMonitor::folderName_
private

Definition at line 93 of file LepHTMonitor.h.

Referenced by bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_den_
private

Definition at line 136 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_num_
private

Definition at line 135 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_den_
private

Definition at line 132 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_num_
private

Definition at line 131 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_den_
private

Definition at line 134 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_num_
private

Definition at line 133 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPtTurnOn_den_
private

Definition at line 130 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPtTurnOn_num_
private

Definition at line 129 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_NPVTurnOn_den_
private

Definition at line 138 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_NPVTurnOn_num_
private

Definition at line 137 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_pfHTTurnOn_den_
private

Definition at line 128 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_pfHTTurnOn_num_
private

Definition at line 127 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 114 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

double LepHTMonitor::htCut_
private

Definition at line 100 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::jetEtaCut_
private

Definition at line 98 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::jetPtCut_
private

Definition at line 97 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_counting_threshold_
private

Definition at line 104 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_d0_cut_b_
private

Definition at line 107 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_d0_cut_e_
private

Definition at line 109 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_dz_cut_b_
private

Definition at line 108 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_dz_cut_e_
private

Definition at line 110 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_eta_cut_
private

Definition at line 106 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_iso_cut_
private

Definition at line 105 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_pt_plateau_
private

Definition at line 103 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::metCut_
private

Definition at line 99 of file LepHTMonitor.h.

Referenced by analyze().

int LepHTMonitor::muonIDlevel_
private

Definition at line 95 of file LepHTMonitor.h.

Referenced by analyze().

int LepHTMonitor::nbins_eta_
private

Definition at line 115 of file LepHTMonitor.h.

Referenced by bookHistograms().

int LepHTMonitor::nbins_npv_
private

Definition at line 117 of file LepHTMonitor.h.

Referenced by bookHistograms().

int LepHTMonitor::nbins_phi_
private

Definition at line 116 of file LepHTMonitor.h.

Referenced by bookHistograms().

double LepHTMonitor::nelsCut_
private

Definition at line 102 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::nmusCut_
private

Definition at line 101 of file LepHTMonitor.h.

Referenced by analyze().

float LepHTMonitor::npvbins_max_
private

Definition at line 123 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::npvbins_min_
private

Definition at line 122 of file LepHTMonitor.h.

Referenced by bookHistograms().

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

Definition at line 89 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

float LepHTMonitor::phibins_max_
private

Definition at line 121 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::phibins_min_
private

Definition at line 120 of file LepHTMonitor.h.

Referenced by bookHistograms().

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

Definition at line 113 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 88 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theBeamSpotTag_
private

Definition at line 87 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 86 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theConversionCollectionTag_
private

Definition at line 85 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 71 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theElectronTag_
private

Definition at line 70 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 73 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theElectronVIDTag_
private

Definition at line 72 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 81 of file LepHTMonitor.h.

edm::InputTag LepHTMonitor::theJetTagTag_
private

Definition at line 80 of file LepHTMonitor.h.

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

Definition at line 75 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theMuonTag_
private

Definition at line 74 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 79 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::thePfJetTag_
private

Definition at line 78 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 77 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::thePfMETTag_
private

Definition at line 76 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 84 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theVertexCollectionTag_
private

Definition at line 83 of file LepHTMonitor.h.

Referenced by analyze().