CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Attributes
LepHTMonitor Class Reference
Inheritance diagram for LepHTMonitor:
DQMEDAnalyzer TriggerDQMBase edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Types

typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Public Types inherited from TriggerDQMBase
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

 LepHTMonitor (const edm::ParameterSet &ps)
 
 ~LepHTMonitor () override throw ()
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
- Public Member Functions inherited from TriggerDQMBase
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const double ymin, const double ymax, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const uint nbinsY, const double ymin, const double ymax, const bool bookDen=true)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY, const bool bookDen=true)
 
void setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY)
 
 TriggerDQMBase ()=default
 
virtual ~TriggerDQMBase ()=default
 

Protected Member Functions

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

Private Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Static Public Member Functions inherited from TriggerDQMBase
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
static MEbinning getHistoLSPSet (const edm::ParameterSet &pset)
 
static MEbinning getHistoPSet (const edm::ParameterSet &pset)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 35 of file LepHTMonitor.cc.

Member Typedef Documentation

◆ DQMStore

Definition at line 38 of file LepHTMonitor.cc.

◆ MonitorElement

Definition at line 37 of file LepHTMonitor.cc.

Constructor & Destructor Documentation

◆ LepHTMonitor()

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

Definition at line 228 of file LepHTMonitor.cc.

229  : theElectronTag_(ps.getParameter<edm::InputTag>("electronCollection")),
231  theElectronVIDTag_(ps.getParameter<edm::InputTag>("electronVID")),
233  theMuonTag_(ps.getParameter<edm::InputTag>("muonCollection")),
234  theMuonCollection_(consumes<reco::MuonCollection>(theMuonTag_)),
235  thePfMETTag_(ps.getParameter<edm::InputTag>("pfMetCollection")),
236  thePfMETCollection_(consumes<reco::PFMETCollection>(thePfMETTag_)),
237  thePfJetTag_(ps.getParameter<edm::InputTag>("pfJetCollection")),
238  thePfJetCollection_(consumes<reco::PFJetCollection>(thePfJetTag_)),
239  theJetTagTag_(ps.getParameter<edm::InputTag>("jetTagCollection")),
240  theJetTagCollection_(consumes<reco::JetTagCollection>(theJetTagTag_)),
241  theVertexCollectionTag_(ps.getParameter<edm::InputTag>("vertexCollection")),
242  theVertexCollection_(consumes<reco::VertexCollection>(theVertexCollectionTag_)),
243  theConversionCollectionTag_(ps.getParameter<edm::InputTag>("conversionCollection")),
244  theConversionCollection_(consumes<reco::ConversionCollection>(theConversionCollectionTag_)),
245  theBeamSpotTag_(ps.getParameter<edm::InputTag>("beamSpot")),
246  theBeamSpot_(consumes<reco::BeamSpot>(theBeamSpotTag_)),
247 
249  ps.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
251  ps.getParameter<edm::ParameterSet>("den_lep_GenericTriggerEventPSet"), consumesCollector(), *this)),
253  ps.getParameter<edm::ParameterSet>("den_HT_GenericTriggerEventPSet"), consumesCollector(), *this)),
254 
255  folderName_(ps.getParameter<std::string>("folderName")),
256  requireValidHLTPaths_(ps.getParameter<bool>("requireValidHLTPaths")),
257  hltPathsAreValid_(false),
258 
259  muonIDlevel_(ps.getUntrackedParameter<int>("muonIDlevel")),
260  jetPtCut_(ps.getUntrackedParameter<double>("jetPtCut")),
261  jetEtaCut_(ps.getUntrackedParameter<double>("jetEtaCut")),
262  metCut_(ps.getUntrackedParameter<double>("metCut")),
263  htCut_(ps.getUntrackedParameter<double>("htCut")),
264 
265  nmusCut_(ps.getUntrackedParameter<double>("nmus")),
266  nelsCut_(ps.getUntrackedParameter<double>("nels")),
267  lep_pt_plateau_(ps.getUntrackedParameter<double>("leptonPtPlateau")),
268  lep_counting_threshold_(ps.getUntrackedParameter<double>("leptonCountingThreshold")),
269  lep_iso_cut_(ps.getUntrackedParameter<double>("lepIsoCut")),
270  lep_eta_cut_(ps.getUntrackedParameter<double>("lepEtaCut")),
271  lep_d0_cut_b_(ps.getUntrackedParameter<double>("lep_d0_cut_b")),
272  lep_dz_cut_b_(ps.getUntrackedParameter<double>("lep_dz_cut_b")),
273  lep_d0_cut_e_(ps.getUntrackedParameter<double>("lep_d0_cut_e")),
274  lep_dz_cut_e_(ps.getUntrackedParameter<double>("lep_dz_cut_e")),
275  ptbins_(ps.getParameter<std::vector<double> >("ptbins")),
276  htbins_(ps.getParameter<std::vector<double> >("htbins")),
277 
278  nbins_eta_(ps.getUntrackedParameter<int>("nbins_eta")),
279  nbins_phi_(ps.getUntrackedParameter<int>("nbins_phi")),
280  nbins_npv_(ps.getUntrackedParameter<int>("nbins_npv")),
281  etabins_min_(ps.getUntrackedParameter<double>("etabins_min")),
282  etabins_max_(ps.getUntrackedParameter<double>("etabins_max")),
283  phibins_min_(ps.getUntrackedParameter<double>("phibins_min")),
284  phibins_max_(ps.getUntrackedParameter<double>("phibins_max")),
285  npvbins_min_(ps.getUntrackedParameter<double>("npvbins_min")),
286  npvbins_max_(ps.getUntrackedParameter<double>("npvbins_max")),
287 
288  h_pfHTTurnOn_num_(nullptr),
289  h_pfHTTurnOn_den_(nullptr),
290  h_lepPtTurnOn_num_(nullptr),
291  h_lepPtTurnOn_den_(nullptr),
292  h_lepEtaTurnOn_num_(nullptr),
293  h_lepEtaTurnOn_den_(nullptr),
294  h_lepPhiTurnOn_num_(nullptr),
295  h_lepPhiTurnOn_den_(nullptr),
296  h_NPVTurnOn_num_(nullptr),
297  h_NPVTurnOn_den_(nullptr) {
298  edm::LogInfo("LepHTMonitor") << "Constructor LepHTMonitor::LepHTMonitor\n";
299 }
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.cc:51
double lep_d0_cut_e_
Definition: LepHTMonitor.cc:90
float etabins_max_
Definition: LepHTMonitor.cc:99
float npvbins_min_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
double lep_iso_cut_
Definition: LepHTMonitor.cc:86
double jetEtaCut_
Definition: LepHTMonitor.cc:79
MonitorElement * h_pfHTTurnOn_num_
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.cc:54
double jetPtCut_
Definition: LepHTMonitor.cc:78
double lep_dz_cut_e_
Definition: LepHTMonitor.cc:91
edm::InputTag theJetTagTag_
Definition: LepHTMonitor.cc:58
MonitorElement * h_lepEtaTurnOn_den_
MonitorElement * h_pfHTTurnOn_den_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
float etabins_min_
Definition: LepHTMonitor.cc:98
MonitorElement * h_lepPhiTurnOn_num_
MonitorElement * h_NPVTurnOn_num_
std::vector< double > ptbins_
Definition: LepHTMonitor.cc:93
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.cc:55
double nmusCut_
Definition: LepHTMonitor.cc:82
double lep_d0_cut_b_
Definition: LepHTMonitor.cc:88
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.cc:68
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.cc:49
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.cc:56
edm::InputTag theElectronTag_
Definition: LepHTMonitor.cc:48
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.cc:65
MonitorElement * h_lepPtTurnOn_den_
MonitorElement * h_lepPtTurnOn_num_
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.cc:63
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: LepHTMonitor.cc:59
edm::InputTag theMuonTag_
Definition: LepHTMonitor.cc:52
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.cc:57
double lep_counting_threshold_
Definition: LepHTMonitor.cc:85
Log< level::Info, false > LogInfo
float phibins_max_
MonitorElement * h_NPVTurnOn_den_
bool hltPathsAreValid_
Definition: LepHTMonitor.cc:74
float npvbins_max_
float phibins_min_
const std::string folderName_
Definition: LepHTMonitor.cc:71
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.cc:67
double metCut_
Definition: LepHTMonitor.cc:80
std::vector< double > htbins_
Definition: LepHTMonitor.cc:94
double lep_eta_cut_
Definition: LepHTMonitor.cc:87
double lep_pt_plateau_
Definition: LepHTMonitor.cc:84
double nelsCut_
Definition: LepHTMonitor.cc:83
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.cc:61
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.cc:69
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.cc:62
double lep_dz_cut_b_
Definition: LepHTMonitor.cc:89
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.cc:50
MonitorElement * h_lepPhiTurnOn_den_
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.cc:60
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.cc:53
const bool requireValidHLTPaths_
Definition: LepHTMonitor.cc:73
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.cc:64
MonitorElement * h_lepEtaTurnOn_num_

◆ ~LepHTMonitor()

LepHTMonitor::~LepHTMonitor ( )
throw (
)
override

Definition at line 301 of file LepHTMonitor.cc.

References den_HT_genTriggerEventFlag_, den_lep_genTriggerEventFlag_, and num_genTriggerEventFlag_.

301  {
303  num_genTriggerEventFlag_.reset();
304  }
307  }
310  }
311 }
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.cc:68
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.cc:67
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.cc:69

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 417 of file LepHTMonitor.cc.

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

417  {
418  // if valid HLT paths are required,
419  // analyze event only if all paths are valid
421  return;
422  }
423 
424  // Find whether main and auxilliary triggers fired
425  bool hasFired = false;
426  bool hasFiredAuxiliary = false;
427  bool hasFiredLeptonAuxiliary = false;
428  if (den_lep_genTriggerEventFlag_->on() && den_lep_genTriggerEventFlag_->accept(e, eSetup))
429  hasFiredLeptonAuxiliary = true;
430  if (den_HT_genTriggerEventFlag_->on() && den_HT_genTriggerEventFlag_->accept(e, eSetup))
431  hasFiredAuxiliary = true;
432  if (num_genTriggerEventFlag_->on() && num_genTriggerEventFlag_->accept(e, eSetup))
433  hasFired = true;
434 
435  if (!(hasFiredAuxiliary || hasFiredLeptonAuxiliary))
436  return;
437  int npv = 0;
438  //Vertex
440  if (not theVertexCollectionTag_.label().empty()) {
442  if (!VertexCollection.isValid()) {
443  edm::LogWarning("LepHTMonitor") << "Invalid VertexCollection: " << theVertexCollectionTag_.label() << '\n';
444  } else
445  npv = VertexCollection->size();
446  }
447 
448  //Get electron ID map
449  edm::Handle<edm::ValueMap<bool> > ele_id_decisions;
450  if (not theElectronVIDTag_.label().empty()) {
451  e.getByToken(theElectronVIDMap_, ele_id_decisions);
452  if (!ele_id_decisions.isValid()) {
453  edm::LogWarning("LepHTMonitor") << "Invalid Electron VID map: " << theElectronVIDTag_.label() << '\n';
454  }
455  }
456 
457  //Conversions
459  if (not theConversionCollectionTag_.label().empty()) {
461  if (!ConversionCollection.isValid()) {
462  edm::LogWarning("LepHTMonitor") << "Invalid ConversionCollection: " << theConversionCollectionTag_.label()
463  << '\n';
464  }
465  }
466 
467  //Beam Spot
469  if (not theBeamSpotTag_.label().empty()) {
470  e.getByToken(theBeamSpot_, BeamSpot);
471  if (!BeamSpot.isValid()) {
472  edm::LogWarning("LepHTMonitor") << "Invalid BeamSpot: " << theBeamSpotTag_.label() << '\n';
473  }
474  }
475 
476  //MET
478  if (not thePfMETTag_.label().empty()) {
480  if (!pfMETCollection.isValid()) {
481  edm::LogWarning("LepHTMonitor") << "Invalid PFMETCollection: " << thePfMETTag_.label() << '\n';
482  }
483  }
484 
485  //Jets
487  if (not thePfJetTag_.label().empty()) {
489  if (!pfJetCollection.isValid()) {
490  edm::LogWarning("LepHTMonitor") << "Invalid PFJetCollection: " << thePfJetTag_.label() << '\n';
491  }
492  }
493 
494  //Electron
496  if (not theElectronTag_.label().empty()) {
498  if (!ElectronCollection.isValid()) {
499  edm::LogWarning("LepHTMonitor") << "Invalid GsfElectronCollection: " << theElectronTag_.label() << '\n';
500  }
501  }
502 
503  //Muon
505  if (not theMuonTag_.label().empty()) {
506  e.getByToken(theMuonCollection_, MuonCollection);
507  if (!MuonCollection.isValid()) {
508  edm::LogWarning("LepHTMonitor") << "Invalid MuonCollection: " << theMuonTag_.label() << '\n';
509  }
510  }
511 
512  //Get offline HT
513  double pfHT = -1.0;
514  if (pfJetCollection.isValid()) {
515  pfHT = 0.0;
516  for (auto const &pfjet : *pfJetCollection) {
517  if (pfjet.pt() < jetPtCut_)
518  continue;
519  if (std::abs(pfjet.eta()) > jetEtaCut_)
520  continue;
521  pfHT += pfjet.pt();
522  }
523  }
524 
525  //Get offline MET
526  double pfMET = -1.0;
527  if (pfMETCollection.isValid() && !pfMETCollection->empty()) {
528  pfMET = pfMETCollection->front().et();
529  }
530 
531  //Find offline leptons and keep track of pt,eta of leading and trailing leptons
532  double lep_max_pt = -1.0;
533  double lep_eta = 0;
534  double lep_phi = 0;
535  double trailing_ele_eta = 0;
536  double trailing_ele_phi = 0;
537  double trailing_mu_eta = 0;
538  double trailing_mu_phi = 0;
539  double min_ele_pt = -1.0;
540  double min_mu_pt = -1.0;
541  int nels = 0;
542  int nmus = 0;
543  if (VertexCollection.isValid() && !VertexCollection->empty()) { //for quality checks
544  //Try to find a reco electron
545  if (ElectronCollection.isValid() && ConversionCollection.isValid() && BeamSpot.isValid() &&
546  ele_id_decisions.isValid()) {
547  size_t index = 0;
548  for (auto const &electron : *ElectronCollection) {
549  const auto el = ElectronCollection->ptrAt(index);
550  bool pass_id = (*ele_id_decisions)[el];
551  if (isGood(electron,
552  VertexCollection->front().position(),
553  BeamSpot->position(),
555  pass_id,
557  lep_iso_cut_,
558  lep_eta_cut_,
562  lep_dz_cut_e_)) {
563  if (electron.pt() > lep_max_pt) {
564  lep_max_pt = electron.pt();
565  lep_eta = electron.eta();
566  lep_phi = electron.phi();
567  }
568  if (electron.pt() < min_ele_pt || min_ele_pt < 0) {
569  min_ele_pt = electron.pt();
570  trailing_ele_eta = electron.eta();
571  trailing_ele_phi = electron.phi();
572  }
573  nels++;
574  }
575  index++;
576  }
577  }
578 
579  //Try to find a reco muon
580  if (MuonCollection.isValid()) {
581  for (auto const &muon : *MuonCollection) {
582  if (isGood(muon,
583  VertexCollection->front(),
585  lep_iso_cut_,
586  lep_eta_cut_,
589  muonIDlevel_)) {
590  if (muon.pt() > lep_max_pt) {
591  lep_max_pt = muon.pt();
592  lep_eta = muon.eta();
593  lep_phi = muon.phi();
594  }
595  if (muon.pt() < min_mu_pt || min_mu_pt < 0) {
596  min_mu_pt = muon.pt();
597  trailing_mu_eta = muon.eta();
598  trailing_mu_phi = muon.phi();
599  }
600  nmus++;
601  }
602  }
603  }
604  }
605 
606  //Fill single lepton triggers with leading lepton pT
607  float lep_pt = lep_max_pt;
608 
609  //For dilepton triggers, use trailing rather than leading lepton
610  if (nmusCut_ >= 2) {
611  lep_pt = min_mu_pt;
612  lep_eta = trailing_mu_eta;
613  lep_phi = trailing_mu_phi;
614  }
615  if (nelsCut_ >= 2) {
616  lep_pt = min_ele_pt;
617  lep_eta = trailing_ele_eta;
618  lep_phi = trailing_ele_phi;
619  }
620  if (nelsCut_ >= 1 && nmusCut_ >= 1) {
621  if (min_ele_pt < min_mu_pt) {
622  lep_pt = min_ele_pt;
623  lep_eta = trailing_ele_eta;
624  lep_phi = trailing_ele_phi;
625  } else {
626  lep_pt = min_mu_pt;
627  lep_eta = trailing_mu_eta;
628  lep_phi = trailing_mu_phi;
629  }
630  }
631 
632  const bool nleps_cut = nels >= nelsCut_ && nmus >= nmusCut_;
633  bool lep_plateau = lep_pt > lep_pt_plateau_ || lep_pt_plateau_ < 0.0;
634 
635  //Fill lepton pT and eta histograms
636  if (hasFiredLeptonAuxiliary || !e.isRealData()) {
637  if (nleps_cut && (pfMET > metCut_ || metCut_ < 0.0) && (pfHT > htCut_ || htCut_ < 0.0)) {
638  if (h_lepPtTurnOn_den_) {
639  if (lep_pt > ptbins_.back())
640  lep_pt = ptbins_.back() - 1; //Overflow protection
641  h_lepPtTurnOn_den_->Fill(lep_pt);
642  }
643  if (h_lepPtTurnOn_num_ && hasFired)
644  h_lepPtTurnOn_num_->Fill(lep_pt);
645 
646  if (lep_plateau) {
647  //Fill Eta and Phi histograms for leptons above pT threshold
649  h_lepEtaTurnOn_den_->Fill(lep_eta);
650  if (h_lepEtaTurnOn_num_ && hasFired)
651  h_lepEtaTurnOn_num_->Fill(lep_eta);
653  h_lepPhiTurnOn_den_->Fill(lep_phi);
654  if (h_lepPhiTurnOn_num_ && hasFired)
655  h_lepPhiTurnOn_num_->Fill(lep_phi);
657  h_lepEtaPhiTurnOn_den_->Fill(lep_eta, lep_phi);
658  if (h_lepEtaPhiTurnOn_num_ && hasFired)
659  h_lepEtaPhiTurnOn_num_->Fill(lep_eta, lep_phi);
660 
661  //Fill NPV histograms
662  if (h_NPVTurnOn_den_)
663  h_NPVTurnOn_den_->Fill(npv);
664  if (h_NPVTurnOn_num_ && hasFired)
665  h_NPVTurnOn_num_->Fill(npv);
666  }
667  }
668  }
669 
670  //Fill HT turn-on histograms
671  if (hasFiredAuxiliary || !e.isRealData()) {
672  if (nleps_cut && lep_plateau) {
673  if (h_pfHTTurnOn_den_) {
674  if (pfHT > htbins_.back())
675  pfHT = htbins_.back() - 1; //Overflow protection
676  h_pfHTTurnOn_den_->Fill(pfHT);
677  }
678  if (h_pfHTTurnOn_num_ && hasFired)
679  h_pfHTTurnOn_num_->Fill(pfHT);
680  }
681  }
682 }
edm::EDGetTokenT< edm::ValueMap< bool > > theElectronVIDMap_
Definition: LepHTMonitor.cc:51
double lep_d0_cut_e_
Definition: LepHTMonitor.cc:90
double lep_iso_cut_
Definition: LepHTMonitor.cc:86
double jetEtaCut_
Definition: LepHTMonitor.cc:79
MonitorElement * h_pfHTTurnOn_num_
edm::InputTag thePfMETTag_
Definition: LepHTMonitor.cc:54
double jetPtCut_
Definition: LepHTMonitor.cc:78
double lep_dz_cut_e_
Definition: LepHTMonitor.cc:91
nels
1: loose, 2: medium, 3: tight
MonitorElement * h_lepEtaTurnOn_den_
MonitorElement * h_pfHTTurnOn_den_
MonitorElement * h_lepPhiTurnOn_num_
std::string const & label() const
Definition: InputTag.h:36
std::vector< Vertex > VertexCollection
Definition: Vertex.h:31
MonitorElement * h_NPVTurnOn_num_
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.cc:93
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: LepHTMonitor.cc:55
void Fill(long long x)
double nmusCut_
Definition: LepHTMonitor.cc:82
double lep_d0_cut_b_
Definition: LepHTMonitor.cc:88
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.cc:68
edm::EDGetTokenT< edm::View< reco::GsfElectron > > theElectronCollection_
Definition: LepHTMonitor.cc:49
edm::InputTag thePfJetTag_
Definition: LepHTMonitor.cc:56
edm::InputTag theElectronTag_
Definition: LepHTMonitor.cc:48
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: LepHTMonitor.cc:65
MonitorElement * h_lepPtTurnOn_den_
MonitorElement * h_lepPtTurnOn_num_
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: LepHTMonitor.cc:63
edm::InputTag theMuonTag_
Definition: LepHTMonitor.cc:52
std::vector< Electron > ElectronCollection
collectin of Electron objects
Definition: ElectronFwd.h:9
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: LepHTMonitor.cc:57
double lep_counting_threshold_
Definition: LepHTMonitor.cc:85
MonitorElement * h_NPVTurnOn_den_
bool hltPathsAreValid_
Definition: LepHTMonitor.cc:74
bool isValid() const
Definition: HandleBase.h:70
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.cc:67
double metCut_
Definition: LepHTMonitor.cc:80
MonitorElement * h_lepEtaPhiTurnOn_den_
std::vector< double > htbins_
Definition: LepHTMonitor.cc:94
double lep_eta_cut_
Definition: LepHTMonitor.cc:87
double lep_pt_plateau_
Definition: LepHTMonitor.cc:84
double nelsCut_
Definition: LepHTMonitor.cc:83
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: LepHTMonitor.cc:61
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.cc:69
Log< level::Warning, false > LogWarning
edm::InputTag theConversionCollectionTag_
Definition: LepHTMonitor.cc:62
double lep_dz_cut_b_
Definition: LepHTMonitor.cc:89
edm::InputTag theElectronVIDTag_
Definition: LepHTMonitor.cc:50
MonitorElement * h_lepEtaPhiTurnOn_num_
MonitorElement * h_lepPhiTurnOn_den_
edm::InputTag theVertexCollectionTag_
Definition: LepHTMonitor.cc:60
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: LepHTMonitor.cc:53
const bool requireValidHLTPaths_
Definition: LepHTMonitor.cc:73
edm::InputTag theBeamSpotTag_
Definition: LepHTMonitor.cc:64
MonitorElement * h_lepEtaTurnOn_num_

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 313 of file LepHTMonitor.cc.

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

313  {
314  // Initialize trigger flags
316  num_genTriggerEventFlag_->initRun(iRun, iSetup);
317  }
319  den_lep_genTriggerEventFlag_->initRun(iRun, iSetup);
320  }
322  den_HT_genTriggerEventFlag_->initRun(iRun, iSetup);
323  }
324 
325  // check if every HLT path specified in numerator and denominator has a valid match in the HLT Menu
327  num_genTriggerEventFlag_->allHLTPathsAreValid()) &&
329  den_lep_genTriggerEventFlag_->allHLTPathsAreValid()) ||
331  den_HT_genTriggerEventFlag_->allHLTPathsAreValid())));
332 
333  // if valid HLT paths are required,
334  // create DQM outputs only if all paths are valid
336  return;
337  }
338 
339  // book at beginRun
340  ibooker.cd();
341  ibooker.setCurrentFolder("HLT/SUSY/LepHT/" + folderName_);
342 
343  bool is_mu = false;
344  bool is_ele = false;
345  if (theElectronTag_.label().empty() and not theMuonTag_.label().empty()) {
346  is_mu = true;
347  } else if (not theElectronTag_.label().empty() and theMuonTag_.label().empty()) {
348  is_ele = true;
349  }
350 
351  // Cosmetic axis names
352  std::string lepton = "lepton", Lepton = "Lepton";
353  if (is_mu && !is_ele) {
354  lepton = "muon";
355  Lepton = "Muon";
356  } else if (is_ele && !is_mu) {
357  lepton = "electron";
358  Lepton = "Electron";
359  }
360 
361  //Convert to vfloat for picky TH1F constructor
362  vector<float> f_ptbins;
363  f_ptbins.reserve(ptbins_.size());
364  for (double ptbin : ptbins_)
365  f_ptbins.push_back(static_cast<float>(ptbin));
366  vector<float> f_htbins;
367  f_htbins.reserve(htbins_.size());
368  for (double htbin : htbins_)
369  f_htbins.push_back(static_cast<float>(htbin));
370 
371  //num and den hists to be divided in harvesting step to make turn on curves
373  ibooker.book1D("pfHTTurnOn_num", "Numerator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
375  ibooker.book1D("pfHTTurnOn_den", "Denominator;Offline H_{T} [GeV];", f_htbins.size() - 1, f_htbins.data());
376 
377  h_lepPtTurnOn_num_ = ibooker.book1D("lepPtTurnOn_num",
378  ("Numerator;Offline " + lepton + " p_{T} [GeV];").c_str(),
379  f_ptbins.size() - 1,
380  f_ptbins.data());
381  h_lepPtTurnOn_den_ = ibooker.book1D("lepPtTurnOn_den",
382  ("Denominator;Offline " + lepton + " p_{T} [GeV];").c_str(),
383  f_ptbins.size() - 1,
384  f_ptbins.data());
386  ibooker.book1D("lepEtaTurnOn_num", "Numerator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
388  ibooker.book1D("lepEtaTurnOn_den", "Denominator;Offline lepton #eta;", nbins_eta_, etabins_min_, etabins_max_);
390  ibooker.book1D("lepPhiTurnOn_num", "Numerator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
392  ibooker.book1D("lepPhiTurnOn_den", "Denominator;Offline lepton #phi;", nbins_phi_, phibins_min_, phibins_max_);
393 
394  h_lepEtaPhiTurnOn_num_ = ibooker.book2D("lepEtaPhiTurnOn_num",
395  "Numerator;Offline lepton #eta;Offline lepton #phi;",
396  nbins_eta_ / 2,
397  etabins_min_,
398  etabins_max_,
399  nbins_phi_ / 2,
400  phibins_min_,
401  phibins_max_);
402  h_lepEtaPhiTurnOn_den_ = ibooker.book2D("lepEtaPhiTurnOn_den",
403  "Denominator;Offline lepton #eta;Offline lepton #phi;",
404  nbins_eta_ / 2,
405  etabins_min_,
406  etabins_max_,
407  nbins_phi_ / 2,
408  phibins_min_,
409  phibins_max_);
410 
411  h_NPVTurnOn_num_ = ibooker.book1D("NPVTurnOn_num", "Numerator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
412  h_NPVTurnOn_den_ = ibooker.book1D("NPVTurnOn_den", "Denominator;N_{PV};", nbins_npv_, npvbins_min_, npvbins_max_);
413 
414  ibooker.cd();
415 }
float etabins_max_
Definition: LepHTMonitor.cc:99
float npvbins_min_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * h_pfHTTurnOn_num_
MonitorElement * h_lepEtaTurnOn_den_
MonitorElement * h_pfHTTurnOn_den_
float etabins_min_
Definition: LepHTMonitor.cc:98
MonitorElement * h_lepPhiTurnOn_num_
std::string const & label() const
Definition: InputTag.h:36
MonitorElement * h_NPVTurnOn_num_
std::vector< double > ptbins_
Definition: LepHTMonitor.cc:93
std::unique_ptr< GenericTriggerEventFlag > den_lep_genTriggerEventFlag_
Definition: LepHTMonitor.cc:68
edm::InputTag theElectronTag_
Definition: LepHTMonitor.cc:48
MonitorElement * h_lepPtTurnOn_den_
MonitorElement * h_lepPtTurnOn_num_
edm::InputTag theMuonTag_
Definition: LepHTMonitor.cc:52
float phibins_max_
MonitorElement * h_NPVTurnOn_den_
bool hltPathsAreValid_
Definition: LepHTMonitor.cc:74
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:221
float npvbins_max_
float phibins_min_
const std::string folderName_
Definition: LepHTMonitor.cc:71
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: LepHTMonitor.cc:67
MonitorElement * h_lepEtaPhiTurnOn_den_
std::vector< double > htbins_
Definition: LepHTMonitor.cc:94
Definition: Lepton.py:1
std::unique_ptr< GenericTriggerEventFlag > den_HT_genTriggerEventFlag_
Definition: LepHTMonitor.cc:69
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * h_lepEtaPhiTurnOn_num_
MonitorElement * h_lepPhiTurnOn_den_
const bool requireValidHLTPaths_
Definition: LepHTMonitor.cc:73
MonitorElement * h_lepEtaTurnOn_num_

Member Data Documentation

◆ den_HT_genTriggerEventFlag_

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

Definition at line 69 of file LepHTMonitor.cc.

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

◆ den_lep_genTriggerEventFlag_

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

Definition at line 68 of file LepHTMonitor.cc.

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

◆ etabins_max_

float LepHTMonitor::etabins_max_
private

Definition at line 99 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ etabins_min_

float LepHTMonitor::etabins_min_
private

Definition at line 98 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ folderName_

const std::string LepHTMonitor::folderName_
private

Definition at line 71 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ h_lepEtaPhiTurnOn_den_

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_den_
private

Definition at line 115 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaPhiTurnOn_num_

MonitorElement* LepHTMonitor::h_lepEtaPhiTurnOn_num_
private

Definition at line 114 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaTurnOn_den_

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_den_
private

Definition at line 111 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepEtaTurnOn_num_

MonitorElement* LepHTMonitor::h_lepEtaTurnOn_num_
private

Definition at line 110 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPhiTurnOn_den_

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_den_
private

Definition at line 113 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPhiTurnOn_num_

MonitorElement* LepHTMonitor::h_lepPhiTurnOn_num_
private

Definition at line 112 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPtTurnOn_den_

MonitorElement* LepHTMonitor::h_lepPtTurnOn_den_
private

Definition at line 109 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_lepPtTurnOn_num_

MonitorElement* LepHTMonitor::h_lepPtTurnOn_num_
private

Definition at line 108 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_NPVTurnOn_den_

MonitorElement* LepHTMonitor::h_NPVTurnOn_den_
private

Definition at line 117 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_NPVTurnOn_num_

MonitorElement* LepHTMonitor::h_NPVTurnOn_num_
private

Definition at line 116 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_den_

MonitorElement* LepHTMonitor::h_pfHTTurnOn_den_
private

Definition at line 107 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_num_

MonitorElement* LepHTMonitor::h_pfHTTurnOn_num_
private

Definition at line 106 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ hltPathsAreValid_

bool LepHTMonitor::hltPathsAreValid_
private

Definition at line 74 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ htbins_

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

Definition at line 94 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ htCut_

double LepHTMonitor::htCut_
private

Definition at line 81 of file LepHTMonitor.cc.

Referenced by analyze().

◆ jetEtaCut_

double LepHTMonitor::jetEtaCut_
private

Definition at line 79 of file LepHTMonitor.cc.

Referenced by analyze().

◆ jetPtCut_

double LepHTMonitor::jetPtCut_
private

Definition at line 78 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_counting_threshold_

double LepHTMonitor::lep_counting_threshold_
private

Definition at line 85 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_d0_cut_b_

double LepHTMonitor::lep_d0_cut_b_
private

Definition at line 88 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_d0_cut_e_

double LepHTMonitor::lep_d0_cut_e_
private

Definition at line 90 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_dz_cut_b_

double LepHTMonitor::lep_dz_cut_b_
private

Definition at line 89 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_dz_cut_e_

double LepHTMonitor::lep_dz_cut_e_
private

Definition at line 91 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_eta_cut_

double LepHTMonitor::lep_eta_cut_
private

Definition at line 87 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_iso_cut_

double LepHTMonitor::lep_iso_cut_
private

Definition at line 86 of file LepHTMonitor.cc.

Referenced by analyze().

◆ lep_pt_plateau_

double LepHTMonitor::lep_pt_plateau_
private

Definition at line 84 of file LepHTMonitor.cc.

Referenced by analyze().

◆ metCut_

double LepHTMonitor::metCut_
private

Definition at line 80 of file LepHTMonitor.cc.

Referenced by analyze().

◆ muonIDlevel_

int LepHTMonitor::muonIDlevel_
private

Definition at line 76 of file LepHTMonitor.cc.

Referenced by analyze().

◆ nbins_eta_

int LepHTMonitor::nbins_eta_
private

Definition at line 95 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nbins_npv_

int LepHTMonitor::nbins_npv_
private

Definition at line 97 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nbins_phi_

int LepHTMonitor::nbins_phi_
private

Definition at line 96 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ nelsCut_

double LepHTMonitor::nelsCut_
private

Definition at line 83 of file LepHTMonitor.cc.

Referenced by analyze().

◆ nmusCut_

double LepHTMonitor::nmusCut_
private

Definition at line 82 of file LepHTMonitor.cc.

Referenced by analyze().

◆ npvbins_max_

float LepHTMonitor::npvbins_max_
private

Definition at line 103 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ npvbins_min_

float LepHTMonitor::npvbins_min_
private

Definition at line 102 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ num_genTriggerEventFlag_

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

Definition at line 67 of file LepHTMonitor.cc.

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

◆ phibins_max_

float LepHTMonitor::phibins_max_
private

Definition at line 101 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ phibins_min_

float LepHTMonitor::phibins_min_
private

Definition at line 100 of file LepHTMonitor.cc.

Referenced by bookHistograms().

◆ ptbins_

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

Definition at line 93 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ requireValidHLTPaths_

const bool LepHTMonitor::requireValidHLTPaths_
private

Definition at line 73 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ theBeamSpot_

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

Definition at line 65 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theBeamSpotTag_

edm::InputTag LepHTMonitor::theBeamSpotTag_
private

Definition at line 64 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theConversionCollection_

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

Definition at line 63 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theConversionCollectionTag_

edm::InputTag LepHTMonitor::theConversionCollectionTag_
private

Definition at line 62 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronCollection_

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

Definition at line 49 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronTag_

edm::InputTag LepHTMonitor::theElectronTag_
private

Definition at line 48 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ theElectronVIDMap_

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

Definition at line 51 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theElectronVIDTag_

edm::InputTag LepHTMonitor::theElectronVIDTag_
private

Definition at line 50 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theJetTagCollection_

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

Definition at line 59 of file LepHTMonitor.cc.

◆ theJetTagTag_

edm::InputTag LepHTMonitor::theJetTagTag_
private

Definition at line 58 of file LepHTMonitor.cc.

◆ theMuonCollection_

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

Definition at line 53 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theMuonTag_

edm::InputTag LepHTMonitor::theMuonTag_
private

Definition at line 52 of file LepHTMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ thePfJetCollection_

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

Definition at line 57 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfJetTag_

edm::InputTag LepHTMonitor::thePfJetTag_
private

Definition at line 56 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfMETCollection_

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

Definition at line 55 of file LepHTMonitor.cc.

Referenced by analyze().

◆ thePfMETTag_

edm::InputTag LepHTMonitor::thePfMETTag_
private

Definition at line 54 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theVertexCollection_

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

Definition at line 61 of file LepHTMonitor.cc.

Referenced by analyze().

◆ theVertexCollectionTag_

edm::InputTag LepHTMonitor::theVertexCollectionTag_
private

Definition at line 60 of file LepHTMonitor.cc.

Referenced by analyze().