CMS 3D CMS Logo

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

#include <SUSY_HLT_SingleLepton.h>

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

Public Member Functions

 SUSY_HLT_SingleLepton (const edm::ParameterSet &ps)
 
 ~SUSY_HLT_SingleLepton () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

double csv_threshold_
 
double csvlCut_
 
double csvmCut_
 
double csvtCut_
 
HLTConfigProvider fHltConfig_
 
MonitorElementh_btagTurnOn_den_
 
MonitorElementh_btagTurnOn_num_
 
MonitorElementh_CSVTurnOn_den_
 
MonitorElementh_CSVTurnOn_num_
 
MonitorElementh_HT_
 
MonitorElementh_leptonTurnOn_den_
 
MonitorElementh_leptonTurnOn_num_
 
MonitorElementh_maxCSV_
 
MonitorElementh_MET_
 
MonitorElementh_pfHTTurnOn_den_
 
MonitorElementh_pfHTTurnOn_num_
 
MonitorElementh_pfMetTurnOn_den_
 
MonitorElementh_pfMetTurnOn_num_
 
MonitorElementh_triggerLepEta_
 
MonitorElementh_triggerLepPhi_
 
MonitorElementh_triggerLepPt_
 
std::string HLTProcess_
 
double ht_threshold_
 
double htCut_
 
double jetEtaCut_
 
double jetPtCut_
 
double lep_pt_threshold_
 
double met_threshold_
 
double metCut_
 
edm::EDGetTokenT< reco::BeamSpottheBeamSpot_
 
edm::InputTag theBeamSpotTag_
 
edm::EDGetTokenT< reco::ConversionCollectiontheConversionCollection_
 
edm::InputTag theConversionCollectionTag_
 
edm::EDGetTokenT< reco::GsfElectronCollectiontheElectronCollection_
 
edm::InputTag theElectronTag_
 
edm::EDGetTokenT< reco::METCollectiontheHLTHT_
 
edm::InputTag theHLTHTTag_
 
edm::EDGetTokenT< reco::CaloJetCollectiontheHLTJetCollection_
 
edm::InputTag theHLTJetCollectionTag_
 
edm::EDGetTokenT< reco::JetTagCollectiontheHLTJetTagCollection_
 
edm::InputTag theHLTJetTagCollectionTag_
 
edm::EDGetTokenT< reco::METCollectiontheHLTMET_
 
edm::InputTag theHLTMETTag_
 
edm::EDGetTokenT< reco::JetTagCollectiontheJetTagCollection_
 
edm::InputTag theJetTagTag_
 
edm::InputTag theLeptonFilterTag_
 
edm::EDGetTokenT< reco::MuonCollectiontheMuonCollection_
 
edm::InputTag theMuonTag_
 
edm::EDGetTokenT< reco::PFJetCollectionthePfJetCollection_
 
edm::InputTag thePfJetTag_
 
edm::EDGetTokenT< reco::PFMETCollectionthePfMETCollection_
 
edm::InputTag thePfMETTag_
 
edm::EDGetTokenT< edm::TriggerResultstheTriggerResults_
 
edm::InputTag theTriggerResultsTag_
 
edm::EDGetTokenT< trigger::TriggerEventtheTrigSummary_
 
edm::InputTag theTrigSummaryTag_
 
edm::EDGetTokenT< reco::VertexCollectiontheVertexCollection_
 
edm::InputTag theVertexCollectionTag_
 
std::string triggerPath_
 
std::string triggerPathAuxiliary_
 
std::string triggerPathLeptonAuxiliary_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- 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 &)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 48 of file SUSY_HLT_SingleLepton.h.

Constructor & Destructor Documentation

◆ SUSY_HLT_SingleLepton()

SUSY_HLT_SingleLepton::SUSY_HLT_SingleLepton ( const edm::ParameterSet ps)

Definition at line 164 of file SUSY_HLT_SingleLepton.cc.

165  : theElectronTag_(ps.getParameter<edm::InputTag>("electronCollection")),
166  theElectronCollection_(consumes<reco::GsfElectronCollection>(theElectronTag_)),
167  theMuonTag_(ps.getParameter<edm::InputTag>("muonCollection")),
168  theMuonCollection_(consumes<reco::MuonCollection>(theMuonTag_)),
169  thePfMETTag_(ps.getParameter<edm::InputTag>("pfMetCollection")),
170  thePfMETCollection_(consumes<reco::PFMETCollection>(thePfMETTag_)),
171  thePfJetTag_(ps.getParameter<edm::InputTag>("pfJetCollection")),
172  thePfJetCollection_(consumes<reco::PFJetCollection>(thePfJetTag_)),
173  theJetTagTag_(ps.getParameter<edm::InputTag>("jetTagCollection")),
174  theJetTagCollection_(consumes<reco::JetTagCollection>(theJetTagTag_)),
175 
176  theVertexCollectionTag_(ps.getParameter<edm::InputTag>("vertexCollection")),
177  theVertexCollection_(consumes<reco::VertexCollection>(theVertexCollectionTag_)),
178  theConversionCollectionTag_(ps.getParameter<edm::InputTag>("conversionCollection")),
179  theConversionCollection_(consumes<reco::ConversionCollection>(theConversionCollectionTag_)),
180  theBeamSpotTag_(ps.getParameter<edm::InputTag>("beamSpot")),
181  theBeamSpot_(consumes<reco::BeamSpot>(theBeamSpotTag_)),
182 
183  theLeptonFilterTag_(ps.getParameter<edm::InputTag>("leptonFilter")),
185  theHLTHT_(consumes<reco::METCollection>(theHLTHTTag_)),
187  theHLTMET_(consumes<reco::METCollection>(theHLTMETTag_)),
189  theHLTJetCollection_(consumes<reco::CaloJetCollection>(theHLTJetCollectionTag_)),
191  theHLTJetTagCollection_(consumes<reco::JetTagCollection>(theHLTJetTagCollectionTag_)),
192 
193  theTriggerResultsTag_(ps.getParameter<edm::InputTag>("triggerResults")),
194  theTriggerResults_(consumes<edm::TriggerResults>(theTriggerResultsTag_)),
195  theTrigSummaryTag_(ps.getParameter<edm::InputTag>("trigSummary")),
196  theTrigSummary_(consumes<trigger::TriggerEvent>(theTrigSummaryTag_)),
197 
198  fHltConfig_(),
199 
200  HLTProcess_(ps.getParameter<std::string>("hltProcess")),
201 
202  triggerPath_(ps.getParameter<std::string>("triggerPath")),
203  triggerPathAuxiliary_(ps.getParameter<std::string>("triggerPathAuxiliary")),
204  triggerPathLeptonAuxiliary_(ps.getParameter<std::string>("triggerPathLeptonAuxiliary")),
205 
206  csvlCut_(ps.getUntrackedParameter<double>("csvlCut")),
207  csvmCut_(ps.getUntrackedParameter<double>("csvmCut")),
208  csvtCut_(ps.getUntrackedParameter<double>("csvtCut")),
209 
210  jetPtCut_(ps.getUntrackedParameter<double>("jetPtCut")),
211  jetEtaCut_(ps.getUntrackedParameter<double>("jetEtaCut")),
212  metCut_(ps.getUntrackedParameter<double>("metCut")),
213  htCut_(ps.getUntrackedParameter<double>("htCut")),
214 
215  lep_pt_threshold_(ps.getUntrackedParameter<double>("leptonPtThreshold")),
216  ht_threshold_(ps.getUntrackedParameter<double>("htThreshold")),
217  met_threshold_(ps.getUntrackedParameter<double>("metThreshold")),
218  csv_threshold_(ps.getUntrackedParameter<double>("csvThreshold")),
219 
220  h_triggerLepPt_(nullptr),
221  h_triggerLepEta_(nullptr),
222  h_triggerLepPhi_(nullptr),
223  h_HT_(nullptr),
224  h_MET_(nullptr),
225  h_maxCSV_(nullptr),
226  h_leptonTurnOn_num_(nullptr),
227  h_leptonTurnOn_den_(nullptr),
228  h_pfHTTurnOn_num_(nullptr),
229  h_pfHTTurnOn_den_(nullptr),
230  h_pfMetTurnOn_num_(nullptr),
231  h_pfMetTurnOn_den_(nullptr),
232  h_CSVTurnOn_num_(nullptr),
233  h_CSVTurnOn_den_(nullptr),
234  h_btagTurnOn_num_(nullptr),
235  h_btagTurnOn_den_(nullptr) {
236  edm::LogInfo("SUSY_HLT_SingleLepton") << "Constructor SUSY_HLT_SingleLepton::SUSY_HLT_SingleLepton\n";
237 }

◆ ~SUSY_HLT_SingleLepton()

SUSY_HLT_SingleLepton::~SUSY_HLT_SingleLepton ( )
override

Definition at line 239 of file SUSY_HLT_SingleLepton.cc.

239  {
240  edm::LogInfo("SUSY_HLT_SingleLepton") << "Destructor SUSY_HLT_SingleLepton::~SUSY_HLT_SingleLepton\n";
241 }

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 330 of file SUSY_HLT_SingleLepton.cc.

330  {
331  edm::LogInfo("SUSY_HLT_SingleLepton") << "SUSY_HLT_SingleLepton::analyze\n";
332 
333  // HLT HT
335  if (!theHLTHTTag_.label().empty()) {
336  e.getByToken(theHLTHT_, HLTHT);
337  if (!HLTHT.isValid()) {
338  edm::LogInfo("SUSY_HLT_SingleLepton") << "Invalid METCollection: " << theHLTHTTag_.label() << '\n';
339  }
340  }
341 
342  // HLT MET
344  if (!theHLTMETTag_.label().empty()) {
345  e.getByToken(theHLTMET_, HLTMET);
346  if (!HLTMET.isValid()) {
347  edm::LogInfo("SUSY_HLT_SingleLepton") << "Invalid METCollection: " << theHLTMETTag_.label() << '\n';
348  }
349  }
350 
351  // HLT Jets
352  edm::Handle<reco::CaloJetCollection> HLTJetCollection;
353  if (!theHLTJetCollectionTag_.label().empty()) {
354  e.getByToken(theHLTJetCollection_, HLTJetCollection);
355  if (!HLTJetCollection.isValid()) {
356  edm::LogInfo("SUSY_HLT_SingleLepton") << "Invalid CaloJetCollection: " << theHLTJetCollectionTag_.label() << '\n';
357  }
358  }
359 
360  // HLT Jet Tags
361  edm::Handle<reco::JetTagCollection> HLTJetTagCollection;
362  if (!theHLTJetTagCollectionTag_.label().empty()) {
363  e.getByToken(theHLTJetTagCollection_, HLTJetTagCollection);
364  if (!HLTJetTagCollection.isValid()) {
365  edm::LogInfo("SUSY_HLT_SingleLepton")
366  << "Invalid JetTagCollection: " << theHLTJetTagCollectionTag_.label() << '\n';
367  }
368  }
369 
370  // Vertex
372  if (!theVertexCollectionTag_.label().empty()) {
374  if (!VertexCollection.isValid()) {
375  edm::LogWarning("SUSY_HLT_SingleLepton")
376  << "Invalid VertexCollection: " << theVertexCollectionTag_.label() << '\n';
377  }
378  }
379 
380  // Conversions
382  if (!theConversionCollectionTag_.label().empty()) {
384  if (!ConversionCollection.isValid()) {
385  edm::LogWarning("SUSY_HLT_SingleLepton")
386  << "Invalid ConversionCollection: " << theConversionCollectionTag_.label() << '\n';
387  }
388  }
389 
390  // Beam Spot
392  if (!theBeamSpotTag_.label().empty()) {
393  e.getByToken(theBeamSpot_, BeamSpot);
394  if (!BeamSpot.isValid()) {
395  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid BeamSpot: " << theBeamSpotTag_.label() << '\n';
396  }
397  }
398 
399  // MET
401  if (!thePfMETTag_.label().empty()) {
403  if (!pfMETCollection.isValid()) {
404  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid PFMETCollection: " << thePfMETTag_.label() << '\n';
405  }
406  }
407 
408  // Jets
410  if (!thePfJetTag_.label().empty()) {
412  if (!pfJetCollection.isValid()) {
413  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid PFJetCollection: " << thePfJetTag_.label() << '\n';
414  }
415  }
416 
417  // b-tags
419  if (!theJetTagTag_.label().empty()) {
421  if (!jetTagCollection.isValid()) {
422  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid JetTagCollection: " << theJetTagTag_.label() << '\n';
423  }
424  }
425 
426  // Electron
428  if (!theElectronTag_.label().empty()) {
430  if (!ElectronCollection.isValid()) {
431  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid GsfElectronCollection: " << theElectronTag_.label() << '\n';
432  }
433  }
434 
435  // Muon
437  if (!theMuonTag_.label().empty()) {
438  e.getByToken(theMuonCollection_, MuonCollection);
439  if (!MuonCollection.isValid()) {
440  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid MuonCollection: " << theMuonTag_.label() << '\n';
441  }
442  }
443 
444  // Trigger
446  if (!theTriggerResultsTag_.label().empty()) {
447  e.getByToken(theTriggerResults_, hltresults);
448  if (!hltresults.isValid()) {
449  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid TriggerResults: " << theTriggerResultsTag_.label() << '\n';
450  }
451  }
453  if (!theTrigSummaryTag_.label().empty()) {
454  e.getByToken(theTrigSummary_, triggerSummary);
455  if (!triggerSummary.isValid()) {
456  edm::LogWarning("SUSY_HLT_SingleLepton") << "Invalid TriggerEvent: " << theTrigSummaryTag_.label() << '\n';
457  }
458  }
459 
460  // Get online leptons
461  std::vector<float> ptLepton, etaLepton, phiLepton;
462  if (triggerSummary.isValid()) {
463  // Leptons
464  size_t filterIndex = triggerSummary->filterIndex(theLeptonFilterTag_);
466  if (!(filterIndex >= triggerSummary->sizeFilters())) {
467  size_t ilep = 0, num_keys = triggerSummary->filterKeys(filterIndex).size();
468  ptLepton.resize(num_keys);
469  etaLepton.resize(num_keys);
470  phiLepton.resize(num_keys);
471  for (const auto &key : triggerSummary->filterKeys(filterIndex)) {
472  const trigger::TriggerObject &foundObject = triggerObjects[key];
473 
474  if (h_triggerLepPt_)
475  h_triggerLepPt_->Fill(foundObject.pt());
476  if (h_triggerLepEta_)
477  h_triggerLepEta_->Fill(foundObject.eta());
478  if (h_triggerLepPhi_)
479  h_triggerLepPhi_->Fill(foundObject.phi());
480 
481  ptLepton.at(ilep) = foundObject.pt();
482  etaLepton.at(ilep) = foundObject.eta();
483  phiLepton.at(ilep) = foundObject.phi();
484  ++ilep;
485  }
486  }
487  }
488 
489  // Get online ht and met
490  const float hlt_ht = ((HLTHT.isValid() && !HLTHT->empty()) ? HLTHT->front().sumEt() : -1.0);
491  if (h_HT_)
492  h_HT_->Fill(hlt_ht);
493  const float hlt_met = ((HLTMET.isValid() && !HLTMET->empty()) ? HLTMET->front().pt() : -1.0);
494  if (h_MET_)
495  h_MET_->Fill(hlt_met);
496 
497  // Get online csv and fill plot
498  float hlt_csv = -1.0;
499  if (HLTJetCollection.isValid() && HLTJetTagCollection.isValid()) {
500  for (const auto &jet : *HLTJetTagCollection) {
501  if (jet.second > hlt_csv)
502  hlt_csv = jet.second;
503  }
504  }
505  if (h_maxCSV_)
506  h_maxCSV_->Fill(hlt_csv);
507 
508  // Test whether main and auxilliary triggers fired
509  bool hasFired = false;
510  bool hasFiredAuxiliary = false;
511  bool hasFiredLeptonAuxiliary = false;
512  if (hltresults.isValid()) {
513  const edm::TriggerNames &trigNames = e.triggerNames(*hltresults);
514  for (unsigned int hltIndex = 0; hltIndex < trigNames.size(); ++hltIndex) {
515  if (hltresults->wasrun(hltIndex) && hltresults->accept(hltIndex)) {
516  const std::string &name = trigNames.triggerName(hltIndex);
517  if (Contains(name, triggerPath_))
518  hasFired = true;
519  if (Contains(name, triggerPathAuxiliary_))
520  hasFiredAuxiliary = true;
521  if (Contains(name, triggerPathLeptonAuxiliary_))
522  hasFiredLeptonAuxiliary = true;
523  }
524  }
525  }
526 
527  // Get offline HT
528  double pfHT = -1.0;
529  if (pfJetCollection.isValid()) {
530  pfHT = 0.0;
531  for (const auto &pfjet : *pfJetCollection) {
532  if (pfjet.pt() < jetPtCut_)
533  continue;
534  if (fabs(pfjet.eta()) > jetEtaCut_)
535  continue;
536  pfHT += pfjet.pt();
537  }
538  }
539 
540  // Get offline MET
541  double pfMET = -1.0;
542  if (pfMETCollection.isValid() && !pfMETCollection->empty()) {
543  pfMET = pfMETCollection->front().et();
544  }
545 
546  // Get offline b-tagging info
547  float maxCSV = -1.0;
548  unsigned num_csvl = 0;
549  unsigned num_csvm = 0;
550  unsigned num_csvt = 0;
551  if (jetTagCollection.isValid()) {
552  for (const auto &jet : *jetTagCollection) {
553  const float CSV = jet.second;
554  if (jet.first->pt() > jetPtCut_) {
555  if (CSV > maxCSV) {
556  maxCSV = CSV;
557  }
558  if (CSV > csvlCut_) {
559  ++num_csvl;
560  if (CSV > csvmCut_) {
561  ++num_csvm;
562  if (CSV > csvtCut_) {
563  ++num_csvt;
564  }
565  }
566  }
567  }
568  }
569  }
570  if (h_maxCSV_)
571  h_maxCSV_->Fill(maxCSV);
572 
573  // Fill lepton pt efficiency plot
574  double lep_max_pt = -1.0;
575  if (VertexCollection.isValid() && !VertexCollection->empty()) { // for quality checks
576  // Try to find a reco electron
577  if (ElectronCollection.isValid() && ConversionCollection.isValid() && BeamSpot.isValid()) {
578  for (const auto &electron : *ElectronCollection) {
579  if (IsGood(electron, VertexCollection->front().position(), BeamSpot->position(), ConversionCollection)) {
580  if (electron.pt() > lep_max_pt)
581  lep_max_pt = electron.pt();
582  }
583  }
584  }
585 
586  // Try to find a reco muon
587  if (MuonCollection.isValid()) {
588  for (const auto &muon : *MuonCollection) {
589  if (IsGood(muon, VertexCollection->front().position())) {
590  if (muon.pt() > lep_max_pt) {
591  lep_max_pt = muon.pt();
592  }
593  }
594  }
595  }
596  }
597 
598  const bool lep_plateau = lep_max_pt > lep_pt_threshold_ || lep_pt_threshold_ < 0.0;
599  const bool ht_plateau = pfHT > ht_threshold_ || ht_threshold_ < 0.0;
600  const bool met_plateau = pfMET > met_threshold_ || met_threshold_ < 0.0;
601  const bool csv_plateau = maxCSV > csv_threshold_ || csv_threshold_ < 0.0;
602 
603  // Fill lepton turn-on histograms
604  if (hasFiredLeptonAuxiliary || triggerPathLeptonAuxiliary_.empty() || !e.isRealData()) {
605  // Fill histograms using highest pt reco lepton
606  if (ht_plateau && met_plateau && csv_plateau && (pfMET > metCut_ || metCut_ < 0.0) &&
607  (pfHT > htCut_ || htCut_ < 0.0)) {
609  h_leptonTurnOn_den_->Fill(lep_max_pt);
610  if (h_leptonTurnOn_num_ && hasFired)
611  h_leptonTurnOn_num_->Fill(lep_max_pt);
612  }
613  }
614 
615  // Fill remaining turn-on histograms
616  if (hasFiredAuxiliary || triggerPathAuxiliary_.empty() || !e.isRealData()) {
617  // Fill HT efficiency plot
618  if (lep_plateau && met_plateau && csv_plateau) {
619  if (h_pfHTTurnOn_den_)
620  h_pfHTTurnOn_den_->Fill(pfHT);
621  if (h_pfHTTurnOn_num_ && hasFired)
622  h_pfHTTurnOn_num_->Fill(pfHT);
623  }
624 
625  // Fill MET efficiency plot
626  if (lep_plateau && ht_plateau && csv_plateau) {
627  if (h_pfMetTurnOn_den_)
629  if (h_pfMetTurnOn_num_ && hasFired)
631  }
632 
633  // Fill CSV efficiency plot
634  if (lep_plateau && ht_plateau && met_plateau) {
635  if (h_CSVTurnOn_den_)
636  h_CSVTurnOn_den_->Fill(maxCSV);
637  if (h_CSVTurnOn_num_ && hasFired)
638  h_CSVTurnOn_num_->Fill(maxCSV);
639 
640  if (h_btagTurnOn_den_) {
641  switch (num_csvl) {
642  default:
644  [[fallthrough]];
645  case 3:
647  [[fallthrough]];
648  case 2:
650  [[fallthrough]];
651  case 1:
653  [[fallthrough]];
654  case 0:
656  }
657  switch (num_csvm) {
658  default:
660  [[fallthrough]];
661  case 3:
663  [[fallthrough]];
664  case 2:
666  [[fallthrough]];
667  case 1:
669  [[fallthrough]];
670  case 0:
671  break; // Don't double count in the no tag bin
672  }
673  switch (num_csvt) {
674  default:
675  h_btagTurnOn_den_->Fill(12);
676  [[fallthrough]];
677  case 3:
678  h_btagTurnOn_den_->Fill(11);
679  [[fallthrough]];
680  case 2:
681  h_btagTurnOn_den_->Fill(10);
682  [[fallthrough]];
683  case 1:
685  [[fallthrough]];
686  case 0:
687  break; // Don't double count in the no tag bin
688  }
689  }
690  if (h_btagTurnOn_num_ && hasFired) {
691  switch (num_csvl) {
692  default:
694  [[fallthrough]];
695  case 3:
697  [[fallthrough]];
698  case 2:
700  [[fallthrough]];
701  case 1:
703  [[fallthrough]];
704  case 0:
706  }
707  switch (num_csvm) {
708  default:
710  [[fallthrough]];
711  case 3:
713  [[fallthrough]];
714  case 2:
716  [[fallthrough]];
717  case 1:
719  [[fallthrough]];
720  case 0:
721  break; // Don't double count in the no tag bin
722  }
723  switch (num_csvt) {
724  default:
725  h_btagTurnOn_num_->Fill(12);
726  [[fallthrough]];
727  case 3:
728  h_btagTurnOn_num_->Fill(11);
729  [[fallthrough]];
730  case 2:
731  h_btagTurnOn_num_->Fill(10);
732  [[fallthrough]];
733  case 1:
735  [[fallthrough]];
736  case 0:
737  break; // Don't double count in the no tag bin
738  }
739  }
740  }
741  }
742 }

References align::BeamSpot, csv_threshold_, csvlCut_, csvmCut_, csvtCut_, MillePedeFileConverter_cfg::e, metsig::electron, trigger::TriggerObject::eta(), dqm::impl::MonitorElement::Fill(), h_btagTurnOn_den_, h_btagTurnOn_num_, h_CSVTurnOn_den_, h_CSVTurnOn_num_, h_HT_, h_leptonTurnOn_den_, h_leptonTurnOn_num_, h_maxCSV_, h_MET_, h_pfHTTurnOn_den_, h_pfHTTurnOn_num_, h_pfMetTurnOn_den_, h_pfMetTurnOn_num_, h_triggerLepEta_, h_triggerLepPhi_, h_triggerLepPt_, HLTBitAnalyser_cfi::hltresults, ht_threshold_, htCut_, edm::HandleBase::isValid(), metsig::jet, jetEtaCut_, jetPtCut_, LepHTMonitor_cff::jetTagCollection, crabWrapper::key, edm::InputTag::label(), lep_pt_threshold_, met_threshold_, metCut_, Skims_PA_cff::name, ExoticaDQM_cfi::pfJetCollection, pfMETBenchmark_cfi::pfMET, B2GDQM_cfi::pfMETCollection, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamSpot_, theBeamSpotTag_, theConversionCollection_, theConversionCollectionTag_, theElectronCollection_, theElectronTag_, theHLTHT_, theHLTHTTag_, theHLTJetCollection_, theHLTJetCollectionTag_, theHLTJetTagCollection_, theHLTJetTagCollectionTag_, theHLTMET_, theHLTMETTag_, theJetTagCollection_, theJetTagTag_, theLeptonFilterTag_, theMuonCollection_, theMuonTag_, thePfJetCollection_, thePfJetTag_, thePfMETCollection_, thePfMETTag_, theTriggerResults_, theTriggerResultsTag_, theTrigSummary_, theTrigSummaryTag_, theVertexCollection_, theVertexCollectionTag_, triggerMatchMonitor_cfi::triggerObjects, triggerPath_, triggerPathAuxiliary_, triggerPathLeptonAuxiliary_, HLTMuonOfflineAnalyzer_cfi::triggerSummary, and trigNames.

◆ bookHistograms()

void SUSY_HLT_SingleLepton::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run ,
const edm::EventSetup  
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 265 of file SUSY_HLT_SingleLepton.cc.

265  {
266  edm::LogInfo("SUSY_HLT_SingleLepton") << "SUSY_HLT_SingleLepton::bookHistograms\n";
267  // book at beginRun
268  ibooker.cd();
269  ibooker.setCurrentFolder("HLT/SUSYBSM/" + triggerPath_);
270 
271  bool is_mu = false;
272  bool is_ele = false;
273  if (theElectronTag_.label().empty() && !theMuonTag_.label().empty()) {
274  is_mu = true;
275  } else if (!theElectronTag_.label().empty() && theMuonTag_.label().empty()) {
276  is_ele = true;
277  }
278  std::string lepton = "lepton", Lepton = "Lepton";
279  if (is_mu && !is_ele) {
280  lepton = "muon";
281  Lepton = "Muon";
282  } else if (is_ele && !is_mu) {
283  lepton = "electron";
284  Lepton = "Electron";
285  }
286 
287  // online quantities
288  h_triggerLepPt_ = ibooker.book1D("triggerLepPt", (";" + Lepton + " p_{T} [GeV];").c_str(), 20, 0.0, 500.0);
289  h_triggerLepEta_ = ibooker.book1D("triggerLepEta", (";" + Lepton + " #eta;").c_str(), 20, -3.0, 3.0);
290  h_triggerLepPhi_ = ibooker.book1D("triggerLepPhi", (";" + Lepton + " #phi;").c_str(), 20, -3.5, 3.5);
291 
292  if (!theHLTHTTag_.label().empty()) {
293  h_HT_ = ibooker.book1D("HT", ";HLT HT [GeV];", 40, 0.0, 1000.0);
294  }
295 
296  if (!theHLTMETTag_.label().empty()) {
297  h_MET_ = ibooker.book1D("MET", ";HLT MET [GeV];", 40, 0.0, 1000.0);
298  }
299 
300  if (!theHLTJetCollectionTag_.label().empty() && !theHLTJetTagCollectionTag_.label().empty()) {
301  h_maxCSV_ = ibooker.book1D("maxCSV", ";Max HLT CSV;", 20, 0.0, 1.0);
302  }
303 
304  // num and den hists to be divided in harvesting step to make turn on curves
306  ibooker.book1D("leptonTurnOn_num", ("Numerator;Offline " + lepton + " p_{T} [GeV];").c_str(), 30, 0.0, 150);
308  ibooker.book1D("leptonTurnOn_den", ("Denominator;Offline " + lepton + " p_{T} [GeV];").c_str(), 30, 0.0, 150.0);
309  h_pfHTTurnOn_num_ = ibooker.book1D("pfHTTurnOn_num", "Numerator;Offline H_{T} [GeV];", 30, 0.0, 1500.0);
310  h_pfHTTurnOn_den_ = ibooker.book1D("pfHTTurnOn_den", "Denominator;Offline H_{T} [GeV];", 30, 0.0, 1500.0);
311 
312  if (!theHLTMETTag_.label().empty()) {
313  h_pfMetTurnOn_num_ = ibooker.book1D("pfMetTurnOn_num", "Numerator;Offline MET [GeV];", 20, 0.0, 500.0);
314  h_pfMetTurnOn_den_ = ibooker.book1D("pfMetTurnOn_den", "Denominator;Offline MET [GeV];", 20, 0.0, 500.0);
315  }
316 
317  if (!theHLTJetCollectionTag_.label().empty() && !theHLTJetTagCollectionTag_.label().empty()) {
318  h_CSVTurnOn_num_ = ibooker.book1D("CSVTurnOn_num", "Numerator;Offline Max CSV Discriminant;", 20, 0.0, 1.0);
319  h_CSVTurnOn_den_ = ibooker.book1D("CSVTurnOn_den", "Denominator;Offline Max CSV Discriminant;", 20, 0.0, 1.0);
320 
321  h_btagTurnOn_num_ = ibooker.book1D("btagTurnOn_num", "Numerator;Offline CSV Requirement;", 13, -0.5, 12.5);
322  h_btagTurnOn_den_ = ibooker.book1D("btagTurnOn_den", "Denominator;Offline CSV Requirements;", 13, -0.5, 12.5);
323 
324  SetBinLabels(h_btagTurnOn_num_);
325  SetBinLabels(h_btagTurnOn_den_);
326  }
327  ibooker.cd();
328 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::cd(), h_btagTurnOn_den_, h_btagTurnOn_num_, h_CSVTurnOn_den_, h_CSVTurnOn_num_, h_HT_, h_leptonTurnOn_den_, h_leptonTurnOn_num_, h_maxCSV_, h_MET_, h_pfHTTurnOn_den_, h_pfHTTurnOn_num_, h_pfMetTurnOn_den_, h_pfMetTurnOn_num_, h_triggerLepEta_, h_triggerLepPhi_, h_triggerLepPt_, edm::InputTag::label(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theElectronTag_, theHLTHTTag_, theHLTJetCollectionTag_, theHLTJetTagCollectionTag_, theHLTMETTag_, theMuonTag_, and triggerPath_.

◆ dqmBeginRun()

void SUSY_HLT_SingleLepton::dqmBeginRun ( const edm::Run run,
const edm::EventSetup e 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 243 of file SUSY_HLT_SingleLepton.cc.

243  {
244  bool changed;
245 
246  if (!fHltConfig_.init(run, e, HLTProcess_, changed)) {
247  edm::LogError("SUSY_HLT_SingleLepton") << "Initialization of HLTConfigProvider failed!!\n";
248  return;
249  }
250 
251  bool pathFound = false;
252  for (const auto &trig_name : fHltConfig_.triggerNames()) {
253  if (Contains(trig_name, triggerPath_))
254  pathFound = true;
255  }
256 
257  if (!pathFound) {
258  LogDebug("SUSY_HLT_SingleLepton") << "Path not found: " << triggerPath_ << '\n';
259  return;
260  }
261 
262  edm::LogInfo("SUSY_HLT_SingleLepton") << "SUSY_HLT_SingleLepton::beginRun\n";
263 }

References MillePedeFileConverter_cfg::e, fHltConfig_, HLTProcess_, HLTConfigProvider::init(), LogDebug, writedatasetfile::run, HLTConfigProvider::triggerNames(), and triggerPath_.

Member Data Documentation

◆ csv_threshold_

double SUSY_HLT_SingleLepton::csv_threshold_
private

Definition at line 113 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ csvlCut_

double SUSY_HLT_SingleLepton::csvlCut_
private

Definition at line 101 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ csvmCut_

double SUSY_HLT_SingleLepton::csvmCut_
private

Definition at line 102 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ csvtCut_

double SUSY_HLT_SingleLepton::csvtCut_
private

Definition at line 103 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ fHltConfig_

HLTConfigProvider SUSY_HLT_SingleLepton::fHltConfig_
private

Definition at line 93 of file SUSY_HLT_SingleLepton.h.

Referenced by dqmBeginRun().

◆ h_btagTurnOn_den_

MonitorElement* SUSY_HLT_SingleLepton::h_btagTurnOn_den_
private

Definition at line 131 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_btagTurnOn_num_

MonitorElement* SUSY_HLT_SingleLepton::h_btagTurnOn_num_
private

Definition at line 130 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_CSVTurnOn_den_

MonitorElement* SUSY_HLT_SingleLepton::h_CSVTurnOn_den_
private

Definition at line 129 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_CSVTurnOn_num_

MonitorElement* SUSY_HLT_SingleLepton::h_CSVTurnOn_num_
private

Definition at line 128 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_HT_

MonitorElement* SUSY_HLT_SingleLepton::h_HT_
private

Definition at line 119 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_leptonTurnOn_den_

MonitorElement* SUSY_HLT_SingleLepton::h_leptonTurnOn_den_
private

Definition at line 123 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_leptonTurnOn_num_

MonitorElement* SUSY_HLT_SingleLepton::h_leptonTurnOn_num_
private

Definition at line 122 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_maxCSV_

MonitorElement* SUSY_HLT_SingleLepton::h_maxCSV_
private

Definition at line 121 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_MET_

MonitorElement* SUSY_HLT_SingleLepton::h_MET_
private

Definition at line 120 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_den_

MonitorElement* SUSY_HLT_SingleLepton::h_pfHTTurnOn_den_
private

Definition at line 125 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_pfHTTurnOn_num_

MonitorElement* SUSY_HLT_SingleLepton::h_pfHTTurnOn_num_
private

Definition at line 124 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_pfMetTurnOn_den_

MonitorElement* SUSY_HLT_SingleLepton::h_pfMetTurnOn_den_
private

Definition at line 127 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_pfMetTurnOn_num_

MonitorElement* SUSY_HLT_SingleLepton::h_pfMetTurnOn_num_
private

Definition at line 126 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_triggerLepEta_

MonitorElement* SUSY_HLT_SingleLepton::h_triggerLepEta_
private

Definition at line 117 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_triggerLepPhi_

MonitorElement* SUSY_HLT_SingleLepton::h_triggerLepPhi_
private

Definition at line 118 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ h_triggerLepPt_

MonitorElement* SUSY_HLT_SingleLepton::h_triggerLepPt_
private

Definition at line 116 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ HLTProcess_

std::string SUSY_HLT_SingleLepton::HLTProcess_
private

Definition at line 95 of file SUSY_HLT_SingleLepton.h.

Referenced by dqmBeginRun().

◆ ht_threshold_

double SUSY_HLT_SingleLepton::ht_threshold_
private

Definition at line 111 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ htCut_

double SUSY_HLT_SingleLepton::htCut_
private

Definition at line 108 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ jetEtaCut_

double SUSY_HLT_SingleLepton::jetEtaCut_
private

Definition at line 106 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ jetPtCut_

double SUSY_HLT_SingleLepton::jetPtCut_
private

Definition at line 105 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ lep_pt_threshold_

double SUSY_HLT_SingleLepton::lep_pt_threshold_
private

Definition at line 110 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ met_threshold_

double SUSY_HLT_SingleLepton::met_threshold_
private

Definition at line 112 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ metCut_

double SUSY_HLT_SingleLepton::metCut_
private

Definition at line 107 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theBeamSpot_

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

Definition at line 76 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theBeamSpotTag_

edm::InputTag SUSY_HLT_SingleLepton::theBeamSpotTag_
private

Definition at line 75 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theConversionCollection_

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

Definition at line 74 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theConversionCollectionTag_

edm::InputTag SUSY_HLT_SingleLepton::theConversionCollectionTag_
private

Definition at line 73 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theElectronCollection_

edm::EDGetTokenT<reco::GsfElectronCollection> SUSY_HLT_SingleLepton::theElectronCollection_
private

Definition at line 61 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theElectronTag_

edm::InputTag SUSY_HLT_SingleLepton::theElectronTag_
private

Definition at line 60 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ theHLTHT_

edm::EDGetTokenT<reco::METCollection> SUSY_HLT_SingleLepton::theHLTHT_
private

Definition at line 80 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theHLTHTTag_

edm::InputTag SUSY_HLT_SingleLepton::theHLTHTTag_
private

Definition at line 79 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ theHLTJetCollection_

edm::EDGetTokenT<reco::CaloJetCollection> SUSY_HLT_SingleLepton::theHLTJetCollection_
private

Definition at line 84 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theHLTJetCollectionTag_

edm::InputTag SUSY_HLT_SingleLepton::theHLTJetCollectionTag_
private

Definition at line 83 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ theHLTJetTagCollection_

edm::EDGetTokenT<reco::JetTagCollection> SUSY_HLT_SingleLepton::theHLTJetTagCollection_
private

Definition at line 86 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theHLTJetTagCollectionTag_

edm::InputTag SUSY_HLT_SingleLepton::theHLTJetTagCollectionTag_
private

Definition at line 85 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ theHLTMET_

edm::EDGetTokenT<reco::METCollection> SUSY_HLT_SingleLepton::theHLTMET_
private

Definition at line 82 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theHLTMETTag_

edm::InputTag SUSY_HLT_SingleLepton::theHLTMETTag_
private

Definition at line 81 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ theJetTagCollection_

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

Definition at line 69 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theJetTagTag_

edm::InputTag SUSY_HLT_SingleLepton::theJetTagTag_
private

Definition at line 68 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theLeptonFilterTag_

edm::InputTag SUSY_HLT_SingleLepton::theLeptonFilterTag_
private

Definition at line 78 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theMuonCollection_

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

Definition at line 63 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theMuonTag_

edm::InputTag SUSY_HLT_SingleLepton::theMuonTag_
private

Definition at line 62 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze(), and bookHistograms().

◆ thePfJetCollection_

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

Definition at line 67 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ thePfJetTag_

edm::InputTag SUSY_HLT_SingleLepton::thePfJetTag_
private

Definition at line 66 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ thePfMETCollection_

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

Definition at line 65 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ thePfMETTag_

edm::InputTag SUSY_HLT_SingleLepton::thePfMETTag_
private

Definition at line 64 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theTriggerResults_

edm::EDGetTokenT<edm::TriggerResults> SUSY_HLT_SingleLepton::theTriggerResults_
private

Definition at line 89 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theTriggerResultsTag_

edm::InputTag SUSY_HLT_SingleLepton::theTriggerResultsTag_
private

Definition at line 88 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theTrigSummary_

edm::EDGetTokenT<trigger::TriggerEvent> SUSY_HLT_SingleLepton::theTrigSummary_
private

Definition at line 91 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theTrigSummaryTag_

edm::InputTag SUSY_HLT_SingleLepton::theTrigSummaryTag_
private

Definition at line 90 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theVertexCollection_

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

Definition at line 72 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ theVertexCollectionTag_

edm::InputTag SUSY_HLT_SingleLepton::theVertexCollectionTag_
private

Definition at line 71 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ triggerPath_

std::string SUSY_HLT_SingleLepton::triggerPath_
private

Definition at line 97 of file SUSY_HLT_SingleLepton.h.

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

◆ triggerPathAuxiliary_

std::string SUSY_HLT_SingleLepton::triggerPathAuxiliary_
private

Definition at line 98 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

◆ triggerPathLeptonAuxiliary_

std::string SUSY_HLT_SingleLepton::triggerPathLeptonAuxiliary_
private

Definition at line 99 of file SUSY_HLT_SingleLepton.h.

Referenced by analyze().

SUSY_HLT_SingleLepton::theHLTHT_
edm::EDGetTokenT< reco::METCollection > theHLTHT_
Definition: SUSY_HLT_SingleLepton.h:80
SUSY_HLT_SingleLepton::jetEtaCut_
double jetEtaCut_
Definition: SUSY_HLT_SingleLepton.h:106
trigger::TriggerObject::phi
float phi() const
Definition: TriggerObject.h:54
LepHTMonitor_cff.jetTagCollection
jetTagCollection
Definition: LepHTMonitor_cff.py:15
SUSY_HLT_SingleLepton::theElectronTag_
edm::InputTag theElectronTag_
Definition: SUSY_HLT_SingleLepton.h:60
trigNames
static const char *const trigNames[]
Definition: EcalDumpRaw.cc:57
triggerMatchMonitor_cfi.triggerObjects
triggerObjects
Definition: triggerMatchMonitor_cfi.py:15
SUSY_HLT_SingleLepton::theLeptonFilterTag_
edm::InputTag theLeptonFilterTag_
Definition: SUSY_HLT_SingleLepton.h:78
SUSY_HLT_SingleLepton::h_leptonTurnOn_den_
MonitorElement * h_leptonTurnOn_den_
Definition: SUSY_HLT_SingleLepton.h:123
Lepton
Definition: Lepton.py:1
align::BeamSpot
Definition: StructureType.h:95
SUSY_HLT_SingleLepton::h_CSVTurnOn_num_
MonitorElement * h_CSVTurnOn_num_
Definition: SUSY_HLT_SingleLepton.h:128
HLTBitAnalyser_cfi.hltresults
hltresults
Definition: HLTBitAnalyser_cfi.py:13
muon
Definition: MuonCocktails.h:17
SUSY_HLT_SingleLepton::theTrigSummary_
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
Definition: SUSY_HLT_SingleLepton.h:91
SUSY_HLT_SingleLepton::theHLTJetTagCollectionTag_
edm::InputTag theHLTJetTagCollectionTag_
Definition: SUSY_HLT_SingleLepton.h:85
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
SUSY_HLT_SingleLepton::theTriggerResults_
edm::EDGetTokenT< edm::TriggerResults > theTriggerResults_
Definition: SUSY_HLT_SingleLepton.h:89
SUSY_HLT_SingleLepton::h_leptonTurnOn_num_
MonitorElement * h_leptonTurnOn_num_
Definition: SUSY_HLT_SingleLepton.h:122
SUSY_HLT_SingleLepton::theElectronCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > theElectronCollection_
Definition: SUSY_HLT_SingleLepton.h:61
SUSY_HLT_SingleLepton::theHLTMET_
edm::EDGetTokenT< reco::METCollection > theHLTMET_
Definition: SUSY_HLT_SingleLepton.h:82
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
SUSY_HLT_SingleLepton::h_CSVTurnOn_den_
MonitorElement * h_CSVTurnOn_den_
Definition: SUSY_HLT_SingleLepton.h:129
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
HLTMuonOfflineAnalyzer_cfi.triggerSummary
triggerSummary
Definition: HLTMuonOfflineAnalyzer_cfi.py:86
SUSY_HLT_SingleLepton::fHltConfig_
HLTConfigProvider fHltConfig_
Definition: SUSY_HLT_SingleLepton.h:93
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SUSY_HLT_SingleLepton::h_triggerLepPt_
MonitorElement * h_triggerLepPt_
Definition: SUSY_HLT_SingleLepton.h:116
SUSY_HLT_SingleLepton::h_pfMetTurnOn_den_
MonitorElement * h_pfMetTurnOn_den_
Definition: SUSY_HLT_SingleLepton.h:127
SUSY_HLT_SingleLepton::h_MET_
MonitorElement * h_MET_
Definition: SUSY_HLT_SingleLepton.h:120
reco::ConversionCollection
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
SUSY_HLT_SingleLepton::theTriggerResultsTag_
edm::InputTag theTriggerResultsTag_
Definition: SUSY_HLT_SingleLepton.h:88
trigger::TriggerObject::pt
float pt() const
Definition: TriggerObject.h:52
SUSY_HLT_SingleLepton::theJetTagTag_
edm::InputTag theJetTagTag_
Definition: SUSY_HLT_SingleLepton.h:68
SUSY_HLT_SingleLepton::met_threshold_
double met_threshold_
Definition: SUSY_HLT_SingleLepton.h:112
SUSY_HLT_SingleLepton::thePfMETTag_
edm::InputTag thePfMETTag_
Definition: SUSY_HLT_SingleLepton.h:64
ExoticaDQM_cfi.pfJetCollection
pfJetCollection
Definition: ExoticaDQM_cfi.py:19
reco::MuonCollection
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
SUSY_HLT_SingleLepton::h_btagTurnOn_den_
MonitorElement * h_btagTurnOn_den_
Definition: SUSY_HLT_SingleLepton.h:131
SUSY_HLT_SingleLepton::h_pfHTTurnOn_num_
MonitorElement * h_pfHTTurnOn_num_
Definition: SUSY_HLT_SingleLepton.h:124
metsig::electron
Definition: SignAlgoResolutions.h:48
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
SUSY_HLT_SingleLepton::h_HT_
MonitorElement * h_HT_
Definition: SUSY_HLT_SingleLepton.h:119
SUSY_HLT_SingleLepton::theHLTJetTagCollection_
edm::EDGetTokenT< reco::JetTagCollection > theHLTJetTagCollection_
Definition: SUSY_HLT_SingleLepton.h:86
SUSY_HLT_SingleLepton::theJetTagCollection_
edm::EDGetTokenT< reco::JetTagCollection > theJetTagCollection_
Definition: SUSY_HLT_SingleLepton.h:69
SUSY_HLT_SingleLepton::csvlCut_
double csvlCut_
Definition: SUSY_HLT_SingleLepton.h:101
SUSY_HLT_SingleLepton::triggerPath_
std::string triggerPath_
Definition: SUSY_HLT_SingleLepton.h:97
SUSY_HLT_SingleLepton::theHLTJetCollection_
edm::EDGetTokenT< reco::CaloJetCollection > theHLTJetCollection_
Definition: SUSY_HLT_SingleLepton.h:84
trigger::TriggerObject
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:21
SUSY_HLT_SingleLepton::thePfJetCollection_
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
Definition: SUSY_HLT_SingleLepton.h:67
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SUSY_HLT_SingleLepton::h_triggerLepPhi_
MonitorElement * h_triggerLepPhi_
Definition: SUSY_HLT_SingleLepton.h:118
SUSY_HLT_SingleLepton::theHLTMETTag_
edm::InputTag theHLTMETTag_
Definition: SUSY_HLT_SingleLepton.h:81
SUSY_HLT_SingleLepton::theConversionCollection_
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: SUSY_HLT_SingleLepton.h:74
SUSY_HLT_SingleLepton::csvmCut_
double csvmCut_
Definition: SUSY_HLT_SingleLepton.h:102
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
SUSY_HLT_SingleLepton::jetPtCut_
double jetPtCut_
Definition: SUSY_HLT_SingleLepton.h:105
SUSY_HLT_SingleLepton::theTrigSummaryTag_
edm::InputTag theTrigSummaryTag_
Definition: SUSY_HLT_SingleLepton.h:90
SUSY_HLT_SingleLepton::h_pfMetTurnOn_num_
MonitorElement * h_pfMetTurnOn_num_
Definition: SUSY_HLT_SingleLepton.h:126
trigger::TriggerObjectCollection
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:75
trigger::TriggerObject::eta
float eta() const
Definition: TriggerObject.h:53
SUSY_HLT_SingleLepton::h_triggerLepEta_
MonitorElement * h_triggerLepEta_
Definition: SUSY_HLT_SingleLepton.h:117
SUSY_HLT_SingleLepton::theHLTJetCollectionTag_
edm::InputTag theHLTJetCollectionTag_
Definition: SUSY_HLT_SingleLepton.h:83
SUSY_HLT_SingleLepton::theBeamSpot_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpot_
Definition: SUSY_HLT_SingleLepton.h:76
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
SUSY_HLT_SingleLepton::ht_threshold_
double ht_threshold_
Definition: SUSY_HLT_SingleLepton.h:111
reco::ElectronCollection
std::vector< Electron > ElectronCollection
collectin of Electron objects
Definition: ElectronFwd.h:9
SUSY_HLT_SingleLepton::theBeamSpotTag_
edm::InputTag theBeamSpotTag_
Definition: SUSY_HLT_SingleLepton.h:75
SUSY_HLT_SingleLepton::thePfJetTag_
edm::InputTag thePfJetTag_
Definition: SUSY_HLT_SingleLepton.h:66
SUSY_HLT_SingleLepton::csvtCut_
double csvtCut_
Definition: SUSY_HLT_SingleLepton.h:103
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SUSY_HLT_SingleLepton::theHLTHTTag_
edm::InputTag theHLTHTTag_
Definition: SUSY_HLT_SingleLepton.h:79
B2GDQM_cfi.pfMETCollection
pfMETCollection
Definition: B2GDQM_cfi.py:27
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
SUSY_HLT_SingleLepton::thePfMETCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: SUSY_HLT_SingleLepton.h:65
metsig::jet
Definition: SignAlgoResolutions.h:47
edm::TriggerNames
Definition: TriggerNames.h:55
SUSY_HLT_SingleLepton::theVertexCollectionTag_
edm::InputTag theVertexCollectionTag_
Definition: SUSY_HLT_SingleLepton.h:71
SUSY_HLT_SingleLepton::HLTProcess_
std::string HLTProcess_
Definition: SUSY_HLT_SingleLepton.h:95
SUSY_HLT_SingleLepton::h_pfHTTurnOn_den_
MonitorElement * h_pfHTTurnOn_den_
Definition: SUSY_HLT_SingleLepton.h:125
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
SUSY_HLT_SingleLepton::csv_threshold_
double csv_threshold_
Definition: SUSY_HLT_SingleLepton.h:113
SUSY_HLT_SingleLepton::theVertexCollection_
edm::EDGetTokenT< reco::VertexCollection > theVertexCollection_
Definition: SUSY_HLT_SingleLepton.h:72
HLTConfigProvider::triggerNames
const std::vector< std::string > & triggerNames() const
names of trigger paths
Definition: HLTConfigProvider.h:69
SUSY_HLT_SingleLepton::triggerPathLeptonAuxiliary_
std::string triggerPathLeptonAuxiliary_
Definition: SUSY_HLT_SingleLepton.h:99
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
SUSY_HLT_SingleLepton::lep_pt_threshold_
double lep_pt_threshold_
Definition: SUSY_HLT_SingleLepton.h:110
crabWrapper.key
key
Definition: crabWrapper.py:19
SUSY_HLT_SingleLepton::theConversionCollectionTag_
edm::InputTag theConversionCollectionTag_
Definition: SUSY_HLT_SingleLepton.h:73
SUSY_HLT_SingleLepton::metCut_
double metCut_
Definition: SUSY_HLT_SingleLepton.h:107
edm::InputTag
Definition: InputTag.h:15
SUSY_HLT_SingleLepton::theMuonTag_
edm::InputTag theMuonTag_
Definition: SUSY_HLT_SingleLepton.h:62
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
SUSY_HLT_SingleLepton::htCut_
double htCut_
Definition: SUSY_HLT_SingleLepton.h:108
SUSY_HLT_SingleLepton::triggerPathAuxiliary_
std::string triggerPathAuxiliary_
Definition: SUSY_HLT_SingleLepton.h:98
SUSY_HLT_SingleLepton::h_maxCSV_
MonitorElement * h_maxCSV_
Definition: SUSY_HLT_SingleLepton.h:121
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
pfMETBenchmark_cfi.pfMET
pfMET
Definition: pfMETBenchmark_cfi.py:3
SUSY_HLT_SingleLepton::theMuonCollection_
edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
Definition: SUSY_HLT_SingleLepton.h:63
SUSY_HLT_SingleLepton::h_btagTurnOn_num_
MonitorElement * h_btagTurnOn_num_
Definition: SUSY_HLT_SingleLepton.h:130