20 #ifndef B2GSINGLELEPTONHLTVALIDATION 21 #define B2GSINGLELEPTONHLTVALIDATION 114 for (
unsigned int idx = 0;
idx < labels.size(); ++
idx) {
132 :
sDir_(iConfig.getUntrackedParameter<
std::
string>(
"sDir",
"HLTValidation/B2G/Efficiencies/")),
134 ptElectrons_(iConfig.getUntrackedParameter<double>(
"ptElectrons", 0.)),
135 etaElectrons_(iConfig.getUntrackedParameter<double>(
"etaElectrons", 0.)),
136 isoElectrons_(iConfig.getUntrackedParameter<double>(
"isoElectrons", 0.)),
137 minElectrons_(iConfig.getUntrackedParameter<unsigned
int>(
"minElectrons", 0)),
139 ptMuons_(iConfig.getUntrackedParameter<double>(
"ptMuons", 0.)),
140 etaMuons_(iConfig.getUntrackedParameter<double>(
"etaMuons", 0.)),
141 isoMuons_(iConfig.getUntrackedParameter<double>(
"isoMuons", 0.)),
142 minMuons_(iConfig.getUntrackedParameter<unsigned
int>(
"minMuons", 0)),
143 sJets_(iConfig.getUntrackedParameter<
std::
string>(
"sJets",
"ak5PFJets")),
144 ptJets_(iConfig.getUntrackedParameter<double>(
"ptJets", 0.)),
145 ptJets0_(iConfig.getUntrackedParameter<double>(
"ptJets0", 0.)),
146 ptJets1_(iConfig.getUntrackedParameter<double>(
"ptJets1", 0.)),
147 etaJets_(iConfig.getUntrackedParameter<double>(
"etaJets", 0.)),
148 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
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 * 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
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