1 #ifndef HLTriggerOffline_Egamma_EmDQM_H 2 #define HLTriggerOffline_Egamma_EmDQM_H 30 #include "HepMC/GenParticle.h" 33 #include <boost/lexical_cast.hpp> 34 #include <boost/regex.hpp> 36 #include "TDirectory.h" 39 #include <Math/VectorUtil.h> 58 std::vector<reco::Particle> &,
74 explicit
EmDQM(const edm::ParameterSet &pset);
81 void
analyze(const edm::Event &event, const edm::EventSetup &) override;
83 void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
84 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
85 void
endRun(edm::Run const &, edm::EventSetup const &) override;
92 HistoFiller<reco::RecoEcalCandidateCollection> *histoFillerClu;
93 HistoFiller<l1extra::L1EmParticleCollection> *histoFillerL1NonIso;
94 HistoFiller<reco::RecoEcalCandidateCollection> *histoFillerPho;
95 HistoFiller<l1extra::L1EmParticleCollection> *histoFillerL1Iso;
115 unsigned
int minEtForEtaEffPlot_;
116 bool useHumanReadableHistTitles_;
127 bool checkGeneratedParticlesRequirement(const edm::Event &event);
133 bool checkRecoParticlesRequirement(const edm::Event &event);
139 int countSubstring(const std::string &, const std::string &);
141 std::vector<std::string> getFilterModules(const std::string &);
142 double getPrimaryEtCut(const std::string &);
154 void SetVarsFromPSet(std::vector<edm::ParameterSet>::iterator);
157 std::vector<edm::ParameterSet> paramSets;
160 std::vector<edm::InputTag> theHLTCollectionLabels;
161 unsigned
int numOfHLTCollectionLabels;
162 std::vector<std::string> theHLTCollectionHumanNames;
165 std::vector<bool> plotiso;
166 std::vector<std::vector<edm::InputTag>> isoNames;
167 std::vector<std::pair<double, double>> plotBounds;
168 std::vector<unsigned int> nCandCuts;
190 std::vector<std::set<std::string>> hltCollectionLabelsFoundPerPath;
191 std::set<std::string> hltCollectionLabelsFound;
194 std::vector<std::set<std::string>> hltCollectionLabelsMissedPerPath;
195 std::set<std::string> hltCollectionLabelsMissed;
201 std::vector<std::vector<MonitorElement *>> etahists;
202 std::vector<std::vector<MonitorElement *>> phihists;
203 std::vector<std::vector<MonitorElement *>> ethists;
204 std::vector<std::vector<MonitorElement *>> etahistmatchs;
205 std::vector<std::vector<MonitorElement *>> phihistmatchs;
206 std::vector<std::vector<MonitorElement *>> ethistmatchs;
207 std::vector<std::vector<MonitorElement *>> histEtOfHltObjMatchToGens;
208 std::vector<std::vector<MonitorElement *>> histEtaOfHltObjMatchToGens;
209 std::vector<std::vector<MonitorElement *>> histPhiOfHltObjMatchToGens;
210 std::vector<std::vector<MonitorElement *>> etaphihists;
211 std::vector<std::vector<MonitorElement *>> etaphihistmatchs;
212 std::vector<std::vector<MonitorElement *>> histEtaPhiOfHltObjMatchToGens;
214 std::vector<MonitorElement *> totals;
215 std::vector<MonitorElement *> totalmatchs;
217 std::vector<MonitorElement *> etgens;
218 std::vector<MonitorElement *> etagens;
219 std::vector<MonitorElement *> phigens;
220 std::vector<MonitorElement *> etaphigens;
239 static const unsigned TYPE_SINGLE_ELE = 0;
240 static const unsigned TYPE_DOUBLE_ELE = 1;
241 static const unsigned TYPE_SINGLE_PHOTON = 2;
242 static const unsigned TYPE_DOUBLE_PHOTON = 3;
243 static const unsigned TYPE_TRIPLE_ELE = 4;
246 static const unsigned OUTPUT_SILENT = 0;
247 static const unsigned OUTPUT_ERRORS = 1;
248 static const unsigned OUTPUT_WARNINGS = 2;
249 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)
def findEgammaPaths(process)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
def makePSetForOneOEMinusOneOPFilter(self, moduleName)
def makePSetForEgammaGenericFilter(self, module, moduleName)
std::vector< Electron > ElectronCollection
collectin of Electron objects
def makePSetForPixelMatchFilter(self, moduleName)
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
def makePSetForElectronGenericFilter(self, module, moduleName)
def makePSetForL1SeedFilter(self, moduleName)
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleN...