#include <EmDQM.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
EmDQM (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
~EmDQM () override | |
Destructor. More... | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Static Private Attributes | |
static const unsigned | OUTPUT_ALL = 3 |
static const unsigned | OUTPUT_ERRORS = 1 |
static const unsigned | OUTPUT_SILENT = 0 |
static const unsigned | OUTPUT_WARNINGS = 2 |
static const unsigned | TYPE_DOUBLE_ELE = 1 |
static const unsigned | TYPE_DOUBLE_PHOTON = 3 |
static const unsigned | TYPE_SINGLE_ELE = 0 |
static const unsigned | TYPE_SINGLE_PHOTON = 2 |
static const unsigned | TYPE_TRIPLE_ELE = 4 |
Friends | |
class | HistoFiller< l1extra::L1EmParticleCollection > |
class | HistoFiller< reco::ElectronCollection > |
class | HistoFiller< reco::RecoEcalCandidateCollection > |
|
explicit |
Constructor.
Definition at line 11 of file EmDQM.cc.
References autoConfMode_, eta2DMax_, etaMax_, gencutColl_fidDiGamma_token, gencutColl_fidGammaJet_token, gencutColl_fidTripleEle_token, gencutColl_fidWenu_token, gencutColl_fidZee_token, gencutColl_manualConf_token, genEtaAcc_, genEtAcc_, genParticles_token, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), histoFillerClu, histoFillerEle, histoFillerL1Iso, histoFillerL1NonIso, histoFillerPho, hltResults_token, isData_, mcMatchedOnly_, minEtForEtaEffPlot_, nbins2D_, nbins_, noIsolationPlots_, noPhiPlots_, paramSets, phi2DMax_, phiMax_, pset, ptMax_, ptMin_, triggerObject_, triggerObject_token, useHumanReadableHistTitles_, and verbosity_.
|
override |
Definition at line 733 of file EmDQM.cc.
References cms::dd::accepted(), autoConfMode_, checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), stringResolutionProvider_cfi::et, PVValHelper::eta, etagens, etaphigens, etgens, HistoFiller< T >::fillHistos(), gencut_, gencutColl_fidDiGamma_token, gencutColl_fidGammaJet_token, gencutColl_fidTripleEle_token, gencutColl_fidWenu_token, gencutColl_fidZee_token, gencutColl_manualConf_token, histoFillerClu, histoFillerEle, histoFillerL1Iso, histoFillerL1NonIso, histoFillerPho, hltCollectionLabelsFound, hltCollectionLabelsFoundPerPath, hltCollectionLabelsMissed, hltCollectionLabelsMissedPerPath, hltConfig_, SelectingProcedure_cff::hltResults, hltResults_token, mps_fire::i, edm::HLTGlobalStatus::index(), createfilelist::int, edm::EventBase::isRealData(), edm::HandleBase::isValid(), mcMatchedOnly_, minEtForEtaEffPlot_, HLTConfigProvider::moduleIndex(), gen::n, nCandCuts, noPhiPlots_, numOfHLTCollectionLabels, OUTPUT_ERRORS, OUTPUT_WARNINGS, paramSets, pathIndex, pdgGen, phi, phigens, plotEtMin, pTComparator_, reqNum, SetVarsFromPSet(), jetUpdater_cfi::sort, theHLTCollectionLabels, theHLTOutputTypes, totalmatchs, totals, trigger::TriggerCluster, trigger::TriggerElectron, trigger::TriggerL1IsoEG, trigger::TriggerL1NoIsoEG, triggerObject_, triggerObject_token, trigger::TriggerPhoton, and verbosity_.
|
override |
Definition at line 376 of file EmDQM.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), dirname_, eta2DMax_, etagens, etahistmatchs, etahists, etaMax_, etaphigens, etaphihistmatchs, etaphihists, etgens, ethistmatchs, ethists, histEtaOfHltObjMatchToGens, histEtaPhiOfHltObjMatchToGens, histEtOfHltObjMatchToGens, histPhiOfHltObjMatchToGens, mps_fire::i, label, mcMatchedOnly_, nbins2D_, nbins_, noPhiPlots_, numOfHLTCollectionLabels, paramSets, pdgGen, phi2DMax_, phigens, phihistmatchs, phihists, phiMax_, plotPtMax, plotPtMin, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), SetVarsFromPSet(), AlCaHLTBitMon_QueryRunRegistry::string, theHLTCollectionHumanNames, theHLTCollectionLabels, pileupDistInMC::total, totalmatchs, totals, and useHumanReadableHistTitles_.
|
private |
helper to check whether there were enough generator level electrons/photons (MC) or enough reco level electrons/photons to analyze this event.
Definition at line 606 of file EmDQM.cc.
References funct::abs(), reco::LeafCandidate::et(), PVValHelper::eta, gencut_, genEtaAcc_, GenHFHadronMatcher_cfi::genParticles, genParticles_token, mps_fire::i, edm::HandleBase::isValid(), OUTPUT_WARNINGS, pdgGen, plotEtMin, pTGenComparator_, jetUpdater_cfi::sort, and verbosity_.
Referenced by analyze().
|
private |
similar to checkGeneratedParticlesRequirement(..) but for reconstructed particles. For the moment, there are some additional requirements in the MC version so we can't use the same code for both cases.
Definition at line 669 of file EmDQM.cc.
References autoConfMode_, gencut_, gencutColl_fidDiGamma_token, gencutColl_fidGammaJet_token, gencutColl_fidTripleEle_token, gencutColl_fidWenu_token, gencutColl_fidZee_token, gencutColl_manualConf_token, edm::HandleBase::isValid(), OUTPUT_WARNINGS, pdgGen, plotEtMin, reqNum, and verbosity_.
Referenced by analyze().
|
private |
Definition at line 1117 of file EmDQM.cc.
References KineDebug3::count(), and PFRecoTauDiscriminationByIsolation_cfi::offset.
Referenced by findEgammaPaths(), and makePSetForL1SeedFilter().
|
override |
Definition at line 64 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::addUntrackedParameter(), autoConfMode_, HLTConfigProvider::changed(), edm::ParameterSet::empty(), edm::ParameterSet::exists(), ALCARECOTkAlBeamHalo_cff::filter, findEgammaPaths(), getFilterModules(), edm::ParameterSet::getParameter(), getPrimaryEtCut(), hltCollectionLabelsFound, hltCollectionLabelsFoundPerPath, hltCollectionLabelsMissed, hltCollectionLabelsMissedPerPath, hltConfig_, mps_fire::i, HLTConfigProvider::init(), HLTConfigProvider::inited(), isData_, label, makePSetForEgammaDoubleEtDeltaPhiFilter(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), makePSetForPixelMatchFilter(), HLTConfigProvider::modulePSet(), OUTPUT_ALL, OUTPUT_ERRORS, OUTPUT_WARNINGS, paramSets, edm::InputTag::process(), HLTConfigProvider::processName(), AlignmentTrackSelector_cfi::ptMax, ptMax_, ptMin, ptMin_, HLTConfigProvider::removeVersion(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::tableName(), HLTConfigProvider::triggerIndex(), triggerObject_, trigger::TriggerPhoton, TYPE_DOUBLE_ELE, TYPE_DOUBLE_PHOTON, TYPE_SINGLE_ELE, TYPE_SINGLE_PHOTON, TYPE_TRIPLE_ELE, and verbosity_.
|
override |
Definition at line 1078 of file EmDQM.cc.
References KineDebug3::count(), hltCollectionLabelsFoundPerPath, hltCollectionLabelsMissedPerPath, OUTPUT_ALL, OUTPUT_WARNINGS, paramSets, SetVarsFromPSet(), jetUpdater_cfi::sort, GlobalPosition_Frontier_DevDB_cff::tag, and verbosity_.
|
private |
Definition at line 1129 of file EmDQM.cc.
References countSubstring(), hltConfig_, mps_fire::i, callgraph::path, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerName(), TYPE_DOUBLE_ELE, TYPE_DOUBLE_PHOTON, TYPE_SINGLE_ELE, TYPE_SINGLE_PHOTON, and TYPE_TRIPLE_ELE.
Referenced by dqmBeginRun().
|
private |
Definition at line 1185 of file EmDQM.cc.
References filters, hltConfig_, mps_fire::i, HLTConfigProvider::moduleEDMType(), HLTConfigProvider::moduleLabel(), HLTConfigProvider::moduleType(), HLTConfigProvider::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmBeginRun().
|
private |
|
private |
Definition at line 1361 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1378 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, edm::InputTag::label(), HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), HLTConfigProvider::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, triggerObject_, trigger::TriggerPhoton, and verbosity_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1468 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, edm::InputTag::label(), HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), HLTConfigProvider::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, triggerObject_, trigger::TriggerPhoton, and verbosity_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1557 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, edm::InputTag::label(), HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerElectron, triggerObject_, and verbosity_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1310 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1225 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), countSubstring(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerL1NoIsoEG, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1287 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1327 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerElectron, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1344 of file EmDQM.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
|
private |
Definition at line 1632 of file EmDQM.cc.
References DEFINE_FWK_MODULE, dirname_, filters, gencut_, gencutCollection_, mps_fire::i, isoNames, nCandCuts, noIsolationPlots_, numOfHLTCollectionLabels, pathIndex, pdgGen, plotBounds, plotEtMin, plotiso, plotPtMax, plotPtMin, reqNum, AlCaHLTBitMon_QueryRunRegistry::string, theHLTCollectionHumanNames, theHLTCollectionLabels, and theHLTOutputTypes.
Referenced by analyze(), bookHistograms(), and endRun().
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 98 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), dqmBeginRun(), and EmDQM().
|
private |
Definition at line 89 of file EmDQM.h.
Referenced by bookHistograms(), and SetVarsFromPSet().
|
private |
Definition at line 112 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 218 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 204 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 201 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 109 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 220 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 211 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 210 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 217 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 206 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 203 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
number of generator level particles (electrons/photons) required (for MC)
Definition at line 187 of file EmDQM.h.
Referenced by analyze(), checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), and SetVarsFromPSet().
|
private |
Definition at line 233 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
Definition at line 232 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
Definition at line 231 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
Definition at line 229 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
Definition at line 230 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
Definition at line 234 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and EmDQM().
|
private |
collection which should be used for generator particles (MC) or reconstructed particles (data).
This collection is used for matching the HLT objects against (e.g. match the HLT object to generated particles or reconstructed electrons/photons).
Definition at line 183 of file EmDQM.h.
Referenced by SetVarsFromPSet().
|
private |
Definition at line 104 of file EmDQM.h.
Referenced by checkGeneratedParticlesRequirement(), and EmDQM().
|
private |
Definition at line 226 of file EmDQM.h.
Referenced by checkGeneratedParticlesRequirement(), and EmDQM().
|
private |
Definition at line 208 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 212 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 207 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 209 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 191 of file EmDQM.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
which hltCollectionLabels were SEEN at least once
Definition at line 190 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), and endRun().
|
private |
Definition at line 195 of file EmDQM.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
which hltCollectionLabels were MISSED at least once
Definition at line 194 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), and endRun().
|
private |
The instance of the HLTConfigProvider as a data member.
Definition at line 136 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), findEgammaPaths(), getFilterModules(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), and makePSetForPixelMatchFilter().
|
private |
|
private |
Definition at line 106 of file EmDQM.h.
Referenced by dqmBeginRun(), and EmDQM().
|
private |
Definition at line 166 of file EmDQM.h.
Referenced by SetVarsFromPSet().
|
private |
Definition at line 117 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), and EmDQM().
|
private |
|
private |
Definition at line 114 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 111 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 168 of file EmDQM.h.
Referenced by analyze(), and SetVarsFromPSet().
|
private |
Definition at line 119 of file EmDQM.h.
Referenced by EmDQM(), and SetVarsFromPSet().
|
private |
Definition at line 118 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), and EmDQM().
|
private |
Definition at line 161 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), and SetVarsFromPSet().
|
staticprivate |
Definition at line 249 of file EmDQM.h.
Referenced by dqmBeginRun(), and endRun().
|
staticprivate |
Definition at line 247 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), and makePSetForElectronGenericFilter().
|
staticprivate |
Definition at line 248 of file EmDQM.h.
Referenced by analyze(), checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), dqmBeginRun(), and endRun().
|
private |
Definition at line 157 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), EmDQM(), and endRun().
|
private |
Definition at line 159 of file EmDQM.h.
Referenced by analyze(), and SetVarsFromPSet().
|
private |
Definition at line 171 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), and SetVarsFromPSet().
|
private |
Definition at line 113 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 219 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 205 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 202 of file EmDQM.h.
Referenced by bookHistograms().
|
private |
Definition at line 110 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 167 of file EmDQM.h.
Referenced by SetVarsFromPSet().
|
private |
Definition at line 173 of file EmDQM.h.
Referenced by analyze(), checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), and SetVarsFromPSet().
|
private |
Definition at line 165 of file EmDQM.h.
Referenced by SetVarsFromPSet().
|
private |
Definition at line 175 of file EmDQM.h.
Referenced by bookHistograms(), and SetVarsFromPSet().
|
private |
Definition at line 174 of file EmDQM.h.
Referenced by bookHistograms(), and SetVarsFromPSet().
|
private |
|
private |
|
private |
Definition at line 223 of file EmDQM.h.
Referenced by checkGeneratedParticlesRequirement().
|
private |
Definition at line 107 of file EmDQM.h.
Referenced by dqmBeginRun(), and EmDQM().
|
private |
Definition at line 108 of file EmDQM.h.
Referenced by dqmBeginRun(), and EmDQM().
|
private |
Definition at line 170 of file EmDQM.h.
Referenced by analyze(), checkRecoParticlesRequirement(), and SetVarsFromPSet().
|
private |
Definition at line 162 of file EmDQM.h.
Referenced by bookHistograms(), and SetVarsFromPSet().
|
private |
Definition at line 160 of file EmDQM.h.
Referenced by analyze(), bookHistograms(), and SetVarsFromPSet().
|
private |
Definition at line 164 of file EmDQM.h.
Referenced by analyze(), and SetVarsFromPSet().
|
private |
|
private |
Definition at line 215 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 214 of file EmDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), EmDQM(), makePSetForEgammaDoubleEtDeltaPhiFilter(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), and makePSetForPixelMatchFilter().
|
private |
|
staticprivate |
Definition at line 240 of file EmDQM.h.
Referenced by dqmBeginRun(), and findEgammaPaths().
|
staticprivate |
Definition at line 242 of file EmDQM.h.
Referenced by dqmBeginRun(), and findEgammaPaths().
|
staticprivate |
Definition at line 239 of file EmDQM.h.
Referenced by dqmBeginRun(), and findEgammaPaths().
|
staticprivate |
Definition at line 241 of file EmDQM.h.
Referenced by dqmBeginRun(), and findEgammaPaths().
|
staticprivate |
Definition at line 243 of file EmDQM.h.
Referenced by dqmBeginRun(), and findEgammaPaths().
|
private |
Definition at line 116 of file EmDQM.h.
Referenced by bookHistograms(), and EmDQM().
|
private |
Definition at line 103 of file EmDQM.h.
Referenced by analyze(), checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), dqmBeginRun(), EmDQM(), endRun(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), and makePSetForElectronGenericFilter().