CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
LeptonRecoSkim Class Reference

#include <Configuration/Skimming/src/LeptonRecoSkim.cc>

Inheritance diagram for LeptonRecoSkim:
edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

Public Member Functions

 LeptonRecoSkim (const edm::ParameterSet &)
 
 ~LeptonRecoSkim ()
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
virtual ~EDFilter ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
boost::function< void(const
BranchDescription &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 

Private Member Functions

virtual void beginJob ()
 
virtual void endJob ()
 
virtual bool filter (edm::Event &, const edm::EventSetup &)
 
void handleObjects (const edm::Event &, const edm::EventSetup &iSetup)
 

Private Attributes

bool ElectronCutPassed
 
std::string filterName
 
bool firstEvent
 
edm::InputTag hltLabel
 
bool HtCutPassed
 
double htJetThreshold
 
double htMin
 
edm::InputTag m_ebRecHitsSrc
 
edm::InputTag m_eeRecHitsSrc
 
edm::InputTag m_electronSrc
 
edm::InputTag m_jetsSrc
 
edm::InputTag m_muonSrc
 
edm::InputTag m_pfelectronSrc
 
edm::InputTag m_pfjetsSrc
 
bool MuonCutPassed
 
int NeventsFiltered
 
int NeventsTotal
 
int NHltDiMu3
 
int NHltMu9
 
int NmvaElectrons
 
int nSelectedElectrons
 
int nSelectedMuons
 
int nSelectedPfElectrons
 
int NtotalElectrons
 
bool PfElectronCutPassed
 
bool PFHtCutPassed
 
double pfHtJetThreshold
 
double pfHtMin
 
double ptElecMin
 
double ptGlobalMuonMin
 
double ptPfElecMin
 
double ptTrackerMuonMin
 
const CaloGeometrytheCaloGeometry
 
const reco::CaloJetCollectiontheCaloJetCollection
 
const CaloTopologytheCaloTopology
 
const EcalRecHitCollectiontheEcalBarrelCollection
 
const EcalRecHitCollectiontheEcalEndcapCollection
 
const reco::GsfElectronCollectiontheElectronCollection
 
const reco::MuonCollectiontheMuonCollection
 
const reco::PFCandidateCollectionthePfCandidateCollection
 
const reco::PFJetCollectionthePFJetCollection
 
bool useElectronSelection
 
bool useHtSelection
 
bool useMuonSelection
 
bool usePfElectronSelection
 
bool usePFHtSelection
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
typedef WorkerT< EDFilterWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDFilter
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
template<class TProducer , class TMethod >
void callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod)
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 59 of file LeptonRecoSkim.h.

Constructor & Destructor Documentation

LeptonRecoSkim::LeptonRecoSkim ( const edm::ParameterSet iConfig)
explicit

Definition at line 32 of file LeptonRecoSkim.cc.

References NeventsFiltered, NeventsTotal, NHltDiMu3, NHltMu9, NmvaElectrons, and NtotalElectrons.

32  :
33  hltLabel(iConfig.getParameter<edm::InputTag>("HltLabel")),
34  filterName(iConfig.getParameter<std::string>("@module_label")),
35  m_electronSrc(iConfig.getParameter<edm::InputTag>("electronCollection")),
36  m_pfelectronSrc(iConfig.getParameter<edm::InputTag>("pfElectronCollection")),
37  m_muonSrc(iConfig.getParameter<edm::InputTag>("muonCollection")),
38  m_jetsSrc(iConfig.getParameter<edm::InputTag>("caloJetCollection")),
39  m_pfjetsSrc(iConfig.getParameter<edm::InputTag>("PFJetCollection")),
40  m_ebRecHitsSrc(iConfig.getParameter<edm::InputTag>("ecalBarrelRecHitsCollection")),
41  m_eeRecHitsSrc(iConfig.getParameter<edm::InputTag>("ecalEndcapRecHitsCollection")),
42  useElectronSelection(iConfig.getParameter<bool>("UseElectronSelection")),
43  usePfElectronSelection(iConfig.getParameter<bool>("UsePfElectronSelection")),
44  useMuonSelection(iConfig.getParameter<bool>("UseMuonSelection")),
45  useHtSelection(iConfig.getParameter<bool>("UseHtSelection")),
46  usePFHtSelection(iConfig.getParameter<bool>("UsePFHtSelection")),
47  ptElecMin(iConfig.getParameter<double>("electronPtMin")),
48  ptPfElecMin(iConfig.getParameter<double>("pfElectronPtMin")),
49  nSelectedElectrons(iConfig.getParameter<int>("electronN")),
50  nSelectedPfElectrons(iConfig.getParameter<int>("pfElectronN")),
51  ptGlobalMuonMin(iConfig.getParameter<double>("globalMuonPtMin")),
52  ptTrackerMuonMin(iConfig.getParameter<double>("trackerMuonPtMin")),
53  nSelectedMuons(iConfig.getParameter<int>("muonN")),
54  htMin(iConfig.getParameter<double>("HtMin")),
55  pfHtMin(iConfig.getParameter<double>("PFHtMin")),
56  htJetThreshold(iConfig.getParameter<double>("HtJetThreshold")),
57  pfHtJetThreshold(iConfig.getParameter<double>("PFHtJetThreshold"))
58 {
59  NeventsTotal = 0;
60  NeventsFiltered = 0;
61  NHltMu9 = 0;
62  NHltDiMu3 = 0;
63 
64  NtotalElectrons = 0;
65  NmvaElectrons = 0;
66 }
T getParameter(std::string const &) const
std::string filterName
edm::InputTag m_ebRecHitsSrc
edm::InputTag m_eeRecHitsSrc
bool usePfElectronSelection
edm::InputTag hltLabel
edm::InputTag m_pfelectronSrc
edm::InputTag m_pfjetsSrc
double ptTrackerMuonMin
bool useElectronSelection
edm::InputTag m_jetsSrc
edm::InputTag m_muonSrc
edm::InputTag m_electronSrc
double ptGlobalMuonMin
double pfHtJetThreshold
LeptonRecoSkim::~LeptonRecoSkim ( )

Definition at line 69 of file LeptonRecoSkim.cc.

70 {
71 
72  // do anything here that needs to be done at desctruction time
73  // (e.g. close files, deallocate resources etc.)
74 
75 }

Member Function Documentation

void LeptonRecoSkim::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDFilter.

Definition at line 214 of file LeptonRecoSkim.cc.

References firstEvent.

215 {
216  firstEvent = true;
217 }
void LeptonRecoSkim::endJob ( void  )
privatevirtual

Reimplemented from edm::EDFilter.

Definition at line 221 of file LeptonRecoSkim.cc.

References gather_cfg::cout, filterName, NeventsFiltered, NeventsTotal, NHltDiMu3, NHltMu9, NmvaElectrons, and NtotalElectrons.

221  {
222  cout << "Filter Name = " << filterName << endl;
223  cout << "Total number of events = " << NeventsTotal << endl;
224  cout << "Total HLT_Mu9 = " << NHltMu9 << endl;
225  cout << "Total HLT_DoubleMu3 = " << NHltDiMu3 << endl;
226  cout << "Filtered events = " << NeventsFiltered << endl;
227  cout << "Filter Efficiency = " << (float)NeventsFiltered / (float)NeventsTotal << endl;
228  cout << endl;
229  cout << "N total electrons = " << NtotalElectrons << endl;
230  cout << "N mva>-0.1 electrons = " << NmvaElectrons << endl;
231  cout << endl;
232  cout << endl;
233 }
std::string filterName
tuple cout
Definition: gather_cfg.py:41
bool LeptonRecoSkim::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDFilter.

Definition at line 84 of file LeptonRecoSkim.cc.

References accept(), reco::PFCandidate::e, metsig::electron, ElectronCutPassed, firstEvent, reco::Muon::globalTrack(), reco::PFCandidate::gsfTrackRef(), handleObjects(), HtCutPassed, htJetThreshold, htMin, i, reco::Muon::innerTrack(), reco::Muon::isGlobalMuon(), edm::Ref< C, T, F >::isNull(), reco::Muon::isTrackerMuon(), LogDebug, max(), metsig::muon, MuonCutPassed, reco::GsfElectron::mva(), NeventsFiltered, NeventsTotal, NmvaElectrons, nSelectedElectrons, nSelectedMuons, nSelectedPfElectrons, NtotalElectrons, reco::PFCandidate::particleId(), PfElectronCutPassed, PFHtCutPassed, pfHtJetThreshold, pfHtMin, reco::LeafCandidate::pt(), ptElecMin, ptGlobalMuonMin, ptPfElecMin, ptTrackerMuonMin, theCaloJetCollection, theElectronCollection, theMuonCollection, thePfCandidateCollection, thePFJetCollection, useElectronSelection, useHtSelection, useMuonSelection, usePfElectronSelection, and usePFHtSelection.

Referenced by python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().

85 {
86 
87 
88  bool accept = false;
89 
90  NeventsTotal++;
91 
92  ElectronCutPassed = false;
93  PfElectronCutPassed = false;
94  MuonCutPassed = false;
95  HtCutPassed = false;
96  PFHtCutPassed = false;
97 
98  // edm::Handle<TriggerResults> trhv;
99  // iEvent.getByLabel(hltLabel,trhv);
100 
101  // const edm::TriggerNames& triggerNames_ = iEvent.triggerNames(*trhv);
102 
103  // if(trhv->at(triggerNames_.triggerIndex("HLT_Mu9")).accept()) NHltMu9++;
104  // if(trhv->at(triggerNames_.triggerIndex("HLT_DoubleMu3")).accept()) NHltDiMu3++;
105 
106  this->handleObjects(iEvent,iSetup);
107 
109  int nElecPassingCut = 0;
110  for(unsigned int i=0; i<theElectronCollection->size(); i++) {
111  GsfElectron electron = (*theElectronCollection)[i];
112  // if (electron.ecalDrivenSeed()) {
113  float elpt = electron.pt();
114  // if (electron.sigmaIetaIeta() < 0.002) continue;
115  if(elpt>ptElecMin) {
116  NtotalElectrons++;
117  nElecPassingCut++;
118  if(electron.mva()>-0.1) NmvaElectrons++;
119  }
120  LogDebug("LeptonRecoSkim") << "elpt = " << elpt << endl;
121  // } // closes if (electron.ecalDrivenSeed()) {
122  }
123  if(nElecPassingCut>=nSelectedElectrons) ElectronCutPassed = true;
124  }
125  else ElectronCutPassed = true;
126 
128  int nPfElecPassingCut = 0;
129  for(unsigned int i=0; i<thePfCandidateCollection->size(); i++) {
130  const reco::PFCandidate& thePfCandidate = (*thePfCandidateCollection)[i];
131  if(thePfCandidate.particleId()!=reco::PFCandidate::e) continue;
132  if(thePfCandidate.gsfTrackRef().isNull()) continue;
133  float pfelpt = thePfCandidate.pt();
134  // if (electron.sigmaIetaIeta() < 0.002) continue;
135  if(pfelpt>ptPfElecMin) nPfElecPassingCut++;
136  LogDebug("LeptonRecoSkim") << "pfelpt = " << pfelpt << endl;
137  }
138  if(nPfElecPassingCut>=nSelectedPfElectrons) PfElectronCutPassed = true;
139  }
140  else PfElectronCutPassed = true;
141 
142 
143 
144  if(useMuonSelection) {
145  int nMuonPassingCut = 0;
146  for(unsigned int i=0; i<theMuonCollection->size(); i++) {
147  Muon muon = (*theMuonCollection)[i];
148  if(! (muon.isGlobalMuon() || muon.isTrackerMuon()) ) continue;
149  const TrackRef siTrack = muon.innerTrack();
150  const TrackRef globalTrack = muon.globalTrack();
151  float muonpt;
152  float ptMuonMin;
153  // if (siTrack.isNonnull() && globalTrack.isNonnull()) {
154  if (muon.isGlobalMuon() && muon.isTrackerMuon()) {
155  muonpt = max(siTrack->pt(), globalTrack->pt());
156  ptMuonMin = ptGlobalMuonMin;
157  }
158  else if (muon.isGlobalMuon() && !(muon.isTrackerMuon())) {
159  muonpt = globalTrack->pt();
160  ptMuonMin = ptGlobalMuonMin;
161  }
162  else if (muon.isTrackerMuon() && !(muon.isGlobalMuon())) {
163  muonpt = siTrack->pt();
164  ptMuonMin = ptTrackerMuonMin;
165  }
166  else {
167  muonpt = 0; // if we get here this is a STA only muon
168  ptMuonMin = 999999.;
169  }
170  if(muonpt>ptMuonMin) nMuonPassingCut++;
171  LogDebug("RecoSelectorCuts") << "muonpt = " << muonpt << endl;
172  }
173  if(nMuonPassingCut>=nSelectedMuons) MuonCutPassed = true;
174  }
175  else MuonCutPassed = true;
176 
177  if(useHtSelection) {
178  double Ht = 0;
179  for(unsigned int i=0; i<theCaloJetCollection->size(); i++) {
180  // if((*theCaloJetCollection)[i].eta()<2.6 && (*theCaloJetCollection)[i].emEnergyFraction() <= 0.01) continue;
181  if((*theCaloJetCollection)[i].pt()>htJetThreshold) Ht += (*theCaloJetCollection)[i].pt();
182  }
183  if(Ht>htMin) HtCutPassed = true;
184  }
185  else HtCutPassed = true;
186 
187  if(usePFHtSelection) {
188  double PFHt = 0;
189  for(unsigned int i=0; i<thePFJetCollection->size(); i++) {
190  if((*thePFJetCollection)[i].pt()>pfHtJetThreshold) PFHt += (*thePFJetCollection)[i].pt();
191  }
192  if(PFHt>pfHtMin) PFHtCutPassed = true;
193  }
194  else PFHtCutPassed = true;
195 
196 
197  if(PfElectronCutPassed &&
199  MuonCutPassed &&
200  HtCutPassed &&
201  PFHtCutPassed ) accept = true;
202 
203  if(accept) NeventsFiltered++;
204 
205  firstEvent = false;
206  return accept;
207 
208 
209 
210 }
#define LogDebug(id)
int i
Definition: DBlmapReader.cc:9
const reco::CaloJetCollection * theCaloJetCollection
void handleObjects(const edm::Event &, const edm::EventSetup &iSetup)
virtual TrackRef innerTrack() const
Definition: Muon.h:38
bool isTrackerMuon() const
Definition: Muon.h:149
bool usePfElectronSelection
const reco::PFCandidateCollection * thePfCandidateCollection
bool isGlobalMuon() const
Definition: Muon.h:148
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:21
double ptTrackerMuonMin
float mva() const
Definition: GsfElectron.h:548
bool isNull() const
Checks for null.
Definition: Ref.h:246
const reco::GsfElectronCollection * theElectronCollection
const T & max(const T &a, const T &b)
bool useElectronSelection
const reco::MuonCollection * theMuonCollection
virtual double pt() const
transverse momentum
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:33
reco::GsfTrackRef gsfTrackRef() const
Definition: PFCandidate.cc:368
const reco::PFJetCollection * thePFJetCollection
double ptGlobalMuonMin
virtual ParticleType particleId() const
Definition: PFCandidate.h:314
double pfHtJetThreshold
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector
Definition: Muon.h:44
void LeptonRecoSkim::handleObjects ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 238 of file LeptonRecoSkim.cc.

References edm::EventSetup::get(), edm::Event::getByLabel(), m_ebRecHitsSrc, m_eeRecHitsSrc, m_electronSrc, m_jetsSrc, m_muonSrc, m_pfelectronSrc, m_pfjetsSrc, edm::Handle< T >::product(), edm::ESHandle< class >::product(), theCaloGeometry, theCaloJetCollection, theCaloTopology, theEcalBarrelCollection, theEcalEndcapCollection, theElectronCollection, theMuonCollection, thePfCandidateCollection, and thePFJetCollection.

Referenced by filter().

239 {
240  //Get the electrons
241  Handle<GsfElectronCollection> theElectronCollectionHandle;
242  iEvent.getByLabel(m_electronSrc, theElectronCollectionHandle);
243  theElectronCollection = theElectronCollectionHandle.product();
244 
245  //Get the pf electrons
246  Handle<reco::PFCandidateCollection> thePfCandidateHandle;
247  iEvent.getByLabel(m_pfelectronSrc, thePfCandidateHandle);
248  thePfCandidateCollection = thePfCandidateHandle.product();
249 
250  //Get the Muons
251  Handle<MuonCollection> theMuonCollectionHandle;
252  iEvent.getByLabel(m_muonSrc, theMuonCollectionHandle);
253  theMuonCollection = theMuonCollectionHandle.product();
254 
255  //Get the CaloJets
256  Handle<CaloJetCollection> theCaloJetCollectionHandle;
257  iEvent.getByLabel(m_jetsSrc, theCaloJetCollectionHandle);
258  theCaloJetCollection = theCaloJetCollectionHandle.product();
259 
260  //Get the PfJets
261  Handle<PFJetCollection> thePFJetCollectionHandle;
262  iEvent.getByLabel(m_pfjetsSrc, thePFJetCollectionHandle);
263  thePFJetCollection = thePFJetCollectionHandle.product();
264 
265  //Get the ECAL rechhits to clean the spikes
266 // Get EB RecHits
267  edm::Handle<EcalRecHitCollection> ebRecHitsHandle;
268  iEvent.getByLabel(m_ebRecHitsSrc, ebRecHitsHandle);
269  theEcalBarrelCollection = ebRecHitsHandle.product();
270 // Get EE RecHits
271  edm::Handle<EcalRecHitCollection> eeRecHitsHandle;
272  iEvent.getByLabel(m_eeRecHitsSrc, eeRecHitsHandle);
273  theEcalEndcapCollection = eeRecHitsHandle.product();
274 
275 // Get topology for spike cleaning
276  edm::ESHandle<CaloGeometry> geometryHandle;
277  iSetup.get<CaloGeometryRecord>().get(geometryHandle);
278  theCaloGeometry = geometryHandle.product();
279 // theCaloBarrelSubdetTopology = new EcalBarrelTopology(geometryHandle);
280 // theCaloEndcapSubdetTopology = new EcalEndcapTopology(geometryHandle);
281 
282  edm::ESHandle<CaloTopology> pTopology;
283  iSetup.get<CaloTopologyRecord>().get(pTopology);
284  theCaloTopology = pTopology.product();
285 
286 
287 
288 
289 }
const reco::CaloJetCollection * theCaloJetCollection
edm::InputTag m_ebRecHitsSrc
edm::InputTag m_eeRecHitsSrc
const reco::PFCandidateCollection * thePfCandidateCollection
edm::InputTag m_pfelectronSrc
edm::InputTag m_pfjetsSrc
const reco::GsfElectronCollection * theElectronCollection
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:355
edm::InputTag m_jetsSrc
edm::InputTag m_muonSrc
const reco::MuonCollection * theMuonCollection
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
T const * product() const
Definition: Handle.h:74
const EcalRecHitCollection * theEcalBarrelCollection
const reco::PFJetCollection * thePFJetCollection
edm::InputTag m_electronSrc
const CaloGeometry * theCaloGeometry
const CaloTopology * theCaloTopology
const EcalRecHitCollection * theEcalEndcapCollection

Member Data Documentation

bool LeptonRecoSkim::ElectronCutPassed
private

Definition at line 104 of file LeptonRecoSkim.h.

Referenced by filter().

std::string LeptonRecoSkim::filterName
private

Definition at line 74 of file LeptonRecoSkim.h.

Referenced by endJob().

bool LeptonRecoSkim::firstEvent
private

Definition at line 93 of file LeptonRecoSkim.h.

Referenced by beginJob(), and filter().

edm::InputTag LeptonRecoSkim::hltLabel
private

Definition at line 73 of file LeptonRecoSkim.h.

bool LeptonRecoSkim::HtCutPassed
private

Definition at line 107 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::htJetThreshold
private

Definition at line 120 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::htMin
private

Definition at line 118 of file LeptonRecoSkim.h.

Referenced by filter().

edm::InputTag LeptonRecoSkim::m_ebRecHitsSrc
private

Definition at line 80 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_eeRecHitsSrc
private

Definition at line 81 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_electronSrc
private

Definition at line 75 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_jetsSrc
private

Definition at line 78 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_muonSrc
private

Definition at line 77 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_pfelectronSrc
private

Definition at line 76 of file LeptonRecoSkim.h.

Referenced by handleObjects().

edm::InputTag LeptonRecoSkim::m_pfjetsSrc
private

Definition at line 79 of file LeptonRecoSkim.h.

Referenced by handleObjects().

bool LeptonRecoSkim::MuonCutPassed
private

Definition at line 106 of file LeptonRecoSkim.h.

Referenced by filter().

int LeptonRecoSkim::NeventsFiltered
private

Definition at line 126 of file LeptonRecoSkim.h.

Referenced by endJob(), filter(), and LeptonRecoSkim().

int LeptonRecoSkim::NeventsTotal
private

Definition at line 125 of file LeptonRecoSkim.h.

Referenced by endJob(), filter(), and LeptonRecoSkim().

int LeptonRecoSkim::NHltDiMu3
private

Definition at line 128 of file LeptonRecoSkim.h.

Referenced by endJob(), and LeptonRecoSkim().

int LeptonRecoSkim::NHltMu9
private

Definition at line 127 of file LeptonRecoSkim.h.

Referenced by endJob(), and LeptonRecoSkim().

int LeptonRecoSkim::NmvaElectrons
private

Definition at line 131 of file LeptonRecoSkim.h.

Referenced by endJob(), filter(), and LeptonRecoSkim().

int LeptonRecoSkim::nSelectedElectrons
private

Definition at line 113 of file LeptonRecoSkim.h.

Referenced by filter().

int LeptonRecoSkim::nSelectedMuons
private

Definition at line 117 of file LeptonRecoSkim.h.

Referenced by filter().

int LeptonRecoSkim::nSelectedPfElectrons
private

Definition at line 114 of file LeptonRecoSkim.h.

Referenced by filter().

int LeptonRecoSkim::NtotalElectrons
private

Definition at line 130 of file LeptonRecoSkim.h.

Referenced by endJob(), filter(), and LeptonRecoSkim().

bool LeptonRecoSkim::PfElectronCutPassed
private

Definition at line 105 of file LeptonRecoSkim.h.

Referenced by filter().

bool LeptonRecoSkim::PFHtCutPassed
private

Definition at line 108 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::pfHtJetThreshold
private

Definition at line 121 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::pfHtMin
private

Definition at line 119 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::ptElecMin
private

Definition at line 111 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::ptGlobalMuonMin
private

Definition at line 115 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::ptPfElecMin
private

Definition at line 112 of file LeptonRecoSkim.h.

Referenced by filter().

double LeptonRecoSkim::ptTrackerMuonMin
private

Definition at line 116 of file LeptonRecoSkim.h.

Referenced by filter().

const CaloGeometry* LeptonRecoSkim::theCaloGeometry
private

Definition at line 91 of file LeptonRecoSkim.h.

Referenced by handleObjects().

const reco::CaloJetCollection* LeptonRecoSkim::theCaloJetCollection
private

Definition at line 86 of file LeptonRecoSkim.h.

Referenced by filter(), and handleObjects().

const CaloTopology* LeptonRecoSkim::theCaloTopology
private

Definition at line 90 of file LeptonRecoSkim.h.

Referenced by handleObjects().

const EcalRecHitCollection* LeptonRecoSkim::theEcalBarrelCollection
private

Definition at line 88 of file LeptonRecoSkim.h.

Referenced by handleObjects().

const EcalRecHitCollection* LeptonRecoSkim::theEcalEndcapCollection
private

Definition at line 89 of file LeptonRecoSkim.h.

Referenced by handleObjects().

const reco::GsfElectronCollection* LeptonRecoSkim::theElectronCollection
private

Definition at line 83 of file LeptonRecoSkim.h.

Referenced by filter(), and handleObjects().

const reco::MuonCollection* LeptonRecoSkim::theMuonCollection
private

Definition at line 85 of file LeptonRecoSkim.h.

Referenced by filter(), and handleObjects().

const reco::PFCandidateCollection* LeptonRecoSkim::thePfCandidateCollection
private

Definition at line 84 of file LeptonRecoSkim.h.

Referenced by filter(), and handleObjects().

const reco::PFJetCollection* LeptonRecoSkim::thePFJetCollection
private

Definition at line 87 of file LeptonRecoSkim.h.

Referenced by filter(), and handleObjects().

bool LeptonRecoSkim::useElectronSelection
private

Definition at line 97 of file LeptonRecoSkim.h.

Referenced by filter().

bool LeptonRecoSkim::useHtSelection
private

Definition at line 100 of file LeptonRecoSkim.h.

Referenced by filter().

bool LeptonRecoSkim::useMuonSelection
private

Definition at line 99 of file LeptonRecoSkim.h.

Referenced by filter().

bool LeptonRecoSkim::usePfElectronSelection
private

Definition at line 98 of file LeptonRecoSkim.h.

Referenced by filter().

bool LeptonRecoSkim::usePFHtSelection
private

Definition at line 101 of file LeptonRecoSkim.h.

Referenced by filter().