#include <HLTriggerOfflineHeavyFlavor/src/HeavyFlavorValidation.cc>
Public Member Functions | |
HeavyFlavorValidation (const edm::ParameterSet &) | |
~HeavyFlavorValidation () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const Run &iRun, const EventSetup &iSetup) |
virtual void | endJob () |
int | getMotherId (const Candidate *p) |
void | match (MonitorElement *me, vector< LeafCandidate > &from, vector< LeafCandidate > &to, double deltaRMatchingCut, vector< int > &map) |
void | myBook1D (TString name, vector< double > &xBins, TString label, TString title) |
void | myBook1D (TString name, vector< double > &xBins, TString label) |
void | myBook2D (TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel, TString title) |
void | myBook2D (TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel) |
void | myBookProfile2D (TString name, vector< double > &xBins, TString xLabel, vector< double > &yBins, TString yLabel, TString title) |
void | myBookProfile2D (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 |
DQMStore * | dqmStore |
vector< pair< string, int > > | filterNamesLevels |
double | genGlobDeltaRMatchingCut |
InputTag | genParticlesTag |
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 |
string | triggerPathName |
string | triggerProcessName |
InputTag | triggerResultsTag |
InputTag | triggerSummaryAODTag |
InputTag | triggerSummaryRAWTag |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 52 of file HeavyFlavorValidation.cc.
|
explicit |
Definition at line 101 of file HeavyFlavorValidation.cc.
HeavyFlavorValidation::~HeavyFlavorValidation | ( | ) |
Definition at line 650 of file HeavyFlavorValidation.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 277 of file HeavyFlavorValidation.cc.
References abs, DeDxDiscriminatorTools::charge(), dqmStore, eta(), f, filterNamesLevels, spr::find(), first, genGlobDeltaRMatchingCut, genParticleCandidates2GenParticles_cfi::genParticles, genParticlesTag, edm::Event::getByLabel(), getMotherId(), globL1DeltaRMatchingCut, globL2DeltaRMatchingCut, globL3DeltaRMatchingCut, i, getHLTprescales::index, edm::HandleBase::isValid(), j, relativeConstraints::keys, LogDebug, match(), motherIDs, muonMass, AlCaHLTBitMon_ParallelJobs::p, phi, recoMuonsTag, edm::second(), edm::TriggerNames::size(), findQualityFiles::size, python.multivaluedict::sort(), trigger::TriggerL1Mu, trigger::TriggerMuon, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), triggerPathName, triggerProcessName, patRefSel_triggerSelection_cff::triggerResults, triggerResultsTag, triggerSummaryAODTag, triggerSummaryRAWTag, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 127 of file HeavyFlavorValidation.cc.
References deltaEtaBins, deltaPhiBins, dimuonDRBins, dimuonEtaBins, dimuonPtBins, dqmFolder, dqmStore, filterNamesLevels, first, HltComparatorCreateWorkflow::hltConfig, i, HLTConfigProvider::init(), j, testEve_cfg::level, LogDebug, HLTConfigProvider::moduleLabels(), muonEtaBins, muonPhiBins, muonPtBins, myBook1D(), myBook2D(), myBookProfile2D(), mergeVDriftHistosByStation::name, cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), HLTConfigProvider::triggerNames(), triggerPathName, and triggerProcessName.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 540 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 543 of file HeavyFlavorValidation.cc.
References reco::Candidate::mother(), and reco::Candidate::pdgId().
Referenced by analyze().
|
private |
Definition at line 556 of file HeavyFlavorValidation.cc.
References PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eta(), MonitorElement::Fill(), i, j, gen::k, and phi.
Referenced by analyze().
|
private |
Definition at line 635 of file HeavyFlavorValidation.cc.
References DQMStore::book1D(), dqmStore, h, i, and mergeVDriftHistosByStation::name.
Referenced by beginRun().
|
inlineprivate |
Definition at line 71 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 593 of file HeavyFlavorValidation.cc.
References DQMStore::book2D(), dqmStore, eta(), h, i, and mergeVDriftHistosByStation::name.
Referenced by beginRun().
|
inlineprivate |
Definition at line 63 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 614 of file HeavyFlavorValidation.cc.
References DQMStore::bookProfile2D(), dqmStore, eta(), h, i, and mergeVDriftHistosByStation::name.
Referenced by beginRun().
|
inlineprivate |
Definition at line 67 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 87 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 88 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 94 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 93 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 92 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 74 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 95 of file HeavyFlavorValidation.cc.
Referenced by analyze(), beginRun(), myBook1D(), myBook2D(), and myBookProfile2D().
|
private |
Definition at line 97 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 83 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file HeavyFlavorValidation.cc.
|
private |
Definition at line 82 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 90 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 98 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 89 of file HeavyFlavorValidation.cc.
Referenced by beginRun().
|
private |
Definition at line 80 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 75 of file HeavyFlavorValidation.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 79 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file HeavyFlavorValidation.cc.
Referenced by analyze().
|
private |
Definition at line 77 of file HeavyFlavorValidation.cc.
Referenced by analyze().