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::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 LepHTMonitor (const edm::ParameterSet &ps)
 
 ~LepHTMonitor () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

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
 
void dqmBeginRun (const edm::Run &run, const edm::EventSetup &e) override
 
void dqmEndRun (const edm::Run &run, const edm::EventSetup &eSetup) override
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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 DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 53 of file LepHTMonitor.h.

Constructor & Destructor Documentation

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

Definition at line 132 of file LepHTMonitor.cc.

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

Definition at line 204 of file LepHTMonitor.cc.

204 { edm::LogInfo("LepHTMonitor") << "Destructor LepHTMonitor::~LepHTMonitor\n"; }

Member Function Documentation

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

Definition at line 294 of file LepHTMonitor.cc.

References funct::abs(), align::BeamSpot, den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, metsig::electron, dqm::impl::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_, 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_, LepHTMonitor_cff::nels, nelsCut_, LepHTMonitor_cff::nmus, nmusCut_, num_genTriggerEventFlag_, ExoticaDQM_cfi::pfJetCollection, pfMETBenchmark_cfi::pfMET, B2GDQM_cfi::pfMETCollection, reco::BeamSpot::position(), ptbins_, theBeamSpot_, theBeamSpotTag_, theConversionCollection_, theConversionCollectionTag_, theElectronCollection_, theElectronTag_, theElectronVIDMap_, theElectronVIDTag_, theMuonCollection_, theMuonTag_, thePfJetCollection_, thePfJetTag_, thePfMETCollection_, thePfMETTag_, theVertexCollection_, and theVertexCollectionTag_.

294  {
295  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::analyze\n";
296 
297  //Find whether main and auxilliary triggers fired
298  bool hasFired = false;
299  bool hasFiredAuxiliary = false;
300  bool hasFiredLeptonAuxiliary = false;
301  if (den_lep_genTriggerEventFlag_->on() && den_lep_genTriggerEventFlag_->accept(e, eSetup))
302  hasFiredLeptonAuxiliary = true;
303  if (den_HT_genTriggerEventFlag_->on() && den_HT_genTriggerEventFlag_->accept(e, eSetup))
304  hasFiredAuxiliary = true;
305  if (num_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->accept(e, eSetup))
306  hasFired = true;
307 
308  if (!(hasFiredAuxiliary || hasFiredLeptonAuxiliary))
309  return;
310  int npv = 0;
311  //Vertex
313  if (not theVertexCollectionTag_.label().empty()) {
314  e.getByToken(theVertexCollection_, VertexCollection);
315  if (!VertexCollection.isValid()) {
316  edm::LogWarning("LepHTMonitor") << "Invalid VertexCollection: " << theVertexCollectionTag_.label() << '\n';
317  } else
318  npv = VertexCollection->size();
319  }
320 
321  //Get electron ID map
322  edm::Handle<edm::ValueMap<bool> > ele_id_decisions;
323  if (not theElectronVIDTag_.label().empty()) {
324  e.getByToken(theElectronVIDMap_, ele_id_decisions);
325  if (!ele_id_decisions.isValid()) {
326  edm::LogWarning("LepHTMonitor") << "Invalid Electron VID map: " << theElectronVIDTag_.label() << '\n';
327  }
328  }
329 
330  //Conversions
332  if (not theConversionCollectionTag_.label().empty()) {
333  e.getByToken(theConversionCollection_, ConversionCollection);
334  if (!ConversionCollection.isValid()) {
335  edm::LogWarning("LepHTMonitor") << "Invalid ConversionCollection: " << theConversionCollectionTag_.label()
336  << '\n';
337  }
338  }
339 
340  //Beam Spot
342  if (not theBeamSpotTag_.label().empty()) {
343  e.getByToken(theBeamSpot_, BeamSpot);
344  if (!BeamSpot.isValid()) {
345  edm::LogWarning("LepHTMonitor") << "Invalid BeamSpot: " << theBeamSpotTag_.label() << '\n';
346  }
347  }
348 
349  //MET
351  if (not thePfMETTag_.label().empty()) {
352  e.getByToken(thePfMETCollection_, pfMETCollection);
353  if (!pfMETCollection.isValid()) {
354  edm::LogWarning("LepHTMonitor") << "Invalid PFMETCollection: " << thePfMETTag_.label() << '\n';
355  }
356  }
357 
358  //Jets
360  if (not thePfJetTag_.label().empty()) {
361  e.getByToken(thePfJetCollection_, pfJetCollection);
362  if (!pfJetCollection.isValid()) {
363  edm::LogWarning("LepHTMonitor") << "Invalid PFJetCollection: " << thePfJetTag_.label() << '\n';
364  }
365  }
366 
367  //Electron
369  if (not theElectronTag_.label().empty()) {
370  e.getByToken(theElectronCollection_, ElectronCollection);
371  if (!ElectronCollection.isValid()) {
372  edm::LogWarning("LepHTMonitor") << "Invalid GsfElectronCollection: " << theElectronTag_.label() << '\n';
373  }
374  }
375 
376  //Muon
378  if (not theMuonTag_.label().empty()) {
379  e.getByToken(theMuonCollection_, MuonCollection);
380  if (!MuonCollection.isValid()) {
381  edm::LogWarning("LepHTMonitor") << "Invalid MuonCollection: " << theMuonTag_.label() << '\n';
382  }
383  }
384 
385  //Get offline HT
386  double pfHT = -1.0;
387  if (pfJetCollection.isValid()) {
388  pfHT = 0.0;
389  for (auto const &pfjet : *pfJetCollection) {
390  if (pfjet.pt() < jetPtCut_)
391  continue;
392  if (std::abs(pfjet.eta()) > jetEtaCut_)
393  continue;
394  pfHT += pfjet.pt();
395  }
396  }
397 
398  //Get offline MET
399  double pfMET = -1.0;
400  if (pfMETCollection.isValid() && !pfMETCollection->empty()) {
401  pfMET = pfMETCollection->front().et();
402  }
403 
404  //Find offline leptons and keep track of pt,eta of leading and trailing leptons
405  double lep_max_pt = -1.0;
406  double lep_eta = 0;
407  double lep_phi = 0;
408  double trailing_ele_eta = 0;
409  double trailing_ele_phi = 0;
410  double trailing_mu_eta = 0;
411  double trailing_mu_phi = 0;
412  double min_ele_pt = -1.0;
413  double min_mu_pt = -1.0;
414  int nels = 0;
415  int nmus = 0;
416  if (VertexCollection.isValid() && !VertexCollection->empty()) { //for quality checks
417  //Try to find a reco electron
418  if (ElectronCollection.isValid() && ConversionCollection.isValid() && BeamSpot.isValid() &&
419  ele_id_decisions.isValid()) {
420  size_t index = 0;
421  for (auto const &electron : *ElectronCollection) {
422  const auto el = ElectronCollection->ptrAt(index);
423  bool pass_id = (*ele_id_decisions)[el];
424  if (isGood(electron,
425  VertexCollection->front().position(),
426  BeamSpot->position(),
428  pass_id,
430  lep_iso_cut_,
431  lep_eta_cut_,
435  lep_dz_cut_e_)) {
436  if (electron.pt() > lep_max_pt) {
437  lep_max_pt = electron.pt();
438  lep_eta = electron.eta();
439  lep_phi = electron.phi();
440  }
441  if (electron.pt() < min_ele_pt || min_ele_pt < 0) {
442  min_ele_pt = electron.pt();
443  trailing_ele_eta = electron.eta();
444  trailing_ele_phi = electron.phi();
445  }
446  nels++;
447  }
448  index++;
449  }
450  }
451 
452  //Try to find a reco muon
453  if (MuonCollection.isValid()) {
454  for (auto const &muon : *MuonCollection) {
455  if (isGood(muon,
456  VertexCollection->front(),
458  lep_iso_cut_,
459  lep_eta_cut_,
462  muonIDlevel_)) {
463  if (muon.pt() > lep_max_pt) {
464  lep_max_pt = muon.pt();
465  lep_eta = muon.eta();
466  lep_phi = muon.phi();
467  }
468  if (muon.pt() < min_mu_pt || min_mu_pt < 0) {
469  min_mu_pt = muon.pt();
470  trailing_mu_eta = muon.eta();
471  trailing_mu_phi = muon.phi();
472  }
473  nmus++;
474  }
475  }
476  }
477  }
478 
479  //Fill single lepton triggers with leading lepton pT
480  float lep_pt = lep_max_pt;
481 
482  //For dilepton triggers, use trailing rather than leading lepton
483  if (nmusCut_ >= 2) {
484  lep_pt = min_mu_pt;
485  lep_eta = trailing_mu_eta;
486  lep_phi = trailing_mu_phi;
487  }
488  if (nelsCut_ >= 2) {
489  lep_pt = min_ele_pt;
490  lep_eta = trailing_ele_eta;
491  lep_phi = trailing_ele_phi;
492  }
493  if (nelsCut_ >= 1 && nmusCut_ >= 1) {
494  if (min_ele_pt < min_mu_pt) {
495  lep_pt = min_ele_pt;
496  lep_eta = trailing_ele_eta;
497  lep_phi = trailing_ele_phi;
498  } else {
499  lep_pt = min_mu_pt;
500  lep_eta = trailing_mu_eta;
501  lep_phi = trailing_mu_phi;
502  }
503  }
504 
505  const bool nleps_cut = nels >= nelsCut_ && nmus >= nmusCut_;
506  bool lep_plateau = lep_pt > lep_pt_plateau_ || lep_pt_plateau_ < 0.0;
507 
508  //Fill lepton pT and eta histograms
509  if (hasFiredLeptonAuxiliary || !e.isRealData()) {
510  if (nleps_cut && (pfMET > metCut_ || metCut_ < 0.0) && (pfHT > htCut_ || htCut_ < 0.0)) {
511  if (h_lepPtTurnOn_den_) {
512  if (lep_pt > ptbins_.back())
513  lep_pt = ptbins_.back() - 1; //Overflow protection
514  h_lepPtTurnOn_den_->Fill(lep_pt);
515  }
516  if (h_lepPtTurnOn_num_ && hasFired)
517  h_lepPtTurnOn_num_->Fill(lep_pt);
518 
519  if (lep_plateau) {
520  //Fill Eta and Phi histograms for leptons above pT threshold
522  h_lepEtaTurnOn_den_->Fill(lep_eta);
523  if (h_lepEtaTurnOn_num_ && hasFired)
524  h_lepEtaTurnOn_num_->Fill(lep_eta);
526  h_lepPhiTurnOn_den_->Fill(lep_phi);
527  if (h_lepPhiTurnOn_num_ && hasFired)
528  h_lepPhiTurnOn_num_->Fill(lep_phi);
530  h_lepEtaPhiTurnOn_den_->Fill(lep_eta, lep_phi);
531  if (h_lepEtaPhiTurnOn_num_ && hasFired)
532  h_lepEtaPhiTurnOn_num_->Fill(lep_eta, lep_phi);
533 
534  //Fill NPV histograms
535  if (h_NPVTurnOn_den_)
536  h_NPVTurnOn_den_->Fill(npv);
537  if (h_NPVTurnOn_num_ && hasFired)
538  h_NPVTurnOn_num_->Fill(npv);
539  }
540  }
541  }
542 
543  //Fill HT turn-on histograms
544  if (hasFiredAuxiliary || !e.isRealData()) {
545  if (nleps_cut && lep_plateau) {
546  if (h_pfHTTurnOn_den_) {
547  if (pfHT > htbins_.back())
548  pfHT = htbins_.back() - 1; //Overflow protection
549  h_pfHTTurnOn_den_->Fill(pfHT);
550  }
551  if (h_pfHTTurnOn_num_ && hasFired)
552  h_pfHTTurnOn_num_->Fill(pfHT);
553  }
554  }
555 }
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.h:69
double lep_d0_cut_e_
Definition: LepHTMonitor.h:105
double lep_iso_cut_
Definition: LepHTMonitor.h:101
double jetEtaCut_
Definition: LepHTMonitor.h:94
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:121
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.h:72
double jetPtCut_
Definition: LepHTMonitor.h:93
double htCut_
Definition: LepHTMonitor.h:96
double lep_dz_cut_e_
Definition: LepHTMonitor.h:106
nels
1: loose, 2: medium, 3: tight
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:126
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:122
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:127
bool isRealData() const
Definition: EventBase.h:62
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:131
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
std::vector< double > ptbins_
Definition: LepHTMonitor.h:108
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.h:73
void Fill(long long x)
double nmusCut_
Definition: LepHTMonitor.h:97
double lep_d0_cut_b_
Definition: LepHTMonitor.h:103
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:86
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.h:67
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.h:74
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:66
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.h:84
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:124
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:123
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.h:82
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:70
bool isValid() const
Definition: HandleBase.h:70
std::vector< Electron > ElectronCollection
collectin of Electron objects
Definition: ElectronFwd.h:9
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.h:75
double lep_counting_threshold_
Definition: LepHTMonitor.h:100
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:132
std::string const & label() const
Definition: InputTag.h:36
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:85
double metCut_
Definition: LepHTMonitor.h:95
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:130
std::vector< double > htbins_
Definition: LepHTMonitor.h:109
double lep_eta_cut_
Definition: LepHTMonitor.h:102
const Point & position() const
position
Definition: BeamSpot.h:59
double lep_pt_plateau_
Definition: LepHTMonitor.h:99
double nelsCut_
Definition: LepHTMonitor.h:98
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.h:80
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:87
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.h:81
double lep_dz_cut_b_
Definition: LepHTMonitor.h:104
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.h:68
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:129
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:128
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.h:79
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.h:71
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.h:83
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:125
void LepHTMonitor::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprotected

Definition at line 210 of file LepHTMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), dqm::dqmstoreimpl::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_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theElectronTag_, and theMuonTag_.

210  {
211  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::bookHistograms\n";
212  //book at beginRun
213  ibooker.cd();
214  ibooker.setCurrentFolder("HLT/SUSY/LepHT/" + folderName_);
215 
216  bool is_mu = false;
217  bool is_ele = false;
218  if (theElectronTag_.label().empty() and not theMuonTag_.label().empty()) {
219  is_mu = true;
220  } else if (not theElectronTag_.label().empty() and theMuonTag_.label().empty()) {
221  is_ele = true;
222  }
223  //Cosmetic axis names
224  std::string lepton = "lepton", Lepton = "Lepton";
225  if (is_mu && !is_ele) {
226  lepton = "muon";
227  Lepton = "Muon";
228  } else if (is_ele && !is_mu) {
229  lepton = "electron";
230  Lepton = "Electron";
231  }
232  //Initialize trigger flags
234  num_genTriggerEventFlag_->initRun(iRun, iSetup);
236  den_lep_genTriggerEventFlag_->initRun(iRun, iSetup);
238  den_HT_genTriggerEventFlag_->initRun(iRun, iSetup);
239 
240  //Convert to vfloat for picky TH1F constructor
241  vector<float> f_ptbins;
242  for (double ptbin : ptbins_)
243  f_ptbins.push_back(static_cast<float>(ptbin));
244  vector<float> f_htbins;
245  for (double htbin : htbins_)
246  f_htbins.push_back(static_cast<float>(htbin));
247 
248  //num and den hists to be divided in harvesting step to make turn on curves
250  ibooker.book1D("pfHTTurnOn_num", "Numerator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
252  ibooker.book1D("pfHTTurnOn_den", "Denominator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
253 
254  h_lepPtTurnOn_num_ = ibooker.book1D("lepPtTurnOn_num",
255  ("Numerator;Offline " + lepton + " p_{T} [GeV];").c_str(),
256  f_ptbins.size() - 1,
257  f_ptbins.data());
258  h_lepPtTurnOn_den_ = ibooker.book1D("lepPtTurnOn_den",
259  ("Denominator;Offline " + lepton + " p_{T} [GeV];").c_str(),
260  f_ptbins.size() - 1,
261  f_ptbins.data());
263  ibooker.book1D("lepEtaTurnOn_num", "Numerator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
265  ibooker.book1D("lepEtaTurnOn_den", "Denominator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
267  ibooker.book1D("lepPhiTurnOn_num", "Numerator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
269  ibooker.book1D("lepPhiTurnOn_den", "Denominator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
270 
271  h_lepEtaPhiTurnOn_num_ = ibooker.book2D("lepEtaPhiTurnOn_num",
272  "Numerator;Offline lepton #eta;Offline lepton #phi;",
273  nbins_eta_ / 2,
274  etabins_min_,
275  etabins_max_,
276  nbins_phi_ / 2,
277  phibins_min_,
278  phibins_max_);
279  h_lepEtaPhiTurnOn_den_ = ibooker.book2D("lepEtaPhiTurnOn_den",
280  "Denominator;Offline lepton #eta;Offline lepton #phi;",
281  nbins_eta_ / 2,
282  etabins_min_,
283  etabins_max_,
284  nbins_phi_ / 2,
285  phibins_min_,
286  phibins_max_);
287 
288  h_NPVTurnOn_num_ = ibooker.book1D("NPVTurnOn_num", "Numerator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
289  h_NPVTurnOn_den_ = ibooker.book1D("NPVTurnOn_den", "Denominator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
290 
291  ibooker.cd();
292 }
float etabins_max_
Definition: LepHTMonitor.h:114
float npvbins_min_
Definition: LepHTMonitor.h:117
std::string folderName_
Definition: LepHTMonitor.h:89
MonitorElement * h_pfHTTurnOn_num_
Definition: LepHTMonitor.h:121
MonitorElement * h_lepEtaTurnOn_den_
Definition: LepHTMonitor.h:126
MonitorElement * h_pfHTTurnOn_den_
Definition: LepHTMonitor.h:122
float etabins_min_
Definition: LepHTMonitor.h:113
MonitorElement * h_lepPhiTurnOn_num_
Definition: LepHTMonitor.h:127
MonitorElement * h_NPVTurnOn_num_
Definition: LepHTMonitor.h:131
std::vector< double > ptbins_
Definition: LepHTMonitor.h:108
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.h:86
edm::InputTag theElectronTag_
Definition: LepHTMonitor.h:66
MonitorElement * h_lepPtTurnOn_den_
Definition: LepHTMonitor.h:124
MonitorElement * h_lepPtTurnOn_num_
Definition: LepHTMonitor.h:123
edm::InputTag theMuonTag_
Definition: LepHTMonitor.h:70
float phibins_max_
Definition: LepHTMonitor.h:116
MonitorElement * h_NPVTurnOn_den_
Definition: LepHTMonitor.h:132
float npvbins_max_
Definition: LepHTMonitor.h:118
float phibins_min_
Definition: LepHTMonitor.h:115
std::string const & label() const
Definition: InputTag.h:36
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.h:85
MonitorElement * h_lepEtaPhiTurnOn_den_
Definition: LepHTMonitor.h:130
std::vector< double > htbins_
Definition: LepHTMonitor.h:109
Definition: Lepton.py:1
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.h:87
MonitorElement * h_lepEtaPhiTurnOn_num_
Definition: LepHTMonitor.h:129
MonitorElement * h_lepPhiTurnOn_den_
Definition: LepHTMonitor.h:128
MonitorElement * h_lepEtaTurnOn_num_
Definition: LepHTMonitor.h:125
void LepHTMonitor::dqmBeginRun ( const edm::Run run,
const edm::EventSetup e 
)
overrideprotected

Definition at line 206 of file LepHTMonitor.cc.

206  {
207  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::beginRun\n";
208 }
void LepHTMonitor::dqmEndRun ( const edm::Run run,
const edm::EventSetup eSetup 
)
overrideprotected

Definition at line 557 of file LepHTMonitor.cc.

References DEFINE_FWK_MODULE.

557  {
558  edm::LogInfo("LepHTMonitor") << "LepHTMonitor::endRun\n";
559 }

Member Data Documentation

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

Definition at line 87 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 86 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

float LepHTMonitor::etabins_max_
private

Definition at line 114 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::etabins_min_
private

Definition at line 113 of file LepHTMonitor.h.

Referenced by bookHistograms().

std::string LepHTMonitor::folderName_
private

Definition at line 89 of file LepHTMonitor.h.

Referenced by bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_den_
private

Definition at line 130 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_num_
private

Definition at line 129 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_den_
private

Definition at line 126 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_num_
private

Definition at line 125 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_den_
private

Definition at line 128 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_num_
private

Definition at line 127 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPtTurnOn_den_
private

Definition at line 124 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_lepPtTurnOn_num_
private

Definition at line 123 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_NPVTurnOn_den_
private

Definition at line 132 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_NPVTurnOn_num_
private

Definition at line 131 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_pfHTTurnOn_den_
private

Definition at line 122 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LepHTMonitor::h_pfHTTurnOn_num_
private

Definition at line 121 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 109 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

double LepHTMonitor::htCut_
private

Definition at line 96 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::jetEtaCut_
private

Definition at line 94 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::jetPtCut_
private

Definition at line 93 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_counting_threshold_
private

Definition at line 100 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_d0_cut_b_
private

Definition at line 103 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_d0_cut_e_
private

Definition at line 105 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_dz_cut_b_
private

Definition at line 104 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_dz_cut_e_
private

Definition at line 106 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_eta_cut_
private

Definition at line 102 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_iso_cut_
private

Definition at line 101 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::lep_pt_plateau_
private

Definition at line 99 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::metCut_
private

Definition at line 95 of file LepHTMonitor.h.

Referenced by analyze().

int LepHTMonitor::muonIDlevel_
private

Definition at line 91 of file LepHTMonitor.h.

Referenced by analyze().

int LepHTMonitor::nbins_eta_
private

Definition at line 110 of file LepHTMonitor.h.

Referenced by bookHistograms().

int LepHTMonitor::nbins_npv_
private

Definition at line 112 of file LepHTMonitor.h.

Referenced by bookHistograms().

int LepHTMonitor::nbins_phi_
private

Definition at line 111 of file LepHTMonitor.h.

Referenced by bookHistograms().

double LepHTMonitor::nelsCut_
private

Definition at line 98 of file LepHTMonitor.h.

Referenced by analyze().

double LepHTMonitor::nmusCut_
private

Definition at line 97 of file LepHTMonitor.h.

Referenced by analyze().

float LepHTMonitor::npvbins_max_
private

Definition at line 118 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::npvbins_min_
private

Definition at line 117 of file LepHTMonitor.h.

Referenced by bookHistograms().

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

Definition at line 85 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

float LepHTMonitor::phibins_max_
private

Definition at line 116 of file LepHTMonitor.h.

Referenced by bookHistograms().

float LepHTMonitor::phibins_min_
private

Definition at line 115 of file LepHTMonitor.h.

Referenced by bookHistograms().

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

Definition at line 108 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 84 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theBeamSpotTag_
private

Definition at line 83 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 82 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theConversionCollectionTag_
private

Definition at line 81 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 67 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theElectronTag_
private

Definition at line 66 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 69 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theElectronVIDTag_
private

Definition at line 68 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 77 of file LepHTMonitor.h.

edm::InputTag LepHTMonitor::theJetTagTag_
private

Definition at line 76 of file LepHTMonitor.h.

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

Definition at line 71 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theMuonTag_
private

Definition at line 70 of file LepHTMonitor.h.

Referenced by analyze(), and bookHistograms().

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

Definition at line 75 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::thePfJetTag_
private

Definition at line 74 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 73 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::thePfMETTag_
private

Definition at line 72 of file LepHTMonitor.h.

Referenced by analyze().

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

Definition at line 80 of file LepHTMonitor.h.

Referenced by analyze().

edm::InputTag LepHTMonitor::theVertexCollectionTag_
private

Definition at line 79 of file LepHTMonitor.h.

Referenced by analyze().