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&) override;
80 void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
81 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
82 void
endRun(edm::Run const&, edm::EventSetup const&) override;
89 HistoFiller<reco::RecoEcalCandidateCollection>* histoFillerClu;
90 HistoFiller<l1extra::L1EmParticleCollection>* histoFillerL1NonIso;
91 HistoFiller<reco::RecoEcalCandidateCollection>* histoFillerPho;
92 HistoFiller<l1extra::L1EmParticleCollection>* histoFillerL1Iso;
112 unsigned
int minEtForEtaEffPlot_;
113 bool useHumanReadableHistTitles_;
124 bool checkGeneratedParticlesRequirement(const edm::Event &event);
130 bool checkRecoParticlesRequirement(const edm::Event & event);
136 int countSubstring(const std::string&, const std::string&);
138 std::vector<std::string> getFilterModules(const std::string&);
139 double getPrimaryEtCut(const std::string&);
151 void SetVarsFromPSet(std::vector<edm::ParameterSet>::iterator);
154 std::vector<edm::ParameterSet> paramSets;
157 std::vector<edm::InputTag> theHLTCollectionLabels;
158 unsigned
int numOfHLTCollectionLabels;
159 std::vector<std::string> theHLTCollectionHumanNames;
162 std::vector<bool> plotiso;
163 std::vector<std::vector<edm::InputTag> > isoNames;
164 std::vector<std::pair<double,double> > plotBounds;
165 std::vector<unsigned int> nCandCuts;
186 std::vector<std::set<std::string> > hltCollectionLabelsFoundPerPath;
187 std::set<std::string> hltCollectionLabelsFound;
190 std::vector<std::set<std::string> > hltCollectionLabelsMissedPerPath;
191 std::set<std::string> hltCollectionLabelsMissed;
198 std::vector<std::vector<MonitorElement*> > etahists;
199 std::vector<std::vector<MonitorElement*> > phihists;
200 std::vector<std::vector<MonitorElement*> > ethists;
201 std::vector<std::vector<MonitorElement*> > etahistmatchs;
202 std::vector<std::vector<MonitorElement*> > phihistmatchs;
203 std::vector<std::vector<MonitorElement*> > ethistmatchs;
204 std::vector<std::vector<MonitorElement*> > histEtOfHltObjMatchToGens;
205 std::vector<std::vector<MonitorElement*> > histEtaOfHltObjMatchToGens;
206 std::vector<std::vector<MonitorElement*> > histPhiOfHltObjMatchToGens;
207 std::vector<std::vector<MonitorElement*> > etaphihists;
208 std::vector<std::vector<MonitorElement*> > etaphihistmatchs;
209 std::vector<std::vector<MonitorElement*> > histEtaPhiOfHltObjMatchToGens;
211 std::vector<MonitorElement*> totals;
212 std::vector<MonitorElement*> totalmatchs;
214 std::vector<MonitorElement*> etgens;
215 std::vector<MonitorElement*> etagens;
216 std::vector<MonitorElement*> phigens;
217 std::vector<MonitorElement*> etaphigens;
236 static const unsigned TYPE_SINGLE_ELE = 0;
237 static const unsigned TYPE_DOUBLE_ELE = 1;
238 static const unsigned TYPE_SINGLE_PHOTON = 2;
239 static const unsigned TYPE_DOUBLE_PHOTON = 3;
240 static const unsigned TYPE_TRIPLE_ELE = 4;
243 static const unsigned OUTPUT_SILENT = 0;
244 static const unsigned OUTPUT_ERRORS = 1;
245 static const unsigned OUTPUT_WARNINGS = 2;
246 static const unsigned OUTPUT_ALL = 3;
void fillHistos(edm::Handle< trigger::TriggerEventWithRefs > &, const edm::Event &, unsigned int, unsigned int, std::vector< reco::Particle > &, bool &)
def makePSetForL1SeedToSuperClusterMatchFilter(self, moduleName)
def makePSetForEtFilter(self, moduleName)
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
def findEgammaPaths(process)
def makePSetForOneOEMinusOneOPFilter(self, moduleName)
def makePSetForEgammaGenericFilter(self, module, moduleName)
std::vector< Electron > ElectronCollection
collectin of Electron objects
def makePSetForPixelMatchFilter(self, moduleName)
def makePSetForElectronGenericFilter(self, module, moduleName)
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
def makePSetForL1SeedFilter(self, moduleName)
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleN...