|
|
#include <EmDQM.h>
|
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 |
|
void | dqmEndRun (edm::Run const &, edm::EventSetup const &) override |
|
| EmDQM (const edm::ParameterSet &pset) |
| Constructor. More...
|
|
| ~EmDQM () override |
| Destructor. More...
|
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
| DQMOneEDAnalyzer () |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef dqm::reco::DQMStore | DQMStore |
|
typedef dqm::reco::MonitorElement | MonitorElement |
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
| declare what type of product will make and with which optional label More...
|
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
ProducesCollector | producesCollector () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 66 of file EmDQM.h.
◆ EmDQM()
Constructor.
Definition at line 11 of file EmDQM.cc.
18 verbosity_ = pset_.getUntrackedParameter<
unsigned int>(
"verbosity", 0);
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, HLT_FULL_cff::InputTag, isData_, mcMatchedOnly_, minEtForEtaEffPlot_, nbins2D_, nbins_, noIsolationPlots_, noPhiPlots_, paramSets, phi2DMax_, phiMax_, edm::InputTag::process(), pset, ptMax_, ptMin_, triggerObject_, triggerObject_token, useHumanReadableHistTitles_, and verbosity_.
◆ ~EmDQM()
◆ analyze()
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 733 of file EmDQM.cc.
735 unsigned int vPos = 0;
736 for (std::vector<edm::ParameterSet>::iterator psetIt =
paramSets.begin(); psetIt !=
paramSets.end();
770 if (cutCounter->size() < (
unsigned int)
gencut_) {
783 <<
") does not corresond to a valid TriggerEventWithRefs product. "
784 "Please check especially the process name (e.g. when running "
785 "over reprocessed datasets)";
790 if (
event.isRealData()) {
820 std::vector<reco::Particle> sortedGen;
823 reco::Particle tmpcand(genpart->charge(), genpart->p4(), genpart->vertex(), genpart->pdgId(), genpart->status());
825 sortedGen.push_back(tmpcand);
833 if (sortedGen.size() <
gencut_) {
836 sortedGen.erase(sortedGen.begin() +
gencut_, sortedGen.end());
839 etgens.at(vPos)->Fill(sortedGen[
i].
et());
855 bool accepted =
true;
866 edm::LogError(
"EmDQM") <<
"There are less generated particles than the module '"
870 std::vector<reco::Particle> sortedGenForFilter(sortedGen);
871 sortedGenForFilter.erase(sortedGenForFilter.begin() +
nCandCuts.at(
n), sortedGenForFilter.end());
896 throw(
cms::Exception(
"Release Validation Error") <<
"HLT output type not implemented: theHLTOutputTypes[n]");
References autoConfMode_, checkGeneratedParticlesRequirement(), checkRecoParticlesRequirement(), EgHLTOffHistBins_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_, PDWG_DiJetAODSkim_cff::hltResults, hltResults_token, mps_fire::i, createfilelist::int, edm::HandleBase::isValid(), mcMatchedOnly_, minEtForEtaEffPlot_, HLTConfigProvider::moduleIndex(), dqmiodumpmetadata::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_.
◆ bookHistograms()
Implements DQMOneEDAnalyzer<>.
Definition at line 376 of file EmDQM.cc.
380 for (std::vector<edm::ParameterSet>::iterator psetIt =
paramSets.begin(); psetIt !=
paramSets.end(); ++psetIt) {
391 std::vector<MonitorElement *> etahist;
392 std::vector<MonitorElement *> phihist;
393 std::vector<MonitorElement *> ethist;
394 std::vector<MonitorElement *> etahistmatch;
395 std::vector<MonitorElement *> phihistmatch;
396 std::vector<MonitorElement *> ethistmatch;
397 std::vector<MonitorElement *> histEtOfHltObjMatchToGen;
398 std::vector<MonitorElement *> histEtaOfHltObjMatchToGen;
399 std::vector<MonitorElement *> histPhiOfHltObjMatchToGen;
400 std::vector<MonitorElement *> etaphihist;
401 std::vector<MonitorElement *> etaphihistmatch;
402 std::vector<MonitorElement *> histEtaPhiOfHltObjMatchToGen;
426 histName =
"total_eff_MC_matched";
427 histTitle =
"total events passing (mc matched)";
428 totalmatch = iBooker.
book1D(
445 pdgIdString =
"Electron";
448 pdgIdString =
"Photon";
451 pdgIdString =
"Particle";
455 histTitle =
"E_{T} of " + pdgIdString +
"s";
457 histName =
"gen_eta";
458 histTitle =
"#eta of " + pdgIdString +
"s ";
460 histName =
"gen_phi";
461 histTitle =
"#phi of " + pdgIdString +
"s ";
464 histName =
"gen_etaphi";
465 histTitle =
"#eta-#phi of " + pdgIdString +
"s ";
466 etaphigen = iBooker.
book2D(
472 std::vector<std::string> HltHistTitle;
487 ethist.push_back(tmphisto);
493 etahist.push_back(tmphisto);
500 phihist.push_back(tmphisto);
504 histTitle = HltHistTitle[
i] +
" #eta-#phi (ALL)";
505 tmphisto = iBooker.
book2D(
507 etaphihist.push_back(tmphisto);
514 histEtOfHltObjMatchToGen.push_back(tmphisto);
521 histEtaOfHltObjMatchToGen.push_back(tmphisto);
529 histPhiOfHltObjMatchToGen.push_back(tmphisto);
534 tmphisto = iBooker.
book2D(
536 histEtaPhiOfHltObjMatchToGen.push_back(tmphisto);
541 histTitle = HltHistTitle[
i] +
" Et (MC matched)";
543 ethistmatch.push_back(tmphisto);
547 histTitle = HltHistTitle[
i] +
" #eta (MC matched)";
549 etahistmatch.push_back(tmphisto);
554 histTitle = HltHistTitle[
i] +
" #phi (MC matched)";
556 phihistmatch.push_back(tmphisto);
560 histTitle = HltHistTitle[
i] +
" #eta-#phi (MC matched)";
561 tmphisto = iBooker.
book2D(
563 etaphihistmatch.push_back(tmphisto);
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dirname_, eta2DMax_, etagens, etahistmatchs, etahists, etaMax_, etaphigens, etaphihistmatchs, etaphihists, etgens, ethistmatchs, ethists, histEtaOfHltObjMatchToGens, histEtaPhiOfHltObjMatchToGens, histEtOfHltObjMatchToGens, histPhiOfHltObjMatchToGens, B2GTnPMonitor_cfi::histTitle, mps_fire::i, label, mcMatchedOnly_, nbins2D_, nbins_, noPhiPlots_, numOfHLTCollectionLabels, paramSets, pdgGen, phi2DMax_, phigens, phihistmatchs, phihists, phiMax_, plotPtMax, plotPtMin, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), SetVarsFromPSet(), AlCaHLTBitMon_QueryRunRegistry::string, theHLTCollectionHumanNames, theHLTCollectionLabels, dqmMemoryStats::total, totalmatchs, totals, and useHumanReadableHistTitles_.
◆ checkGeneratedParticlesRequirement()
bool EmDQM::checkGeneratedParticlesRequirement |
( |
const edm::Event & |
event | ) |
|
|
private |
helper to check whether there were enough generator level electrons/photons (MC) or enough reco level electrons/photons to analyze this event.
- Returns
- if the event has enough of these candidates.
Definition at line 606 of file EmDQM.cc.
620 std::vector<reco::LeafCandidate> allSortedGenParticles;
624 currentGenParticle++) {
628 if (!(
abs((*currentGenParticle).pdgId()) ==
pdgGen && (*currentGenParticle).status() == 1 &&
629 (*currentGenParticle).et() > 2.0))
637 allSortedGenParticles.push_back(tmpcand);
643 if (allSortedGenParticles.size() <
gencut_)
654 bool inECALgap = fabs(allSortedGenParticles[
i].
eta()) > 1.4442 && fabs(allSortedGenParticles[
i].
eta()) < 1.556;
655 if ((fabs(allSortedGenParticles[
i].
eta()) >
genEtaAcc_) || inECALgap) {
References funct::abs(), reco::LeafCandidate::et(), PVValHelper::eta, gencut_, genEtaAcc_, genParticles2HepMC_cfi::genParticles, genParticles_token, mps_fire::i, OUTPUT_WARNINGS, pdgGen, plotEtMin, pTGenComparator_, jetUpdater_cfi::sort, and verbosity_.
Referenced by analyze().
◆ checkRecoParticlesRequirement()
bool EmDQM::checkRecoParticlesRequirement |
( |
const edm::Event & |
event | ) |
|
|
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.
697 if (!referenceParticles.
isValid()) {
703 std::vector<const reco::Candidate *> allSortedReferenceParticles;
706 currentReferenceParticle != referenceParticles->end();
707 currentReferenceParticle++) {
708 if (currentReferenceParticle->et() <= 2.0)
716 if (currentReferenceParticle->et() <
plotEtMin)
720 allSortedReferenceParticles.push_back(&(*currentReferenceParticle));
727 return allSortedReferenceParticles.size() >=
gencut_;
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().
◆ countSubstring()
int EmDQM::countSubstring |
( |
const std::string & |
str, |
|
|
const std::string & |
sub |
|
) |
| |
|
private |
◆ dqmBeginRun()
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 64 of file EmDQM.cc.
77 edm::LogInfo(
"EmDQM") <<
"The following filter types are not analyzed: \n"
78 <<
"\tHLTGlobalSumsMET\n"
79 <<
"\tHLTHtMhtFilter\n"
87 <<
"\tPFTauSelector\n"
89 <<
"\tHLTPFJetCollectionsFilter\n"
90 <<
"\tHLTPFJetCollectionsVBFFilter\n"
92 <<
"\tEtMinCaloJetSelector\n"
93 <<
"\tEtMinPFJetSelector\n"
94 <<
"\tLargestEtCaloJetSelector\n"
95 <<
"\tLargestEtPFJetSelector\n"
96 <<
"\tHLTEgammaTriggerFilterObjectWrapper\n"
97 <<
"\tHLTEgammaDoubleLegCombFilter\n"
98 <<
"\tHLT2ElectronTau\n"
99 <<
"\tHLT2ElectronMET\n"
100 <<
"\tHLT2ElectronPFTau\n"
101 <<
"\tHLTPMMassFilter\n"
102 <<
"\tHLTHcalTowerFilter\n"
105 <<
"\tHLTRHemisphere\n"
106 <<
"\tHLTElectronPFMTFilter\n"
107 <<
"\tPrimaryVertexObjectFilter\n"
108 <<
"\tHLTEgammaAllCombMassFilter\n"
124 std::vector<std::string> filterModules;
126 for (
unsigned int j = 0;
j < egammaPaths.size();
j++) {
130 edm::LogPrint(
"EmDQM") <<
"////////////////////////////////////////"
131 "/\nSingle electron paths: ";
134 edm::LogPrint(
"EmDQM") <<
"////////////////////////////////////////"
135 "/\nDouble electron paths: ";
138 edm::LogPrint(
"EmDQM") <<
"////////////////////////////////////////"
139 "/\nTriple electron paths: ";
142 edm::LogPrint(
"EmDQM") <<
"////////////////////////////////////////"
143 "/\nSingle photon paths: ";
146 edm::LogPrint(
"EmDQM") <<
"////////////////////////////////////////"
147 "/\nDouble photon paths: ";
152 for (
unsigned int i = 0;
i < egammaPaths.at(
j).size();
i++) {
176 <<
"': Unable to determine a minimum Et. Will not include "
177 "this path in the validation.";
231 std::vector<edm::ParameterSet> filterVPSet;
236 for (std::vector<std::string>::iterator
filter = filterModules.begin();
filter != filterModules.end();
242 if (moduleType ==
"Pythia6GeneratorFilter" || moduleType ==
"HLTTriggerTypeFilter" ||
243 moduleType ==
"HLTLevel1Activity" || moduleType ==
"HLTPrescaler" || moduleType ==
"HLTBool")
247 if (moduleType ==
"HLTLevel1GTSeed") {
249 }
else if (moduleType ==
"HLTEgammaL1MatchFilterRegional") {
251 }
else if (moduleType ==
"HLTEgammaEtFilter") {
253 }
else if (moduleType ==
"HLTElectronOneOEMinusOneOPFilterRegional") {
255 }
else if (moduleType ==
"HLTElectronPixelMatchFilter") {
257 }
else if (moduleType ==
"HLTEgammaGenericFilter") {
259 }
else if (moduleType ==
"HLTEgammaGenericQuadraticFilter") {
261 }
else if (moduleType ==
"HLTElectronGenericFilter") {
263 }
else if (moduleType ==
"HLTEgammaDoubleEtDeltaPhiFilter") {
265 }
else if (moduleType ==
"HLTGlobalSumsMET" || moduleType ==
"HLTHtMhtFilter" ||
266 moduleType ==
"HLTMhtFilter" || moduleType ==
"HLTJetTag" || moduleType ==
"HLT1CaloJet" ||
267 moduleType ==
"HLT1CaloMET" || moduleType ==
"HLT1CaloBJet" || moduleType ==
"HLT1Tau" ||
268 moduleType ==
"HLT1PFTau" || moduleType ==
"PFTauSelector" || moduleType ==
"HLT1PFJet" ||
269 moduleType ==
"HLTPFJetCollectionsFilter" || moduleType ==
"HLTPFJetCollectionsVBFFilter" ||
270 moduleType ==
"HLTPFJetTag" || moduleType ==
"EtMinCaloJetSelector" ||
271 moduleType ==
"EtMinPFJetSelector" || moduleType ==
"LargestEtCaloJetSelector" ||
272 moduleType ==
"LargestEtPFJetSelector" ||
273 moduleType ==
"HLTEgammaTriggerFilterObjectWrapper"
274 || moduleType ==
"HLTEgammaDoubleLegCombFilter"
277 || moduleType ==
"HLT2ElectronMET" || moduleType ==
"HLT2ElectronTau" ||
278 moduleType ==
"HLT2ElectronPFTau" || moduleType ==
"HLTPMMassFilter" ||
279 moduleType ==
"HLTHcalTowerFilter" || moduleType ==
"HLT1Photon" || moduleType ==
"HLTRFilter" ||
280 moduleType ==
"HLTRHemisphere" || moduleType ==
"HLTElectronPFMTFilter" ||
281 moduleType ==
"PrimaryVertexObjectFilter" || moduleType ==
"HLTEgammaAllCombMassFilter" ||
282 moduleType.find(
"HLTMuon") != std::string::npos)
287 << moduleType <<
"' added. Module will not be analyzed.";
292 if (!filterPSet.
empty()) {
297 if (
moduleLabel.find(
"Unseeded") != std::string::npos &&
307 << paramSet.
getParameter<
int>(
"cutnum") <<
", determined from path name.";
310 edm::LogInfo(
"EmDQM") <<
"Changed required number of candidates from "
317 filterVPSet.push_back(filterPSet);
324 if (!filterPSet.
empty()) {
334 paramSet.
addParameter<std::vector<edm::ParameterSet>>(
"filters", filterVPSet);
337 edm::LogPrint(
"EmDQM") <<
"Will not include this path in the validation due to "
338 "errors while generating the parameter set.";
357 for (std::vector<edm::ParameterSet>::iterator psetIt =
paramSets.begin(); psetIt !=
paramSets.end(); ++psetIt) {
References edm::ParameterSet::addParameter(), edm::ParameterSet::addUntrackedParameter(), autoConfMode_, reco::ceil(), HLTConfigProvider::changed(), edm::ParameterSet::empty(), edm::ParameterSet::exists(), ALCARECOTkAlBeamHalo_cff::filter, findEgammaPaths(), HLT_Ele8_CaloIdT_TrkIdVL_DQM_cfi::genEtMin, getFilterModules(), edm::ParameterSet::getParameter(), getPrimaryEtCut(), hltCollectionLabelsFound, hltCollectionLabelsFoundPerPath, hltCollectionLabelsMissed, hltCollectionLabelsMissedPerPath, hltConfig_, mps_fire::i, HLTConfigProvider::init(), HLTConfigProvider::inited(), HLT_FULL_cff::InputTag, isData_, dqmiolumiharvest::j, label, makePSetForEgammaDoubleEtDeltaPhiFilter(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), makePSetForPixelMatchFilter(), HerwigMaxPtPartonFilter_cfi::moduleLabel, HLTConfigProvider::modulePSet(), OUTPUT_ALL, OUTPUT_ERRORS, OUTPUT_WARNINGS, paramSets, hltMonBTagIPClient_cfi::pathName, 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_.
◆ dqmEndRun()
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 1078 of file EmDQM.cc.
1080 unsigned int vPos = 0;
1081 for (std::vector<edm::ParameterSet>::iterator psetIt =
paramSets.begin(); psetIt !=
paramSets.end();
1089 std::vector<std::string> labelsNeverFound;
1095 labelsNeverFound.push_back(
atag.encode());
1099 if (labelsNeverFound.empty())
1102 std::sort(labelsNeverFound.begin(), labelsNeverFound.end());
1108 edm::LogWarning(
"EmDQM") <<
"There were some HLTCollectionLabels which were never found:";
1110 for (
auto const &
tag : labelsNeverFound) {
References getBeamSpotDB::atag, submitPVResolutionJobs::count, hltCollectionLabelsFoundPerPath, hltCollectionLabelsMissedPerPath, HLT_FULL_cff::InputTag, OUTPUT_ALL, OUTPUT_WARNINGS, paramSets, SetVarsFromPSet(), jetUpdater_cfi::sort, GlobalPosition_Frontier_DevDB_cff::tag, and verbosity_.
◆ findEgammaPaths()
std::vector< std::vector< std::string > > EmDQM::findEgammaPaths |
( |
| ) |
|
|
private |
Definition at line 1130 of file EmDQM.cc.
1131 std::vector<std::vector<std::string>>
Paths(5);
1137 if (
int(
path.find(
"HLT_")) == 0) {
1147 int totEleCount = 2 * tripleEleCount + doubleEleCount + eleCount + scCount + 2 * doubleSCCount;
1148 int totPhotonCount = doublePhotonCount + photonCount;
1150 if (totEleCount + totPhotonCount < 1)
1152 switch (totEleCount) {
1167 switch (totPhotonCount) {
References countSubstring(), hltConfig_, mps_fire::i, castor_dqm_sourceclient_file_cfg::path, HLTTauDQMOffline_cfi::Paths, 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().
◆ getFilterModules()
std::vector< std::string > EmDQM::getFilterModules |
( |
const std::string & |
path | ) |
|
|
private |
◆ getPrimaryEtCut()
double EmDQM::getPrimaryEtCut |
( |
const std::string & |
path | ) |
|
|
private |
◆ makePSetForEgammaDoubleEtDeltaPhiFilter()
edm::ParameterSet EmDQM::makePSetForEgammaDoubleEtDeltaPhiFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1362 of file EmDQM.cc.
1365 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1369 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1370 std::vector<edm::InputTag>(1,
std::string(
"none")));
References edm::ParameterSet::addParameter(), HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
◆ makePSetForEgammaGenericFilter()
edm::ParameterSet EmDQM::makePSetForEgammaGenericFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1379 of file EmDQM.cc.
1428 std::vector<edm::InputTag> isoCollections;
1429 isoCollections.push_back(
varTag);
1437 if (inputType ==
"EgammaHLTR9Producer" ||
1438 inputType ==
"EgammaHLTR9IDProducer" ||
1439 inputType ==
"EgammaHLTClusterShapeProducer" ||
1440 inputType ==
"EgammaHLTEcalRecIsolationProducer" ||
1441 inputType ==
"EgammaHLTHcalIsolationProducersRegional" ||
1442 inputType ==
"EgammaHLTGsfTrackVarProducer" ||
1443 inputType ==
"EgammaHLTBcHcalIsolationProducersRegional" ||
1445 inputType ==
"EgammaHLTEcalPFClusterIsolationProducer" ||
1447 inputType ==
"EgammaHLTHcalPFClusterIsolationProducer" ||
1449 inputType ==
"EgammaHLTElectronTrackIsolationProducers"
1451 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1455 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections", isoCollections);
1463 <<
"' should do: uses a collection produced by a module of C++ type '" << inputType <<
"'.";
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), HLTConfigProvider::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, triggerObject_, trigger::TriggerPhoton, HLT_FULL_cff::varTag, and verbosity_.
Referenced by dqmBeginRun().
◆ makePSetForEgammaGenericQuadraticFilter()
edm::ParameterSet EmDQM::makePSetForEgammaGenericQuadraticFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1469 of file EmDQM.cc.
1517 std::vector<edm::InputTag> isoCollections;
1518 isoCollections.push_back(
varTag);
1526 if (inputType ==
"EgammaHLTR9Producer" ||
1527 inputType ==
"EgammaHLTR9IDProducer" ||
1528 inputType ==
"EgammaHLTClusterShapeProducer" ||
1529 inputType ==
"EgammaHLTEcalRecIsolationProducer" ||
1530 inputType ==
"EgammaHLTHcalIsolationProducersRegional" ||
1531 inputType ==
"EgammaHLTBcHcalIsolationProducersRegional" ||
1533 inputType ==
"EgammaHLTEcalPFClusterIsolationProducer" ||
1535 inputType ==
"EgammaHLTHcalPFClusterIsolationProducer" ||
1537 inputType ==
"EgammaHLTPhotonTrackIsolationProducersRegional"
1540 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1544 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections", isoCollections);
1552 <<
"' should do: uses a collection produced by a module of C++ type '" << inputType <<
"'.";
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), HLTConfigProvider::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, triggerObject_, trigger::TriggerPhoton, HLT_FULL_cff::varTag, and verbosity_.
Referenced by dqmBeginRun().
◆ makePSetForElectronGenericFilter()
edm::ParameterSet EmDQM::makePSetForElectronGenericFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1558 of file EmDQM.cc.
1601 std::vector<edm::InputTag> isoCollections;
1602 isoCollections.push_back(
varTag);
1612 if (inputType ==
"EgammaHLTElectronDetaDphiProducer" ||
1613 inputType ==
"EgammaHLTElectronTrackIsolationProducers"
1615 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1619 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections", isoCollections);
1627 <<
"' should do: uses a collection produced by a module of C++ type '" << inputType <<
"'.";
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), OUTPUT_ERRORS, edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerElectron, triggerObject_, HLT_FULL_cff::varTag, and verbosity_.
Referenced by dqmBeginRun().
◆ makePSetForEtFilter()
Definition at line 1311 of file EmDQM.cc.
1314 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1318 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1319 std::vector<edm::InputTag>(1,
std::string(
"none")));
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
◆ makePSetForL1SeedFilter()
Definition at line 1226 of file EmDQM.cc.
1233 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1237 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1238 std::vector<edm::InputTag>(1,
std::string(
"none")));
1249 int candCount = 2 * tEgCount + dEgCount + egCount;
1253 if (orCount > 0 && candCount > 0) {
1254 if (egCount % (orCount + 1) == 0 && dEgCount % (orCount + 1) == 0 && tEgCount % (orCount + 1) == 0)
1255 candCount /= (orCount + 1);
1256 else if (egCount - dEgCount - tEgCount > 0)
1258 else if (dEgCount > 0)
1260 else if (tEgCount > 0)
1266 switch (candCount) {
References edm::ParameterSet::addParameter(), countSubstring(), HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerL1NoIsoEG, and triggerObject_.
Referenced by dqmBeginRun().
◆ makePSetForL1SeedToSuperClusterMatchFilter()
edm::ParameterSet EmDQM::makePSetForL1SeedToSuperClusterMatchFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1288 of file EmDQM.cc.
1297 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1301 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1302 std::vector<edm::InputTag>(1,
std::string(
"none")));
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
◆ makePSetForOneOEMinusOneOPFilter()
edm::ParameterSet EmDQM::makePSetForOneOEMinusOneOPFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1328 of file EmDQM.cc.
1331 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1335 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1336 std::vector<edm::InputTag>(1,
std::string(
"none")));
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerElectron, and triggerObject_.
Referenced by dqmBeginRun().
◆ makePSetForPixelMatchFilter()
edm::ParameterSet EmDQM::makePSetForPixelMatchFilter |
( |
const std::string & |
moduleName | ) |
|
|
private |
Definition at line 1345 of file EmDQM.cc.
1348 retPSet.
addParameter<std::vector<double>>(
"PlotBounds", std::vector<double>(2, 0.0));
1352 retPSet.
addParameter<std::vector<edm::InputTag>>(
"IsoCollections",
1353 std::vector<edm::InputTag>(1,
std::string(
"none")));
References edm::ParameterSet::addParameter(), edm::ParameterSet::getParameter(), hltConfig_, HLT_FULL_cff::InputTag, EcalCalibMonitorClient_cfi::moduleName, HLTConfigProvider::modulePSet(), edm::InputTag::process(), AlCaHLTBitMon_QueryRunRegistry::string, trigger::TriggerCluster, and triggerObject_.
Referenced by dqmBeginRun().
◆ SetVarsFromPSet()
Definition at line 1633 of file EmDQM.cc.
1634 dirname_ =
"HLT/HLTEgammaValidation/" + psetIt->getParameter<
std::string>(
"@module_label");
1636 pathIndex = psetIt->getUntrackedParameter<
unsigned int>(
"pathIndex", 0);
1638 reqNum = psetIt->getParameter<
unsigned int>(
"reqNum");
1639 pdgGen = psetIt->getParameter<
int>(
"pdgGen");
1641 plotEtMin = psetIt->getUntrackedParameter<
double>(
"genEtMin", 0.);
1642 plotPtMin = psetIt->getUntrackedParameter<
double>(
"PtMin", 0.);
1643 plotPtMax = psetIt->getUntrackedParameter<
double>(
"PtMax", 1000.);
1647 gencut_ = psetIt->getParameter<
int>(
"cutnum");
1653 std::vector<edm::ParameterSet>
filters = psetIt->getParameter<std::vector<edm::ParameterSet>>(
"filters");
1665 for (std::vector<edm::ParameterSet>::iterator filterconf =
filters.begin(); filterconf !=
filters.end();
1668 theHLTOutputTypes.push_back(filterconf->getParameter<
int>(
"theHLTOutputTypes"));
1674 std::vector<double> bounds = filterconf->getParameter<std::vector<double>>(
"PlotBounds");
1676 assert(bounds.size() == 2);
1677 plotBounds.push_back(std::pair<double, double>(bounds[0], bounds[1]));
1678 isoNames.push_back(filterconf->getParameter<std::vector<edm::InputTag>>(
"IsoCollections"));
1705 if (
isoNames.back().at(0).label() ==
"none") {
1713 nCandCuts.push_back(filterconf->getParameter<
int>(
"ncandcut"));
References cms::cuda::assert(), 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 dqmEndRun().
◆ HistoFiller< l1extra::L1EmParticleCollection >
◆ HistoFiller< reco::ElectronCollection >
◆ HistoFiller< reco::RecoEcalCandidateCollection >
◆ autoConfMode_
bool EmDQM::autoConfMode_ |
|
private |
◆ dirname_
std::string EmDQM::dirname_ |
|
private |
◆ eta2DMax_
◆ etagens
◆ etahistmatchs
◆ etahists
◆ etaMax_
◆ etaphigens
◆ etaphihistmatchs
◆ etaphihists
◆ etgens
◆ ethistmatchs
◆ ethists
◆ gencut_
unsigned int EmDQM::gencut_ |
|
private |
◆ gencutColl_fidDiGamma_token
◆ gencutColl_fidGammaJet_token
◆ gencutColl_fidTripleEle_token
◆ gencutColl_fidWenu_token
◆ gencutColl_fidZee_token
◆ gencutColl_manualConf_token
◆ gencutCollection_
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 182 of file EmDQM.h.
Referenced by SetVarsFromPSet().
◆ genEtaAcc_
◆ genEtAcc_
◆ genParticles_token
◆ histEtaOfHltObjMatchToGens
std::vector<std::vector<MonitorElement *> > EmDQM::histEtaOfHltObjMatchToGens |
|
private |
◆ histEtaPhiOfHltObjMatchToGens
std::vector<std::vector<MonitorElement *> > EmDQM::histEtaPhiOfHltObjMatchToGens |
|
private |
◆ histEtOfHltObjMatchToGens
std::vector<std::vector<MonitorElement *> > EmDQM::histEtOfHltObjMatchToGens |
|
private |
◆ histoFillerClu
◆ histoFillerEle
◆ histoFillerL1Iso
◆ histoFillerL1NonIso
◆ histoFillerPho
◆ histPhiOfHltObjMatchToGens
std::vector<std::vector<MonitorElement *> > EmDQM::histPhiOfHltObjMatchToGens |
|
private |
◆ hltCollectionLabelsFound
std::set<std::string> EmDQM::hltCollectionLabelsFound |
|
private |
◆ hltCollectionLabelsFoundPerPath
std::vector<std::set<std::string> > EmDQM::hltCollectionLabelsFoundPerPath |
|
private |
◆ hltCollectionLabelsMissed
std::set<std::string> EmDQM::hltCollectionLabelsMissed |
|
private |
◆ hltCollectionLabelsMissedPerPath
std::vector<std::set<std::string> > EmDQM::hltCollectionLabelsMissedPerPath |
|
private |
◆ hltConfig_
The instance of the HLTConfigProvider as a data member.
Definition at line 135 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), findEgammaPaths(), getFilterModules(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), and makePSetForPixelMatchFilter().
◆ hltResults_token
◆ isData_
◆ isoNames
◆ mcMatchedOnly_
bool EmDQM::mcMatchedOnly_ |
|
private |
◆ minEtForEtaEffPlot_
unsigned int EmDQM::minEtForEtaEffPlot_ |
|
private |
◆ nbins2D_
unsigned int EmDQM::nbins2D_ |
|
private |
◆ nbins_
unsigned int EmDQM::nbins_ |
|
private |
◆ nCandCuts
std::vector<unsigned int> EmDQM::nCandCuts |
|
private |
◆ noIsolationPlots_
bool EmDQM::noIsolationPlots_ |
|
private |
◆ noPhiPlots_
◆ numOfHLTCollectionLabels
unsigned int EmDQM::numOfHLTCollectionLabels |
|
private |
◆ OUTPUT_ALL
const unsigned EmDQM::OUTPUT_ALL = 3 |
|
staticprivate |
◆ OUTPUT_ERRORS
const unsigned EmDQM::OUTPUT_ERRORS = 1 |
|
staticprivate |
◆ OUTPUT_SILENT
const unsigned EmDQM::OUTPUT_SILENT = 0 |
|
staticprivate |
◆ OUTPUT_WARNINGS
const unsigned EmDQM::OUTPUT_WARNINGS = 2 |
|
staticprivate |
◆ paramSets
◆ pathIndex
unsigned int EmDQM::pathIndex |
|
private |
◆ pdgGen
◆ phi2DMax_
◆ phigens
◆ phihistmatchs
◆ phihists
◆ phiMax_
◆ plotBounds
std::vector<std::pair<double, double> > EmDQM::plotBounds |
|
private |
◆ plotEtMin
◆ plotiso
std::vector<bool> EmDQM::plotiso |
|
private |
◆ plotPtMax
◆ plotPtMin
◆ pset
◆ pTComparator_
◆ pTGenComparator_
◆ ptMax_
◆ ptMin_
◆ reqNum
unsigned int EmDQM::reqNum |
|
private |
◆ theHLTCollectionHumanNames
std::vector<std::string> EmDQM::theHLTCollectionHumanNames |
|
private |
◆ theHLTCollectionLabels
◆ theHLTOutputTypes
std::vector<int> EmDQM::theHLTOutputTypes |
|
private |
◆ theL1Seed
◆ totalmatchs
◆ totals
◆ triggerObject_
Definition at line 101 of file EmDQM.h.
Referenced by analyze(), dqmBeginRun(), EmDQM(), makePSetForEgammaDoubleEtDeltaPhiFilter(), makePSetForEgammaGenericFilter(), makePSetForEgammaGenericQuadraticFilter(), makePSetForElectronGenericFilter(), makePSetForEtFilter(), makePSetForL1SeedFilter(), makePSetForL1SeedToSuperClusterMatchFilter(), makePSetForOneOEMinusOneOPFilter(), and makePSetForPixelMatchFilter().
◆ triggerObject_token
◆ TYPE_DOUBLE_ELE
const unsigned EmDQM::TYPE_DOUBLE_ELE = 1 |
|
staticprivate |
◆ TYPE_DOUBLE_PHOTON
const unsigned EmDQM::TYPE_DOUBLE_PHOTON = 3 |
|
staticprivate |
◆ TYPE_SINGLE_ELE
const unsigned EmDQM::TYPE_SINGLE_ELE = 0 |
|
staticprivate |
◆ TYPE_SINGLE_PHOTON
const unsigned EmDQM::TYPE_SINGLE_PHOTON = 2 |
|
staticprivate |
◆ TYPE_TRIPLE_ELE
const unsigned EmDQM::TYPE_TRIPLE_ELE = 4 |
|
staticprivate |
◆ useHumanReadableHistTitles_
bool EmDQM::useHumanReadableHistTitles_ |
|
private |
◆ verbosity_
unsigned int EmDQM::verbosity_ |
|
private |
unsigned int moduleIndex(unsigned int trigger, const std::string &module) const
slot position of module on trigger path (0 to size-1)
edm::EDGetTokenT< edm::TriggerResults > hltResults_token
edm::EDGetTokenT< edm::View< reco::Candidate > > genParticles_token
std::vector< MonitorElement * > totalmatchs
std::vector< TPRegexp > filters
std::vector< int > theHLTOutputTypes
const std::string moduleType(const std::string &module) const
C++ class name of module.
std::vector< std::pair< double, double > > plotBounds
std::vector< MonitorElement * > etgens
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidZee_token
std::vector< std::vector< MonitorElement * > > etahists
std::vector< std::vector< MonitorElement * > > etahistmatchs
void fillHistos(edm::Handle< trigger::TriggerEventWithRefs > &, const edm::Event &, unsigned int, unsigned int, std::vector< reco::Particle > &, bool &)
edm::ParameterSet makePSetForOneOEMinusOneOPFilter(const std::string &)
bool checkRecoParticlesRequirement(const edm::Event &event)
std::vector< MonitorElement * > etaphigens
edm::ParameterSet makePSetForEgammaGenericFilter(const std::string &)
std::vector< std::vector< MonitorElement * > > etaphihists
static const unsigned OUTPUT_ERRORS
Log< level::Warning, true > LogPrint
HLTConfigProvider hltConfig_
The instance of the HLTConfigProvider as a data member.
unsigned int numOfHLTCollectionLabels
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidWenu_token
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< std::set< std::string > > hltCollectionLabelsMissedPerPath
std::set< std::string > hltCollectionLabelsFound
edm::ParameterSet makePSetForElectronGenericFilter(const std::string &)
T getUntrackedParameter(std::string const &, T const &) const
std::vector< std::vector< std::string > > findEgammaPaths()
Log< level::Info, false > LogInfo
std::vector< std::set< std::string > > hltCollectionLabelsFoundPerPath
HistoFiller< l1extra::L1EmParticleCollection > * histoFillerL1NonIso
void addUntrackedParameter(std::string const &name, T const &value)
Log< level::Warning, false > LogWarning
bool inited() const
Accessors (const methods)
const std::string & moduleLabel(unsigned int trigger, unsigned int module) const
GreaterByPt< reco::GenParticle > pTGenComparator_
static const unsigned OUTPUT_ALL
std::vector< std::string > getFilterModules(const std::string &)
std::vector< std::vector< MonitorElement * > > histEtaPhiOfHltObjMatchToGens
std::vector< edm::InputTag > theHLTCollectionLabels
HistoFiller< l1extra::L1EmParticleCollection > * histoFillerL1Iso
HistoFiller< reco::ElectronCollection > * histoFillerEle
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidGammaJet_token
std::vector< MonitorElement * > etagens
constexpr int32_t ceil(float num)
bool saveTags(const std::string &module) const
Is module an L3 filter (ie, tracked saveTags=true)
std::vector< std::vector< MonitorElement * > > histPhiOfHltObjMatchToGens
static const unsigned TYPE_DOUBLE_PHOTON
std::set< std::string > hltCollectionLabelsMissed
std::vector< std::vector< MonitorElement * > > phihists
void SetVarsFromPSet(std::vector< edm::ParameterSet >::iterator)
const std::string moduleEDMType(const std::string &module) const
C++ base class name of module.
const edm::ParameterSet & pset
static const unsigned TYPE_SINGLE_PHOTON
edm::InputTag triggerObject_
static const std::string removeVersion(const std::string &trigger)
HistoFiller< reco::RecoEcalCandidateCollection > * histoFillerPho
std::vector< std::vector< edm::InputTag > > isoNames
edm::ParameterSet makePSetForL1SeedFilter(const std::string &)
unsigned int size() const
number of trigger paths in trigger table
std::vector< std::vector< MonitorElement * > > histEtaOfHltObjMatchToGens
bool exists(std::string const ¶meterName) const
checks if a parameter exists
const edm::ParameterSet & modulePSet(const std::string &module) const
ParameterSet of module.
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidTripleEle_token
int countSubstring(const std::string &, const std::string &)
std::vector< unsigned int > nCandCuts
void addParameter(std::string const &name, T const &value)
static const unsigned OUTPUT_WARNINGS
edm::InputTag gencutCollection_
std::vector< std::vector< MonitorElement * > > phihistmatchs
std::vector< MonitorElement * > totals
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
const std::string & tableName() const
HLT ConfDB table name.
const std::string & processName() const
process name
std::vector< std::vector< MonitorElement * > > ethistmatchs
Log< level::Error, false > LogError
static const unsigned TYPE_DOUBLE_ELE
std::vector< std::vector< MonitorElement * > > etaphihistmatchs
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
std::vector< std::vector< MonitorElement * > > histEtOfHltObjMatchToGens
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidDiGamma_token
edm::ParameterSet makePSetForEgammaDoubleEtDeltaPhiFilter(const std::string &)
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_manualConf_token
bool checkGeneratedParticlesRequirement(const edm::Event &event)
GreaterByPt< reco::Particle > pTComparator_
std::vector< MonitorElement * > phigens
bool useHumanReadableHistTitles_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
edm::EDGetTokenT< trigger::TriggerEventWithRefs > triggerObject_token
HistoFiller< reco::RecoEcalCandidateCollection > * histoFillerClu
edm::ParameterSet makePSetForEtFilter(const std::string &)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
bool changed() const
changed?
std::vector< std::vector< MonitorElement * > > ethists
T getParameter(std::string const &) const
std::vector< bool > plotiso
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::vector< edm::ParameterSet > paramSets
const std::string & triggerName(unsigned int triggerIndex) const
Abs< T >::type abs(const T &t)
static const unsigned TYPE_TRIPLE_ELE
edm::ParameterSet makePSetForPixelMatchFilter(const std::string &)
std::vector< std::string > theHLTCollectionHumanNames
double getPrimaryEtCut(const std::string &)
static const unsigned TYPE_SINGLE_ELE
edm::ParameterSet makePSetForL1SeedToSuperClusterMatchFilter(const std::string &)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::ParameterSet makePSetForEgammaGenericQuadraticFilter(const std::string &)
unsigned int minEtForEtaEffPlot_