20 #ifndef B2GSINGLELEPTONHLTVALIDATION 21 #define B2GSINGLELEPTONHLTVALIDATION 104 for (
unsigned int idx = 0;
idx < labels.size(); ++
idx) {
122 :
sDir_(iConfig.getUntrackedParameter<
std::
string>(
"sDir",
"HLTValidation/B2G/Efficiencies/")),
124 ptElectrons_(iConfig.getUntrackedParameter<double>(
"ptElectrons", 0.)),
125 etaElectrons_(iConfig.getUntrackedParameter<double>(
"etaElectrons", 0.)),
126 isoElectrons_(iConfig.getUntrackedParameter<double>(
"isoElectrons", 0.)),
127 minElectrons_(iConfig.getUntrackedParameter<unsigned
int>(
"minElectrons", 0)),
129 ptMuons_(iConfig.getUntrackedParameter<double>(
"ptMuons", 0.)),
130 etaMuons_(iConfig.getUntrackedParameter<double>(
"etaMuons", 0.)),
131 isoMuons_(iConfig.getUntrackedParameter<double>(
"isoMuons", 0.)),
132 minMuons_(iConfig.getUntrackedParameter<unsigned
int>(
"minMuons", 0)),
133 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_
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
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)
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