1 #ifndef HLTriggerOffline_Egamma_EmDQM_H 2 #define HLTriggerOffline_Egamma_EmDQM_H 29 #include "HepMC/GenParticle.h" 32 #include <boost/lexical_cast.hpp> 33 #include <boost/regex.hpp> 35 #include "TDirectory.h" 38 #include <Math/VectorUtil.h> 57 std::vector<reco::Particle> &,
73 explicit
EmDQM(const edm::ParameterSet &pset);
80 void
analyze(const edm::Event &event, const edm::EventSetup &) override;
82 void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
83 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
84 void dqmEndRun(edm::Run const &, edm::EventSetup const &) override;
91 HistoFiller<reco::RecoEcalCandidateCollection> *histoFillerClu;
92 HistoFiller<l1extra::L1EmParticleCollection> *histoFillerL1NonIso;
93 HistoFiller<reco::RecoEcalCandidateCollection> *histoFillerPho;
94 HistoFiller<l1extra::L1EmParticleCollection> *histoFillerL1Iso;
114 unsigned
int minEtForEtaEffPlot_;
115 bool useHumanReadableHistTitles_;
126 bool checkGeneratedParticlesRequirement(const edm::Event &event);
132 bool checkRecoParticlesRequirement(const edm::Event &event);
138 int countSubstring(const std::string &, const std::string &);
140 std::vector<std::string> getFilterModules(const std::string &);
141 double getPrimaryEtCut(const std::string &);
153 void SetVarsFromPSet(std::vector<edm::ParameterSet>::iterator);
156 std::vector<edm::ParameterSet> paramSets;
160 unsigned
int numOfHLTCollectionLabels;
161 std::vector<std::string> theHLTCollectionHumanNames;
164 std::vector<bool> plotiso;
165 std::vector<std::vector<edm::InputTag>> isoNames;
166 std::vector<std::pair<double, double>> plotBounds;
167 std::vector<unsigned int> nCandCuts;
189 std::vector<std::set<std::string>> hltCollectionLabelsFoundPerPath;
190 std::set<std::string> hltCollectionLabelsFound;
193 std::vector<std::set<std::string>> hltCollectionLabelsMissedPerPath;
194 std::set<std::string> hltCollectionLabelsMissed;
200 std::vector<std::vector<MonitorElement *>> etahists;
201 std::vector<std::vector<MonitorElement *>> phihists;
202 std::vector<std::vector<MonitorElement *>> ethists;
203 std::vector<std::vector<MonitorElement *>> etahistmatchs;
204 std::vector<std::vector<MonitorElement *>> phihistmatchs;
205 std::vector<std::vector<MonitorElement *>> ethistmatchs;
206 std::vector<std::vector<MonitorElement *>> histEtOfHltObjMatchToGens;
207 std::vector<std::vector<MonitorElement *>> histEtaOfHltObjMatchToGens;
208 std::vector<std::vector<MonitorElement *>> histPhiOfHltObjMatchToGens;
209 std::vector<std::vector<MonitorElement *>> etaphihists;
210 std::vector<std::vector<MonitorElement *>> etaphihistmatchs;
211 std::vector<std::vector<MonitorElement *>> histEtaPhiOfHltObjMatchToGens;
213 std::vector<MonitorElement *> totals;
214 std::vector<MonitorElement *> totalmatchs;
216 std::vector<MonitorElement *> etgens;
217 std::vector<MonitorElement *> etagens;
218 std::vector<MonitorElement *> phigens;
219 std::vector<MonitorElement *> etaphigens;
238 static
const unsigned TYPE_SINGLE_ELE = 0;
239 static
const unsigned TYPE_DOUBLE_ELE = 1;
240 static
const unsigned TYPE_SINGLE_PHOTON = 2;
241 static
const unsigned TYPE_DOUBLE_PHOTON = 3;
242 static
const unsigned TYPE_TRIPLE_ELE = 4;
245 static
const unsigned OUTPUT_SILENT = 0;
246 static
const unsigned OUTPUT_ERRORS = 1;
247 static
const unsigned OUTPUT_WARNINGS = 2;
248 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...