20 #ifndef B2GSINGLELEPTONHLTVALIDATION 21 #define B2GSINGLELEPTONHLTVALIDATION 122 : sDir_(iConfig.getUntrackedParameter<
std::
string>(
"sDir",
"HLTValidation/B2G/Efficiencies/")),
123 sElectrons_(iConfig.getUntrackedParameter<
std::
string>(
"sElectrons",
"gsfElectrons")),
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)),
128 sMuons_(iConfig.getUntrackedParameter<
std::
string>(
"sMuons",
"muons")),
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)),
134 sTrigger_(iConfig.getUntrackedParameter<
std::
string>(
"sTrigger",
"TriggerResults")),
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
std::string monitorPath(const std::string &label) const
edm::EDGetTokenT< edm::View< reco::GsfElectron > > tokElectrons_
edm::Ptr< reco::GsfElectron > elec_
B2GDoubleLeptonHLTValidation(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
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)
~B2GDoubleLeptonHLTValidation() override
MonitorElement * hNumLeptonEta
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * hDenTriggerMon
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override