31 : hltLabel(iConfig.getParameter<
edm::
InputTag>(
"HltLabel")),
33 m_electronSrc(iConfig.getParameter<
edm::
InputTag>(
"electronCollection")),
34 m_pfelectronSrc(iConfig.getParameter<
edm::
InputTag>(
"pfElectronCollection")),
35 m_muonSrc(iConfig.getParameter<
edm::
InputTag>(
"muonCollection")),
36 m_jetsSrc(iConfig.getParameter<
edm::
InputTag>(
"caloJetCollection")),
37 m_pfjetsSrc(iConfig.getParameter<
edm::
InputTag>(
"PFJetCollection")),
38 m_ebRecHitsSrc(iConfig.getParameter<
edm::
InputTag>(
"ecalBarrelRecHitsCollection")),
39 m_eeRecHitsSrc(iConfig.getParameter<
edm::
InputTag>(
"ecalEndcapRecHitsCollection")),
40 useElectronSelection(iConfig.getParameter<
bool>(
"UseElectronSelection")),
41 usePfElectronSelection(iConfig.getParameter<
bool>(
"UsePfElectronSelection")),
42 useMuonSelection(iConfig.getParameter<
bool>(
"UseMuonSelection")),
43 useHtSelection(iConfig.getParameter<
bool>(
"UseHtSelection")),
44 usePFHtSelection(iConfig.getParameter<
bool>(
"UsePFHtSelection")),
45 ptElecMin(iConfig.getParameter<double>(
"electronPtMin")),
46 ptPfElecMin(iConfig.getParameter<double>(
"pfElectronPtMin")),
47 nSelectedElectrons(iConfig.getParameter<
int>(
"electronN")),
48 nSelectedPfElectrons(iConfig.getParameter<
int>(
"pfElectronN")),
49 ptGlobalMuonMin(iConfig.getParameter<double>(
"globalMuonPtMin")),
50 ptTrackerMuonMin(iConfig.getParameter<double>(
"trackerMuonPtMin")),
51 nSelectedMuons(iConfig.getParameter<
int>(
"muonN")),
52 htMin(iConfig.getParameter<double>(
"HtMin")),
53 pfHtMin(iConfig.getParameter<double>(
"PFHtMin")),
54 htJetThreshold(iConfig.getParameter<double>(
"HtJetThreshold")),
55 pfHtJetThreshold(iConfig.getParameter<double>(
"PFHtJetThreshold")) {
97 int nElecPassingCut = 0;
109 LogDebug(
"LeptonRecoSkim") <<
"elpt = " << elpt << endl;
118 int nPfElecPassingCut = 0;
125 float pfelpt = thePfCandidate.
pt();
129 LogDebug(
"LeptonRecoSkim") <<
"pfelpt = " << pfelpt << endl;
137 int nMuonPassingCut = 0;
140 if (!(
muon.isGlobalMuon() ||
muon.isTrackerMuon()))
147 if (
muon.isGlobalMuon() &&
muon.isTrackerMuon()) {
150 }
else if (
muon.isGlobalMuon() && !(
muon.isTrackerMuon())) {
153 }
else if (
muon.isTrackerMuon() && !(
muon.isGlobalMuon())) {
154 muonpt = siTrack->pt();
160 if (muonpt > ptMuonMin)
162 LogDebug(
"RecoSelectorCuts") <<
"muonpt = " << muonpt << endl;