CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
WtoLNuSelector Class Reference

#include <WtoLNuSelector.h>

Inheritance diagram for WtoLNuSelector:
edm::stream::EDFilter<> edm::stream::EDFilterBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 WtoLNuSelector (const edm::ParameterSet &)
 
- Public Member Functions inherited from edm::stream::EDFilter<>
 EDFilter ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
- Public Member Functions inherited from edm::stream::EDFilterBase
 EDFilterBase ()
 
 EDFilterBase (const EDFilterBase &)=delete
 
ModuleDescription const & moduleDescription () const
 
const EDFilterBaseoperator= (const EDFilterBase &)=delete
 
 ~EDFilterBase () 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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

bool filter (edm::Event &, edm::EventSetup const &) override
 
double getMt (const TLorentzVector &vlep, const reco::PFMET &obj)
 

Private Attributes

const edm::InputTag bsTag_
 
const edm::EDGetTokenT< reco::BeamSpotbsToken_
 
const edm::InputTag electronTag_
 
const edm::EDGetTokenT< reco::GsfElectronCollectionelectronToken_
 
const edm::InputTag muonTag_
 
const edm::EDGetTokenT< reco::MuonCollectionmuonToken_
 
const edm::InputTag pfmetTag_
 
const edm::EDGetTokenT< reco::PFMETCollectionpfmetToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDFilter<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDFilterBase
typedef EDFilterAdaptorBase 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::stream::EDFilterBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 23 of file WtoLNuSelector.h.

Constructor & Destructor Documentation

◆ WtoLNuSelector()

WtoLNuSelector::WtoLNuSelector ( const edm::ParameterSet ps)
explicit

Definition at line 25 of file WtoLNuSelector.cc.

26  : electronTag_(ps.getUntrackedParameter<edm::InputTag>("electronInputTag", edm::InputTag("gedGsfElectrons"))),
27  bsTag_(ps.getUntrackedParameter<edm::InputTag>("offlineBeamSpot", edm::InputTag("offlineBeamSpot"))),
28  muonTag_(ps.getUntrackedParameter<edm::InputTag>("muonInputTag", edm::InputTag("muons"))),
29  //pfmetTag_(ps.getUntrackedParameter<edm::InputTag>("pfmetTag", edm::InputTag("pfMet"))),
30  pfmetTag_(ps.getUntrackedParameter<edm::InputTag>("pfmetTag", edm::InputTag("pfMetT1T2Txy"))),
31  electronToken_(consumes<reco::GsfElectronCollection>(electronTag_)),
32  bsToken_(consumes<reco::BeamSpot>(bsTag_)),
33  muonToken_(consumes<reco::MuonCollection>(muonTag_)),
34  pfmetToken_(consumes<reco::PFMETCollection>(pfmetTag_)) {}

Member Function Documentation

◆ filter()

bool WtoLNuSelector::filter ( edm::Event iEvent,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDFilterBase.

Definition at line 36 of file WtoLNuSelector.cc.

36  {
37  // Read Electron Collection
39  iEvent.getByToken(electronToken_, electronColl);
40 
42  iEvent.getByToken(bsToken_, beamSpot);
43 
44  std::vector<TLorentzVector> eleList;
45  if (electronColl.isValid()) {
46  for (auto const& ele : *electronColl) {
47  if (!ele.ecalDriven())
48  continue;
49 
50  double hOverE = ele.hadronicOverEm();
51  double sigmaee = ele.sigmaIetaIeta();
52  double deltaPhiIn = ele.deltaPhiSuperClusterTrackAtVtx();
53  double deltaEtaIn = ele.deltaEtaSuperClusterTrackAtVtx();
54 
55  // separate cut for barrel and endcap
56  if (ele.isEB()) {
57  if (std::fabs(deltaPhiIn) >= .15 && std::fabs(deltaEtaIn) >= .007 && hOverE >= .12 && sigmaee >= .01)
58  continue;
59  } else if (ele.isEE()) {
60  if (std::fabs(deltaPhiIn) >= .10 && std::fabs(deltaEtaIn) >= .009 && hOverE >= .10 && sigmaee >= .03)
61  continue;
62  }
63 
64  reco::GsfTrackRef trk = ele.gsfTrack();
65  if (!trk.isNonnull())
66  continue; // only electrons wd tracks
67  double chi2 = trk->chi2();
68  double ndof = trk->ndof();
69  double chbyndof = (ndof > 0) ? chi2 / ndof : 0;
70  double trkd0 = trk->d0();
71  double trkdz = trk->dz();
72  if (beamSpot.isValid()) {
73  trkd0 = -(trk->dxy(beamSpot->position()));
74  trkdz = trk->dz(beamSpot->position());
75  } else {
76  edm::LogError("WtoLNuSelector") << "Error >> Failed to get BeamSpot for label: " << bsTag_;
77  }
78  if (chbyndof >= 10 || std::fabs(trkd0) >= 0.02 || std::fabs(trkdz) >= 20)
79  continue;
80  const reco::HitPattern& hitp = trk->hitPattern();
81  int nPixelHits = hitp.numberOfValidPixelHits();
82  int nStripHits = hitp.numberOfValidStripHits();
83  if (nPixelHits < 1 || nStripHits < 8)
84  continue;
85 
86  // PF Isolation
87  reco::GsfElectron::PflowIsolationVariables pfIso = ele.pfIsolationVariables();
88  float absiso =
89  pfIso.sumChargedHadronPt + std::max(0.0, pfIso.sumNeutralHadronEt + pfIso.sumPhotonEt - 0.5 * pfIso.sumPUPt);
90  float eiso = absiso / ele.pt();
91  if (eiso > 0.3)
92  continue;
93 
94  TLorentzVector le;
95  le.SetPtEtaPhiE(ele.pt(), ele.eta(), ele.phi(), ele.energy());
96  eleList.push_back(le);
97  }
98  } else {
99  edm::LogError("WtoLNuSelector") << "Error >> Failed to get ElectronCollection for label: " << electronTag_;
100  }
101 
102  // Read Muon Collection
104  iEvent.getByToken(muonToken_, muonColl);
105 
106  std::vector<TLorentzVector> muList;
107  if (muonColl.isValid()) {
108  for (auto const& mu : *muonColl) {
109  if (!mu.isGlobalMuon() || !mu.isPFMuon() || std::fabs(mu.eta()) > 2.1 || mu.pt() <= 5)
110  continue;
111 
112  reco::TrackRef gtrkref = mu.globalTrack();
113  if (!gtrkref.isNonnull())
114  continue;
115  const reco::Track* gtk = &(*gtrkref);
116  double chi2 = gtk->chi2();
117  double ndof = gtk->ndof();
118  double chbyndof = (ndof > 0) ? chi2 / ndof : 0;
119 
120  const reco::HitPattern& hitp = gtk->hitPattern();
121  int nPixelHits = hitp.numberOfValidPixelHits();
122  int nStripHits = hitp.numberOfValidStripHits();
123 
124  reco::TrackRef itrkref = mu.innerTrack(); // tracker segment only
125  if (!itrkref.isNonnull())
126  continue;
127  const reco::Track* tk = &(*itrkref);
128  double trkd0 = tk->d0();
129  double trkdz = tk->dz();
130  if (beamSpot.isValid()) {
131  trkd0 = -(tk->dxy(beamSpot->position()));
132  trkdz = tk->dz(beamSpot->position());
133  }
134  // Hits/section in the muon chamber
135  int nChambers = mu.numberOfChambers();
136  int nMatches = mu.numberOfMatches();
137  int nMatchedStations = mu.numberOfMatchedStations();
138 
139  // PF Isolation
140  const reco::MuonPFIsolation& pfIso04 = mu.pfIsolationR04();
141  double absiso = pfIso04.sumChargedParticlePt +
142  std::max(0.0, pfIso04.sumNeutralHadronEt + pfIso04.sumPhotonEt - 0.5 * pfIso04.sumPUPt);
143 
144  // Final selection
145  if (chbyndof < 10 && std::fabs(trkd0) < 0.02 && std::fabs(trkdz) < 20.0 && nPixelHits > 1 && nStripHits > 8 &&
146  nChambers > 2 && nMatches > 2 && nMatchedStations > 2 && absiso / mu.pt() < 0.3) {
147  TLorentzVector lm;
148  lm.SetPtEtaPhiE(mu.pt(), mu.eta(), mu.phi(), mu.energy());
149  muList.push_back(lm);
150  }
151  }
152  } else {
153  edm::LogError("WtoLNuSelector") << "Error >> Failed to get MuonCollection for label: " << muonTag_;
154  }
155 
156  // Require either a high pt electron or muon
157  if (eleList.empty() && muList.empty())
158  return false;
159 
160  // Both should not be present at the same time
161  if ((!eleList.empty() && eleList[0].Pt() > 20) && (!muList.empty() && muList[0].Pt() > 20))
162  return false;
163 
164  // find the high pt lepton
165  TLorentzVector vlep;
166  if (!eleList.empty() && !muList.empty()) {
167  vlep = (eleList[0].Pt() > muList[0].Pt()) ? eleList[0] : muList[0];
168  } else if (!eleList.empty()) {
169  vlep = eleList[0];
170  } else {
171  vlep = muList[0];
172  }
173  if (vlep.Pt() < 20)
174  return false;
175 
177  iEvent.getByToken(pfmetToken_, pfColl);
178 
179  if (pfColl.isValid()) {
180  double mt = getMt(vlep, pfColl->front());
181  if (mt < 60 || mt > 80)
182  return false;
183  } else {
184  edm::LogError("WtoLNuSelector") << "Error >> Failed to get PFMETCollection for label: " << pfmetTag_;
185  return false;
186  }
187 
188  return true;
189 }

References pwdgSkimBPark_cfi::beamSpot, bsTag_, bsToken_, hltPixelTracks_cff::chi2, reco::TrackBase::chi2(), reco::TrackBase::d0(), electronIdCutBasedExt_cfi::deltaEtaIn, electronIdCutBasedExt_cfi::deltaPhiIn, reco::TrackBase::dxy(), reco::TrackBase::dz(), electronTag_, electronToken_, getMt(), reco::TrackBase::hitPattern(), EgHLTOffHistBins_cfi::hOverE, iEvent, edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), SiStripPI::max, TtSemiLepEvtBuilder_cfi::mt, amptDefaultParameters_cff::mu, muonTag_, muonToken_, ndof, reco::TrackBase::ndof(), reco::HitPattern::numberOfValidPixelHits(), reco::HitPattern::numberOfValidStripHits(), pfmetTag_, pfmetToken_, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::MuonPFIsolation::sumChargedParticlePt, reco::MuonPFIsolation::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::MuonPFIsolation::sumPhotonEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, reco::MuonPFIsolation::sumPUPt, and reco::GsfElectron::PflowIsolationVariables::sumPUPt.

◆ getMt()

double WtoLNuSelector::getMt ( const TLorentzVector &  vlep,
const reco::PFMET obj 
)
private

Definition at line 190 of file WtoLNuSelector.cc.

190  {
191  double met = obj.et();
192  double phi = obj.phi();
193 
194  TLorentzVector vmet;
195  double metx = met * std::cos(phi);
196  double mety = met * std::sin(phi);
197  vmet.SetPxPyPzE(metx, mety, 0.0, met);
198 
199  // transverse mass
200  TLorentzVector vw = vlep + vmet;
201 
202  return std::sqrt(2 * vlep.Et() * met * (1 - std::cos(deltaPhi(vlep.Phi(), phi))));
203 }

References funct::cos(), SiPixelRawToDigiRegional_cfi::deltaPhi, BTaggingMonitor_cfi::met, getGTfromDQMFile::obj, phi, funct::sin(), and mathSSE::sqrt().

Referenced by filter().

Member Data Documentation

◆ bsTag_

const edm::InputTag WtoLNuSelector::bsTag_
private

Definition at line 34 of file WtoLNuSelector.h.

Referenced by filter().

◆ bsToken_

const edm::EDGetTokenT<reco::BeamSpot> WtoLNuSelector::bsToken_
private

Definition at line 38 of file WtoLNuSelector.h.

Referenced by filter().

◆ electronTag_

const edm::InputTag WtoLNuSelector::electronTag_
private

Definition at line 33 of file WtoLNuSelector.h.

Referenced by filter().

◆ electronToken_

const edm::EDGetTokenT<reco::GsfElectronCollection> WtoLNuSelector::electronToken_
private

Definition at line 37 of file WtoLNuSelector.h.

Referenced by filter().

◆ muonTag_

const edm::InputTag WtoLNuSelector::muonTag_
private

Definition at line 35 of file WtoLNuSelector.h.

Referenced by filter().

◆ muonToken_

const edm::EDGetTokenT<reco::MuonCollection> WtoLNuSelector::muonToken_
private

Definition at line 39 of file WtoLNuSelector.h.

Referenced by filter().

◆ pfmetTag_

const edm::InputTag WtoLNuSelector::pfmetTag_
private

Definition at line 36 of file WtoLNuSelector.h.

Referenced by filter().

◆ pfmetToken_

const edm::EDGetTokenT<reco::PFMETCollection> WtoLNuSelector::pfmetToken_
private

Definition at line 40 of file WtoLNuSelector.h.

Referenced by filter().

pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
reco::MuonPFIsolation::sumNeutralHadronEt
float sumNeutralHadronEt
sum pt of neutral hadrons
Definition: MuonPFIsolation.h:8
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
reco::GsfElectron::PflowIsolationVariables
Definition: GsfElectron.h:605
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
reco::TrackBase::ndof
double ndof() const
number of degrees of freedom of the fit
Definition: TrackBase.h:590
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
edm::Handle< reco::GsfElectronCollection >
edm::Ref< GsfTrackCollection >
BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
ndof
Definition: HIMultiTrackSelector.h:49
reco::GsfElectron::PflowIsolationVariables::sumPhotonEt
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Definition: GsfElectron.h:609
WtoLNuSelector::pfmetTag_
const edm::InputTag pfmetTag_
Definition: WtoLNuSelector.h:36
reco::HitPattern
Definition: HitPattern.h:147
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
reco::GsfElectron::PflowIsolationVariables::sumPUPt
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
Definition: GsfElectron.h:614
WtoLNuSelector::muonToken_
const edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition: WtoLNuSelector.h:39
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
reco::Track
Definition: Track.h:27
reco::TrackBase::dz
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
Definition: TrackBase.h:622
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
WtoLNuSelector::bsToken_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition: WtoLNuSelector.h:38
EgHLTOffHistBins_cfi.hOverE
hOverE
Definition: EgHLTOffHistBins_cfi.py:17
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
iEvent
int iEvent
Definition: GenABIO.cc:224
reco::TrackBase::d0
double d0() const
dxy parameter in perigee convention (d0 = -dxy)
Definition: TrackBase.h:611
reco::TrackBase::chi2
double chi2() const
chi-squared of the fit
Definition: TrackBase.h:587
reco::MuonPFIsolation::sumChargedParticlePt
float sumChargedParticlePt
sum-pt of charged Particles(inludes e/mu)
Definition: MuonPFIsolation.h:7
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
WtoLNuSelector::pfmetToken_
const edm::EDGetTokenT< reco::PFMETCollection > pfmetToken_
Definition: WtoLNuSelector.h:40
reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
Definition: GsfElectron.h:608
DDAxes::phi
reco::TrackBase::hitPattern
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:504
WtoLNuSelector::getMt
double getMt(const TLorentzVector &vlep, const reco::PFMET &obj)
Definition: WtoLNuSelector.cc:190
reco::MuonPFIsolation
Definition: MuonPFIsolation.h:5
reco::MuonPFIsolation::sumPUPt
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
Definition: MuonPFIsolation.h:12
WtoLNuSelector::electronTag_
const edm::InputTag electronTag_
Definition: WtoLNuSelector.h:33
reco::HitPattern::numberOfValidStripHits
int numberOfValidStripHits() const
Definition: HitPattern.h:812
TtSemiLepEvtBuilder_cfi.mt
mt
Definition: TtSemiLepEvtBuilder_cfi.py:47
reco::HitPattern::numberOfValidPixelHits
int numberOfValidPixelHits() const
Definition: HitPattern.h:800
reco::MuonPFIsolation::sumPhotonEt
float sumPhotonEt
sum pt of PF photons
Definition: MuonPFIsolation.h:9
WtoLNuSelector::bsTag_
const edm::InputTag bsTag_
Definition: WtoLNuSelector.h:34
electronIdCutBasedExt_cfi.deltaEtaIn
deltaEtaIn
Definition: electronIdCutBasedExt_cfi.py:119
electronIdCutBasedExt_cfi.deltaPhiIn
deltaPhiIn
Definition: electronIdCutBasedExt_cfi.py:120
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
reco::TrackBase::dxy
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
Definition: TrackBase.h:608
WtoLNuSelector::electronToken_
const edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
Definition: WtoLNuSelector.h:37
edm::InputTag
Definition: InputTag.h:15
WtoLNuSelector::muonTag_
const edm::InputTag muonTag_
Definition: WtoLNuSelector.h:35
reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
Definition: GsfElectron.h:607