#include <HLTriggerOfflineHeavyFlavor/src/HeavyFlavorValidation.cc>
Public Member Functions | |
HeavyFlavorValidation (const edm::ParameterSet &) | |
~HeavyFlavorValidation () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Protected Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Private Member Functions | |
int | getFilterLevel (const std::string &moduleName, const HLTConfigProvider &hltConfig) |
int | getMotherId (const Candidate *p) |
void | match (MonitorElement *me, vector< LeafCandidate > &from, vector< LeafCandidate > &to, double deltaRMatchingCut, vector< int > &map) |
void | myBook1D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString label, TString title) |
void | myBook1D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString label) |
void | myBook2D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel, TString title) |
void | myBook2D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel) |
void | myBookProfile2D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel, TString title) |
void | myBookProfile2D (DQMStore::IBooker &ibooker, TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel) |
Private Attributes | |
vector< double > | deltaEtaBins |
vector< double > | deltaPhiBins |
vector< double > | dimuonDRBins |
vector< double > | dimuonEtaBins |
vector< double > | dimuonPtBins |
string | dqmFolder |
vector< pair< string, int > > | filterNamesLevels |
double | genGlobDeltaRMatchingCut |
InputTag | genParticlesTag |
EDGetTokenT< GenParticleCollection > | genParticlesToken |
double | globL1DeltaRMatchingCut |
double | globL2DeltaRMatchingCut |
double | globL3DeltaRMatchingCut |
map< TString, MonitorElement * > | ME |
vector< int > | motherIDs |
vector< double > | muonEtaBins |
const double | muonMass |
vector< double > | muonPhiBins |
vector< double > | muonPtBins |
InputTag | recoMuonsTag |
EDGetTokenT< MuonCollection > | recoMuonsToken |
string | triggerPathName |
string | triggerProcessName |
InputTag | triggerResultsTag |
EDGetTokenT< TriggerResults > | triggerResultsToken |
EDGetTokenT< TriggerEvent > | triggerSummaryAODTag |
EDGetTokenT< TriggerEventWithRefs > | triggerSummaryRAWTag |
Description: Analyzer to fill Monitoring Elements for muon, dimuon and trigger path efficiency studies (HLT/RECO, RECO/GEN)
Implementation: matching is based on closest in delta R, no duplicates allowed. Generated to Global based on momentum at IP; L1, L2, L2v to Global based on position in muon system, L3 to Global based on momentum at IP.
Definition at line 54 of file HeavyFlavorValidation.cc.
|
explicit |
Definition at line 120 of file HeavyFlavorValidation.cc.
References genParticlesTag, genParticlesToken, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), recoMuonsTag, recoMuonsToken, triggerProcessName, triggerResultsTag, triggerResultsToken, triggerSummaryAODTag, and triggerSummaryRAWTag.
|
override |
|
overrideprotected |
Definition at line 287 of file HeavyFlavorValidation.cc.
References funct::abs(), edm::HLTGlobalStatus::accept(), ALCARECOTkAlJpsiMuMu_cff::charge, PVValHelper::eta, f, trigger::TriggerEventWithRefs::filterIndex(), trigger::TriggerEvent::filterKeys(), filterNamesLevels, trigger::TriggerEvent::filterTag(), spr::find(), plotBeamSpotDB::first, genGlobDeltaRMatchingCut, runTauDisplay::genMuons, GenHFHadronMatcher_cfi::genParticles, genParticlesTag, genParticlesToken, edm::Event::getByToken(), getMotherId(), trigger::TriggerEvent::getObjects(), trigger::TriggerEventWithRefs::getObjects(), globL1DeltaRMatchingCut, globL2DeltaRMatchingCut, globL3DeltaRMatchingCut, mps_fire::i, edm::HandleBase::isValid(), relativeConstraints::keys, LogDebug, match(), motherIDs, muonMass, AlCaHLTBitMon_ParallelJobs::p, phi, EnergyCorrector::pt, recoMuonsTag, recoMuonsToken, edm::second(), edm::TriggerNames::size(), findQualityFiles::size, trigger::TriggerEvent::sizeFilters(), HiIsolationCommonParameters_cff::track, trigger::TriggerL1Mu, trigger::TriggerMuon, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), triggerPathName, triggerProcessName, triggerResults, triggerResultsTag, triggerResultsToken, triggerSummaryAODTag, triggerSummaryRAWTag, x, y, and z.
|
overrideprotected |
Definition at line 188 of file HeavyFlavorValidation.cc.
References DQMStore::IBooker::cd(), deltaEtaBins, deltaPhiBins, dimuonDRBins, dimuonEtaBins, dimuonPtBins, dqmFolder, filterNamesLevels, plotBeamSpotDB::first, mps_fire::i, muonEtaBins, muonPhiBins, muonPtBins, myBook1D(), myBook2D(), myBookProfile2D(), DQMStore::IBooker::setCurrentFolder(), triggerPathName, and triggerProcessName.
|
overrideprotected |
Definition at line 150 of file HeavyFlavorValidation.cc.
References filterNamesLevels, filters, getFilterLevel(), HLTConfigProvider::init(), hcalDigis_cfi::level, LogDebug, HLTConfigProvider::moduleLabels(), edm::moduleName(), str, AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerNames(), triggerPathName, and triggerProcessName.
|
private |
Get the filter "level" (as it is defined for the use of this module and its corresponding harvesting module).
level 1 - 3 -> more or less synonymously to the the trigger levels level 4 and 5 -> vertex, dz, track, etc.. filters
See the comments in the definition for some more details.
Definition at line 651 of file HeavyFlavorValidation.cc.
References edm::contains(), funct::m, HLTConfigProvider::moduleEDMType(), HLTConfigProvider::moduleType(), AnalysisDataFormats_SUSYBSMObjects::ms, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmBeginRun().
|
private |
Definition at line 544 of file HeavyFlavorValidation.cc.
References reco::Candidate::mother(), and reco::Candidate::pdgId().
Referenced by analyze().
|
private |
Definition at line 557 of file HeavyFlavorValidation.cc.
References PVValHelper::eta, MonitorElement::Fill(), mps_fire::i, gen::k, and phi.
Referenced by analyze().
|
private |
Definition at line 636 of file HeavyFlavorValidation.cc.
References DQMStore::IBooker::book1D(), h, mps_fire::i, createfilelist::int, and dataset::name.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 74 of file HeavyFlavorValidation.cc.
References edm::moduleName(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 594 of file HeavyFlavorValidation.cc.
References DQMStore::IBooker::book2D(), PVValHelper::eta, h, mps_fire::i, createfilelist::int, dataset::name, and EnergyCorrector::pt.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 66 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 615 of file HeavyFlavorValidation.cc.
References DQMStore::IBooker::bookProfile2D(), PVValHelper::eta, h, mps_fire::i, createfilelist::int, dataset::name, and EnergyCorrector::pt.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 70 of file HeavyFlavorValidation.cc.
References label.
|
private |
Definition at line 107 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 108 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 114 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 113 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 112 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 89 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 116 of file HeavyFlavorValidation.cc.
Referenced by analyze(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 103 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 99 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 100 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 104 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 105 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 106 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 115 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 102 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 117 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 109 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 97 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 98 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 91 of file HeavyFlavorValidation.cc.
Referenced by analyze(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 90 of file HeavyFlavorValidation.cc.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HeavyFlavorValidation().
|
private |
Definition at line 95 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 96 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 94 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 93 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().