55 edm::LogWarning(
"B2GSingleLeptonHLTValidation") <<
"Electrons collection not found \n";
56 unsigned int nGoodE = 0;
69 edm::LogWarning(
"B2GSingleLeptonHLTValidation") <<
"Muons collection not found \n";
70 unsigned int nGoodM = 0;
72 if (!
m->isPFMuon() || !
m->isGlobalMuon())
85 edm::LogWarning(
"B2GSingleLeptonHLTValidation") <<
"Jets collection not found \n";
86 unsigned int nGoodJ = 0;
120 edm::LogWarning(
"B2GSingleLeptonHLTValidation") <<
"Trigger collection not found \n";
122 bool isInteresting =
false;
123 for (
unsigned int i = 0;
i <
triggerNames.triggerNames().size(); ++
i) {
125 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
126 if (
name.Contains(TString(
vsPaths_[
j]), TString::kIgnoreCase)) {
127 isInteresting =
true;
135 if (
isAll_ && isInteresting)
171 for (
unsigned int i = 0;
i <
triggerNames.triggerNames().size(); ++
i) {
173 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
174 if (
name.Contains(TString(
vsPaths_[
j]), TString::kIgnoreCase)) {
194 unsigned int nPaths =
vsPaths_.size();
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
unsigned int minElectrons_
MonitorElement * hNumLeptonEta
double pt() const final
transverse momentum
virtual void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< edm::View< reco::Jet > > tokJets_
edm::Ptr< reco::Muon > mu_
MonitorElement * hDenLeptonPt
MonitorElement * hDenTriggerMon
MonitorElement * hNumJetEta
edm::Ptr< reco::GsfElectron > elec_
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool isNonnull() const
Checks for non-null.
MonitorElement * hNumJetPt
MonitorElement * hDenLeptonEta
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
MonitorElement * hDenJetEta
edm::Ptr< reco::Jet > jet_
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hNumTriggerMon
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< std::string > vsPaths_
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
MonitorElement * hNumLeptonPt
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * hDenJetPt
double eta() const final
momentum pseudorapidity