1 #ifndef HLTriggerOffline_Egamma_EmDQM_H
2 #define HLTriggerOffline_Egamma_EmDQM_H
29 #include "HepMC/GenParticle.h"
32 #include <boost/regex.hpp>
34 #include "TDirectory.h"
37 #include <Math/VectorUtil.h>
56 std::vector<reco::Particle> &,
72 explicit
EmDQM(const edm::ParameterSet &pset);
79 void
analyze(const edm::Event &event, const edm::EventSetup &) override;
81 void
dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
82 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
83 void
dqmEndRun(edm::Run const &, edm::EventSetup const &) override;
edm::ParameterSet makePSetForEgammaGenericFilter(const std::string &)
std::vector< std::vector< MonitorElement * > > etaphihists
edm::ParameterSet makePSetForEgammaGenericQuadraticFilter(const std::string &)
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidZee_token
std::vector< MonitorElement * > etgens
void fillHistos(edm::Handle< trigger::TriggerEventWithRefs > &, const edm::Event &, unsigned int, unsigned int, std::vector< reco::Particle > &, bool &)
edm::EDGetTokenT< edm::View< reco::Candidate > > genParticles_token
std::vector< MonitorElement * > totalmatchs
std::vector< std::vector< std::string > > findEgammaPaths()
bool checkRecoParticlesRequirement(const edm::Event &event)
unsigned int numOfHLTCollectionLabels
std::vector< std::pair< double, double > > plotBounds
std::vector< std::set< std::string > > hltCollectionLabelsMissedPerPath
static const unsigned OUTPUT_ALL
std::vector< std::vector< MonitorElement * > > etahistmatchs
std::vector< std::vector< MonitorElement * > > histEtaPhiOfHltObjMatchToGens
std::set< std::string > hltCollectionLabelsFound
void dqmEndRun(edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &event, const edm::EventSetup &) override
std::vector< std::set< std::string > > hltCollectionLabelsFoundPerPath
std::vector< MonitorElement * > etagens
std::vector< MonitorElement * > etaphigens
HLTConfigProvider hltConfig_
The instance of the HLTConfigProvider as a data member.
std::vector< std::vector< MonitorElement * > > histPhiOfHltObjMatchToGens
edm::ParameterSet makePSetForOneOEMinusOneOPFilter(const std::string &)
static const unsigned TYPE_DOUBLE_PHOTON
edm::ParameterSet makePSetForElectronGenericFilter(const std::string &)
HistoFiller< reco::ElectronCollection > * histoFillerEle
std::vector< std::vector< MonitorElement * > > phihists
static const unsigned OUTPUT_ERRORS
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidWenu_token
GreaterByPt< reco::GenParticle > pTGenComparator_
std::vector< std::vector< edm::InputTag > > isoNames
edm::ParameterSet makePSetForL1SeedFilter(const std::string &)
std::vector< std::string > getFilterModules(const std::string &)
static const unsigned OUTPUT_SILENT
std::vector< edm::InputTag > theHLTCollectionLabels
HistoFiller< l1extra::L1EmParticleCollection > * histoFillerL1Iso
HistoFiller< l1extra::L1EmParticleCollection > * histoFillerL1NonIso
std::vector< unsigned int > nCandCuts
HistoFiller< reco::RecoEcalCandidateCollection > * histoFillerPho
edm::InputTag triggerObject_
static const unsigned OUTPUT_WARNINGS
std::vector< MonitorElement * > totals
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidGammaJet_token
std::set< std::string > hltCollectionLabelsMissed
void SetVarsFromPSet(std::vector< edm::ParameterSet >::iterator)
const edm::ParameterSet & pset
edm::InputTag gencutCollection_
edm::ParameterSet makePSetForEgammaDoubleEtDeltaPhiFilter(const std::string &)
std::vector< Electron > ElectronCollection
collectin of Electron objects
std::vector< std::vector< MonitorElement * > > ethistmatchs
static const unsigned TYPE_SINGLE_PHOTON
std::vector< std::vector< MonitorElement * > > etaphihistmatchs
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidDiGamma_token
std::vector< std::vector< MonitorElement * > > histEtaOfHltObjMatchToGens
std::vector< std::vector< MonitorElement * > > phihistmatchs
bool checkGeneratedParticlesRequirement(const edm::Event &event)
std::vector< MonitorElement * > phigens
std::vector< edm::ParameterSet > paramSets
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidTripleEle_token
int countSubstring(const std::string &, const std::string &)
static const unsigned TYPE_SINGLE_ELE
double getPrimaryEtCut(const std::string &)
edm::ParameterSet makePSetForL1SeedToSuperClusterMatchFilter(const std::string &)
bool useHumanReadableHistTitles_
edm::EDGetTokenT< trigger::TriggerEventWithRefs > triggerObject_token
static const unsigned TYPE_DOUBLE_ELE
HistoFiller< reco::RecoEcalCandidateCollection > * histoFillerClu
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
static const unsigned TYPE_TRIPLE_ELE
std::vector< std::vector< MonitorElement * > > histEtOfHltObjMatchToGens
std::vector< std::string > theHLTCollectionHumanNames
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_manualConf_token
GreaterByPt< reco::Particle > pTComparator_
std::vector< int > theHLTOutputTypes
edm::ParameterSet makePSetForEtFilter(const std::string &)
edm::ParameterSet makePSetForPixelMatchFilter(const std::string &)
unsigned int minEtForEtaEffPlot_
std::vector< std::vector< MonitorElement * > > etahists
edm::EDGetTokenT< edm::TriggerResults > hltResults_token
std::vector< std::vector< MonitorElement * > > ethists
std::vector< bool > plotiso