#include <HLTriggerOfflineHeavyFlavor/src/HeavyFlavorValidation.cc>
Public Member Functions | |
HeavyFlavorValidation (const edm::ParameterSet &) | |
~HeavyFlavorValidation () override | |
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 51 of file HeavyFlavorValidation.cc.
|
explicit |
Definition at line 145 of file HeavyFlavorValidation.cc.
References genParticlesTag, genParticlesToken, HLT_2022v14_cff::InputTag, muonDTDigis_cfi::pset, recoMuonsTag, recoMuonsToken, triggerProcessName, triggerResultsTag, triggerResultsToken, triggerSummaryAODTag, and triggerSummaryRAWTag.
|
override |
Definition at line 961 of file HeavyFlavorValidation.cc.
|
overrideprotected |
Definition at line 457 of file HeavyFlavorValidation.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, PVValHelper::eta, trigger::TriggerEventWithRefs::filterIndex(), trigger::TriggerEvent::filterKeys(), filterNamesLevels, trigger::TriggerEvent::filterTag(), spr::find(), first, genGlobDeltaRMatchingCut, runTauDisplay::genMuons, AJJGenJetFilter_cfi::genParticles, genParticlesTag, genParticlesToken, getMotherId(), trigger::TriggerEvent::getObjects(), trigger::TriggerEventWithRefs::getObjects(), globL1DeltaRMatchingCut, globL2DeltaRMatchingCut, globL3DeltaRMatchingCut, mps_fire::i, iEvent, HLT_2022v14_cff::InputTag, edm::HandleBase::isValid(), dqmiolumiharvest::j, relativeConstraints::keys, LogDebug, match(), motherIDs, muonMass, AlCaHLTBitMon_ParallelJobs::p, phi, DiDispStaMuonMonitor_cfi::pt, recoMuonsTag, recoMuonsToken, edm::second(), findQualityFiles::size, trigger::TriggerEvent::sizeFilters(), jetUpdater_cfi::sort, HLT_2022v14_cff::track, trigger::TriggerL1Mu, trigger::TriggerMuon, L1TEGammaOffline_cfi::triggerNames, triggerPathName, triggerProcessName, triggerResults, triggerResultsTag, triggerResultsToken, triggerSummaryAODTag, triggerSummaryRAWTag, x, y, and z.
|
overrideprotected |
Definition at line 216 of file HeavyFlavorValidation.cc.
References dqm::implementation::NavigatorBase::cd(), deltaEtaBins, deltaPhiBins, dimuonDRBins, dimuonEtaBins, dimuonPtBins, dqmFolder, muonEtaBins, muonPhiBins, muonPtBins, myBook1D(), myBook2D(), myBookProfile2D(), dqm::implementation::NavigatorBase::setCurrentFolder(), triggerPathName, and triggerProcessName.
|
overrideprotected |
Definition at line 176 of file HeavyFlavorValidation.cc.
References filterNamesLevels, filters, getFilterLevel(), HltComparatorCreateWorkflow::hltConfig, personalPlayback::level, LogDebug, EcalCalibMonitorClient_cfi::moduleName, str, AlCaHLTBitMon_QueryRunRegistry::string, L1TEGammaOffline_cfi::triggerNames, triggerPathName, triggerProcessName, and cscTnPEfficiencyTask_cfi::trigName.
|
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 899 of file HeavyFlavorValidation.cc.
References edm::contains(), HltComparatorCreateWorkflow::hltConfig, l1Filter_cfi::l1Filter, visualization-live-secondInstance_cfg::m, EcalCalibMonitorClient_cfi::moduleName, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmBeginRun().
|
private |
Definition at line 778 of file HeavyFlavorValidation.cc.
References AlCaHLTBitMon_ParallelJobs::p, and reco::Candidate::pdgId().
Referenced by analyze().
|
private |
Definition at line 791 of file HeavyFlavorValidation.cc.
References HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, genParticles_cff::map, hlt_dqm_clientPB-live_cfg::me, and phi.
Referenced by analyze().
|
private |
Definition at line 884 of file HeavyFlavorValidation.cc.
References trigObjTnPSource_cfi::bins, dqm::implementation::IBooker::book1D(), h, mps_fire::i, createfilelist::int, label, Skims_PA_cff::name, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 99 of file HeavyFlavorValidation.cc.
References label, Skims_PA_cff::name, and multiplicitycorr_cfi::xBins.
|
private |
Definition at line 832 of file HeavyFlavorValidation.cc.
References dqm::implementation::IBooker::book2D(), PVValHelper::eta, HLT_2022v14_cff::etaBins, h, mps_fire::i, createfilelist::int, Skims_PA_cff::name, DiDispStaMuonMonitor_cfi::pt, L1EGammaClusterEmuProducer_cfi::ptBins, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 75 of file HeavyFlavorValidation.cc.
References Skims_PA_cff::name, multiplicitycorr_cfi::xBins, and multiplicitycorr_cfi::yBins.
|
private |
Definition at line 858 of file HeavyFlavorValidation.cc.
References dqm::implementation::IBooker::bookProfile2D(), PVValHelper::eta, HLT_2022v14_cff::etaBins, h, mps_fire::i, createfilelist::int, Skims_PA_cff::name, DiDispStaMuonMonitor_cfi::pt, L1EGammaClusterEmuProducer_cfi::ptBins, and runGCPTkAlMap::title.
Referenced by bookHistograms().
|
inlineprivate |
Definition at line 90 of file HeavyFlavorValidation.cc.
References Skims_PA_cff::name, multiplicitycorr_cfi::xBins, and multiplicitycorr_cfi::yBins.
|
private |
Definition at line 132 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 133 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 139 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 138 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 137 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 114 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 141 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 128 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 124 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 125 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 129 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 130 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 131 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 140 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 127 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 135 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 142 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 136 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 134 of file HeavyFlavorValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 122 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 123 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 116 of file HeavyFlavorValidation.cc.
Referenced by analyze(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 115 of file HeavyFlavorValidation.cc.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HeavyFlavorValidation().
|
private |
Definition at line 120 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 121 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 119 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().
|
private |
Definition at line 118 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and HeavyFlavorValidation().