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;
82 void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
83 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
84 void
endRun(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;
159 std::vector<edm::InputTag> theHLTCollectionLabels;
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;
188 std::vector<std::set<std::string> > hltCollectionLabelsFoundPerPath;
189 std::set<std::string> hltCollectionLabelsFound;
192 std::vector<std::set<std::string> > hltCollectionLabelsMissedPerPath;
193 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 analyze(function, filename, filter=None)
def findEgammaPaths(process)
void bookHistograms(fwlite::EventContainer &eventCont)
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)
def makePSetForL1SeedFilter(self, moduleName)
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleN...