1 #ifndef HLTriggerOffline_Egamma_EmDQM_H
2 #define HLTriggerOffline_Egamma_EmDQM_H
30 #include "HepMC/GenParticle.h"
34 #include <boost/regex.hpp>
35 #include <boost/lexical_cast.hpp>
36 #include <boost/foreach.hpp>
38 #include "TDirectory.h"
46 #include <Math/VectorUtil.h>
71 explicit
EmDQM(const edm::ParameterSet& pset);
78 void
analyze(const edm::Event & event, const edm::EventSetup&);
82 void
dqmBeginRun(edm::Run const&, edm::EventSetup const&);
83 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
84 void
endRun(edm::Run const&, edm::EventSetup const&);
197 std::vector<std::vector<MonitorElement*> >
etahists;
198 std::vector<std::vector<MonitorElement*> >
phihists;
199 std::vector<std::vector<MonitorElement*> >
ethists;
edm::ParameterSet makePSetForEgammaGenericFilter(const std::string &)
std::vector< MonitorElement * > totals
edm::ParameterSet makePSetForEgammaGenericQuadraticFilter(const std::string &)
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidZee_token
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< std::vector< MonitorElement * > > histEtOfHltObjMatchToGens
std::vector< std::vector< std::string > > findEgammaPaths()
bool checkRecoParticlesRequirement(const edm::Event &event)
unsigned int numOfHLTCollectionLabels
std::vector< std::vector< MonitorElement * > > phihists
std::vector< std::set< std::string > > hltCollectionLabelsMissedPerPath
static const unsigned OUTPUT_ALL
std::set< std::string > hltCollectionLabelsFound
std::vector< std::vector< MonitorElement * > > histPhiOfHltObjMatchToGens
std::vector< std::set< std::string > > hltCollectionLabelsFoundPerPath
HLTConfigProvider hltConfig_
The instance of the HLTConfigProvider as a data member.
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 * > > etahists
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< MonitorElement * > etagens
std::vector< std::vector< MonitorElement * > > ethists
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< std::vector< MonitorElement * > > ethistmatchs
std::vector< unsigned int > nCandCuts
HistoFiller< reco::RecoEcalCandidateCollection > * histoFillerPho
edm::InputTag triggerObject_
void endRun(edm::Run const &, edm::EventSetup const &)
static const unsigned OUTPUT_WARNINGS
void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidGammaJet_token
std::set< std::string > hltCollectionLabelsMissed
std::vector< std::vector< MonitorElement * > > etahistmatchs
void SetVarsFromPSet(std::vector< edm::ParameterSet >::iterator)
const edm::ParameterSet & pset
edm::InputTag gencutCollection_
edm::ParameterSet makePSetForEgammaDoubleEtDeltaPhiFilter(const std::string &)
std::vector< std::vector< MonitorElement * > > phihistmatchs
std::vector< Electron > ElectronCollection
collectin of Electron objects
static const unsigned TYPE_SINGLE_PHOTON
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidDiGamma_token
bool checkGeneratedParticlesRequirement(const edm::Event &event)
std::vector< edm::ParameterSet > paramSets
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_fidTripleEle_token
std::vector< std::vector< MonitorElement * > > histEtaOfHltObjMatchToGens
int countSubstring(const std::string &, const std::string &)
void analyze(const edm::Event &event, const edm::EventSetup &)
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
std::vector< MonitorElement * > totalmatchs
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::string > theHLTCollectionHumanNames
edm::EDGetTokenT< edm::View< reco::Candidate > > gencutColl_manualConf_token
GreaterByPt< reco::Particle > pTComparator_
std::vector< MonitorElement * > phigens
std::vector< int > theHLTOutputTypes
edm::ParameterSet makePSetForEtFilter(const std::string &)
edm::ParameterSet makePSetForPixelMatchFilter(const std::string &)
unsigned int minEtForEtaEffPlot_
edm::EDGetTokenT< edm::TriggerResults > hltResults_token
std::vector< std::pair< double, double > > plotBounds
std::vector< MonitorElement * > etgens
std::vector< bool > plotiso