20 #ifndef B2GSINGLELEPTONHLTVALIDATION 21 #define B2GSINGLELEPTONHLTVALIDATION 105 for (
unsigned int idx = 0;
idx < labels.size(); ++
idx) {
123 :
sDir_(iConfig.getUntrackedParameter<
std::
string>(
"sDir",
"HLTValidation/B2G/Efficiencies/")),
125 ptElectrons_(iConfig.getUntrackedParameter<double>(
"ptElectrons", 0.)),
126 etaElectrons_(iConfig.getUntrackedParameter<double>(
"etaElectrons", 0.)),
127 isoElectrons_(iConfig.getUntrackedParameter<double>(
"isoElectrons", 0.)),
128 minElectrons_(iConfig.getUntrackedParameter<unsigned
int>(
"minElectrons", 0)),
130 ptMuons_(iConfig.getUntrackedParameter<double>(
"ptMuons", 0.)),
131 etaMuons_(iConfig.getUntrackedParameter<double>(
"etaMuons", 0.)),
132 isoMuons_(iConfig.getUntrackedParameter<double>(
"isoMuons", 0.)),
133 minMuons_(iConfig.getUntrackedParameter<unsigned
int>(
"minMuons", 0)),
134 minLeptons_(iConfig.getUntrackedParameter<unsigned
int>(
"minLeptons", 0)),
std::vector< std::string > vsPaths_
MonitorElement * hDenLeptonEta
unsigned int minElectrons_
edm::Ptr< reco::Muon > mu_
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
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)
edm::EDGetTokenT< edm::View< reco::Muon > > tokMuons_
MonitorElement * hNumTriggerMon
MonitorElement * hDenLeptonPt
MonitorElement * hNumLeptonPt
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
#define DEFINE_FWK_MODULE(type)
edm::Ptr< reco::GsfElectron > elec_
B2GDoubleLeptonHLTValidation(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::string monitorPath(const std::string &label) const
~B2GDoubleLeptonHLTValidation() override
MonitorElement * hNumLeptonEta
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * hDenTriggerMon
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override