54 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Electrons collection not found \n";
55 unsigned int nGoodE = 0;
66 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Muons collection not found \n";
67 unsigned int nGoodM = 0;
69 if (!
m->isPFMuon() || !
m->isGlobalMuon())
continue;
83 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Trigger collection not found \n";
85 bool isInteresting =
false;
86 for (
unsigned int i=0;
i<triggerNames.triggerNames().size(); ++
i) {
89 if (triggerNames.triggerNames()[
i].find(
vsPaths_[
j]) != std::string::npos) {
94 if (isInteresting)
break;
126 for (
unsigned int i=0;
i<triggerNames.triggerNames().size(); ++
i) {
128 if (triggerNames.triggerNames()[
i].find(
vsPaths_[
j]) != std::string::npos) {
147 unsigned int nPaths =
vsPaths_.size();
std::vector< std::string > vsPaths_
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
MonitorElement * hDenLeptonEta
unsigned int minElectrons_
edm::Ptr< reco::Muon > mu_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
MonitorElement * hNumTriggerMon
MonitorElement * hDenLeptonPt
MonitorElement * hNumLeptonPt
void addDefault(ParameterSetDescription const &psetDescription)
edm::Ptr< reco::GsfElectron > elec_
MonitorElement * book1D(Args &&...args)
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
bool isNonnull() const
Checks for non-null.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * hNumLeptonEta
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
MonitorElement * hDenTriggerMon
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override