20 #ifndef B2GSINGLELEPTONHLTVALIDATION 21 #define B2GSINGLELEPTONHLTVALIDATION 113 for (
unsigned int idx = 0;
idx < labels.size(); ++
idx) {
131 :
sDir_(iConfig.getUntrackedParameter<
std::
string>(
"sDir",
"HLTValidation/B2G/Efficiencies/")),
133 ptElectrons_(iConfig.getUntrackedParameter<double>(
"ptElectrons", 0.)),
134 etaElectrons_(iConfig.getUntrackedParameter<double>(
"etaElectrons", 0.)),
135 isoElectrons_(iConfig.getUntrackedParameter<double>(
"isoElectrons", 0.)),
136 minElectrons_(iConfig.getUntrackedParameter<unsigned
int>(
"minElectrons", 0)),
138 ptMuons_(iConfig.getUntrackedParameter<double>(
"ptMuons", 0.)),
139 etaMuons_(iConfig.getUntrackedParameter<double>(
"etaMuons", 0.)),
140 isoMuons_(iConfig.getUntrackedParameter<double>(
"isoMuons", 0.)),
141 minMuons_(iConfig.getUntrackedParameter<unsigned
int>(
"minMuons", 0)),
142 sJets_(iConfig.getUntrackedParameter<
std::
string>(
"sJets",
"ak5PFJets")),
143 ptJets_(iConfig.getUntrackedParameter<double>(
"ptJets", 0.)),
144 ptJets0_(iConfig.getUntrackedParameter<double>(
"ptJets0", 0.)),
145 ptJets1_(iConfig.getUntrackedParameter<double>(
"ptJets1", 0.)),
146 etaJets_(iConfig.getUntrackedParameter<double>(
"etaJets", 0.)),
147 minJets_(iConfig.getUntrackedParameter<unsigned
int>(
"minJets", 0)),
B2GSingleLeptonHLTValidation(const edm::ParameterSet &)
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
unsigned int minElectrons_
MonitorElement * hNumLeptonEta
edm::EDGetTokenT< edm::View< reco::Jet > > tokJets_
edm::Ptr< reco::Muon > mu_
MonitorElement * hDenLeptonPt
MonitorElement * hDenTriggerMon
MonitorElement * hNumJetEta
edm::Ptr< reco::GsfElectron > elec_
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * hNumJetPt
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
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
std::string monitorPath(const std::string &label) const
MonitorElement * hNumTriggerMon
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
~B2GSingleLeptonHLTValidation() override
std::vector< std::string > vsPaths_
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
MonitorElement * hNumLeptonPt
MonitorElement * hDenJetPt