55 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Electrons collection not found \n";
56 unsigned int nGoodE = 0;
70 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Muons collection not found \n";
71 unsigned int nGoodM = 0;
73 if (!
m->isPFMuon() || !
m->isGlobalMuon())
91 edm::LogWarning(
"B2GDoubleLeptonHLTValidation") <<
"Trigger collection not found \n";
93 bool isInteresting =
false;
95 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
105 if (
isAll_ && isInteresting)
122 for (
unsigned int idx = 0; idx <
vsPaths_.size(); ++idx) {
136 for (
unsigned int i = 0;
i <
triggerNames.triggerNames().size(); ++
i) {
137 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
154 unsigned int nPaths =
vsPaths_.size();
std::vector< std::string > vsPaths_
MonitorElement * hDenLeptonEta
unsigned int minElectrons_
edm::Ptr< reco::Muon > mu_
virtual void setCurrentFolder(std::string const &fullpath)
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::TriggerResults > tokTrigger_
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
MonitorElement * hNumTriggerMon
MonitorElement * hDenLeptonPt
MonitorElement * hNumLeptonPt
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
void addDefault(ParameterSetDescription const &psetDescription)
edm::Ptr< reco::GsfElectron > elec_
void analyze(const edm::Event &, const edm::EventSetup &) override
bool isNonnull() const
Checks for non-null.
MonitorElement * hNumLeptonEta
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
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())