CMS 3D CMS Logo

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::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 LeptonRecoSkim (const edm::ParameterSet &)
 
 ~LeptonRecoSkim () override
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilter () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void beginJob () override
 
void endJob () override
 
bool filter (edm::Event &, const edm::EventSetup &) override
 
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
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ESProduct , Transition Tr = Transition::Event>
auto esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

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 ( )
override

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  )
overrideprivatevirtual

Reimplemented from edm::EDFilter.

Definition at line 214 of file LeptonRecoSkim.cc.

References firstEvent.

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

Reimplemented from edm::EDFilter.

Definition at line 221 of file LeptonRecoSkim.cc.

References gather_cfg::cout, filterName, objects.autophobj::float, 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
#define N
Definition: blowfish.cc:9
bool LeptonRecoSkim::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

Definition at line 84 of file LeptonRecoSkim.cc.

References accept(), reco::PFCandidate::e, metsig::electron, ElectronCutPassed, firstEvent, reco::Muon::globalTrack(), cutBasedMuonId_MuonPOG_V0_cff::globalTrack, reco::PFCandidate::gsfTrackRef(), handleObjects(), HtCutPassed, htJetThreshold, htMin, mps_fire::i, reco::Muon::innerTrack(), reco::Muon::isGlobalMuon(), edm::Ref< C, T, F >::isNull(), reco::Muon::isTrackerMuon(), LogDebug, SiStripPI::max, MuonCutPassed, reco::GsfElectron::mva_e_pi(), 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 Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and 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_e_pi()>-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)
const reco::CaloJetCollection * theCaloJetCollection
void handleObjects(const edm::Event &, const edm::EventSetup &iSetup)
virtual TrackRef innerTrack() const
Definition: Muon.h:48
bool usePfElectronSelection
const reco::PFCandidateCollection * thePfCandidateCollection
double pt() const final
transverse momentum
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:30
bool isTrackerMuon() const override
Definition: Muon.h:277
double ptTrackerMuonMin
Definition: Muon.py:1
const reco::GsfElectronCollection * theElectronCollection
bool isGlobalMuon() const override
Definition: Muon.h:276
bool useElectronSelection
bool isNull() const
Checks for null.
Definition: Ref.h:250
const reco::MuonCollection * theMuonCollection
float mva_e_pi() const
Definition: GsfElectron.h:692
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
reco::GsfTrackRef gsfTrackRef() const
Definition: PFCandidate.cc:480
const reco::PFJetCollection * thePFJetCollection
double ptGlobalMuonMin
virtual ParticleType particleId() const
Definition: PFCandidate.h:374
double pfHtJetThreshold
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector
Definition: Muon.h:54
void LeptonRecoSkim::handleObjects ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 238 of file LeptonRecoSkim.cc.

References DEFINE_FWK_MODULE, 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< T >::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:535
edm::InputTag m_jetsSrc
edm::InputTag m_muonSrc
T const * product() const
Definition: Handle.h:81
const reco::MuonCollection * theMuonCollection
const EcalRecHitCollection * theEcalBarrelCollection
T get() const
Definition: EventSetup.h:68
const reco::PFJetCollection * thePFJetCollection
edm::InputTag m_electronSrc
T const * product() const
Definition: ESHandle.h:84
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(), filter(), looper.Looper::loop(), and Printer.Printer::process().

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().