CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
pat::LeptonUpdater< T > Class Template Reference
Inheritance diagram for pat::LeptonUpdater< T >:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 LeptonUpdater (const edm::ParameterSet &iConfig)
 
const std::vector< double > & miniIsoParams (const T &lep) const
 
template<>
const std::vector< double > & miniIsoParams (const pat::Electron &lep) const
 
void produce (edm::StreamID, edm::Event &, edm::EventSetup const &) const override
 
void readMiniIsoParams (const edm::ParameterSet &iConfig)
 
template<>
void readMiniIsoParams (const edm::ParameterSet &iConfig)
 
void recomputeMuonBasicSelectors (T &, const reco::Vertex &, const bool) const
 
template<>
void recomputeMuonBasicSelectors (pat::Muon &lep, const reco::Vertex &pv, const bool do_hip_mitigation_2016) const
 
void setDZ (T &lep, const reco::Vertex &pv) const
 
template<>
void setDZ (pat::Electron &anElectron, const reco::Vertex &pv) const
 
template<>
void setDZ (pat::Muon &aMuon, const reco::Vertex &pv) const
 
 ~LeptonUpdater () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamLineToken_
 
bool computeMiniIso_
 
bool fixDxySign_
 
std::vector< double > miniIsoParams_ [2]
 
edm::EDGetTokenT< pat::PackedCandidateCollectionpcToken_
 
bool recomputeMuonBasicSelectors_
 
edm::EDGetTokenT< std::vector< T > > src_
 
edm::EDGetTokenT< std::vector< reco::Vertex > > vertices_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
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)
 
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 ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

template<typename T>
class pat::LeptonUpdater< T >

Definition at line 21 of file LeptonUpdater.cc.

Constructor & Destructor Documentation

◆ LeptonUpdater()

template<typename T >
pat::LeptonUpdater< T >::LeptonUpdater ( const edm::ParameterSet iConfig)
inlineexplicit

Definition at line 23 of file LeptonUpdater.cc.

References pat::LeptonUpdater< T >::computeMiniIso_, edm::ParameterSet::getParameter(), pat::LeptonUpdater< T >::pcToken_, pat::LeptonUpdater< T >::readMiniIsoParams(), and pat::LeptonUpdater< T >::recomputeMuonBasicSelectors_.

24  : src_(consumes<std::vector<T>>(iConfig.getParameter<edm::InputTag>("src"))),
25  vertices_(consumes<std::vector<reco::Vertex>>(iConfig.getParameter<edm::InputTag>("vertices"))),
26  beamLineToken_(consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamspot"))),
27  computeMiniIso_(iConfig.getParameter<bool>("computeMiniIso")),
28  fixDxySign_(iConfig.getParameter<bool>("fixDxySign")) {
29  //for mini-isolation calculation
30  if (computeMiniIso_) {
31  readMiniIsoParams(iConfig);
32  pcToken_ = consumes<pat::PackedCandidateCollection>(iConfig.getParameter<edm::InputTag>("pfCandsForMiniIso"));
33  }
35  if (typeid(T) == typeid(pat::Muon))
36  recomputeMuonBasicSelectors_ = iConfig.getParameter<bool>("recomputeMuonBasicSelectors");
37  produces<std::vector<T>>();
38  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< std::vector< T > > src_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< reco::BeamSpot > beamLineToken_
bool recomputeMuonBasicSelectors_
edm::EDGetTokenT< pat::PackedCandidateCollection > pcToken_
void readMiniIsoParams(const edm::ParameterSet &iConfig)
long double T
Analysis-level muon class.
Definition: Muon.h:51
edm::EDGetTokenT< std::vector< reco::Vertex > > vertices_

◆ ~LeptonUpdater()

template<typename T >
pat::LeptonUpdater< T >::~LeptonUpdater ( )
inlineoverride

Definition at line 40 of file LeptonUpdater.cc.

40 {}

Member Function Documentation

◆ fillDescriptions()

template<typename T >
static void pat::LeptonUpdater< T >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
inlinestatic

Definition at line 44 of file LeptonUpdater.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.

44  {
46  desc.add<edm::InputTag>("src")->setComment("Lepton collection");
47  desc.add<edm::InputTag>("vertices")->setComment("Vertex collection");
48  desc.add<edm::InputTag>("beamspot", edm::InputTag("offlineBeamSpot"))->setComment("Beam spot");
49  desc.add<bool>("computeMiniIso", false)->setComment("Recompute miniIsolation");
50  desc.add<bool>("fixDxySign", false)->setComment("Fix the IP sign");
51  desc.addOptional<edm::InputTag>("pfCandsForMiniIso", edm::InputTag("packedPFCandidates"))
52  ->setComment("PackedCandidate collection used for miniIso");
53  if (typeid(T) == typeid(pat::Muon)) {
54  desc.add<bool>("recomputeMuonBasicSelectors", false)
55  ->setComment("Recompute basic cut-based muon selector flags");
56  desc.addOptional<std::vector<double>>("miniIsoParams")
57  ->setComment("Parameters used for miniIso (as in PATMuonProducer)");
58  descriptions.add("muonsUpdated", desc);
59  } else if (typeid(T) == typeid(pat::Electron)) {
60  desc.addOptional<std::vector<double>>("miniIsoParamsB")
61  ->setComment("Parameters used for miniIso in the barrel (as in PATElectronProducer)");
62  desc.addOptional<std::vector<double>>("miniIsoParamsE")
63  ->setComment("Parameters used for miniIso in the endcap (as in PATElectronProducer)");
64  descriptions.add("electronsUpdated", desc);
65  }
66  }
Analysis-level electron class.
Definition: Electron.h:51
void add(std::string const &label, ParameterSetDescription const &psetDescription)
long double T
Analysis-level muon class.
Definition: Muon.h:51

◆ miniIsoParams() [1/2]

template<typename T >
const std::vector<double>& pat::LeptonUpdater< T >::miniIsoParams ( const T lep) const
inline

Definition at line 75 of file LeptonUpdater.cc.

References pat::LeptonUpdater< T >::miniIsoParams_.

75 { return miniIsoParams_[0]; }
std::vector< double > miniIsoParams_[2]

◆ miniIsoParams() [2/2]

template<>
const std::vector< double > & pat::LeptonUpdater< pat::Electron >::miniIsoParams ( const pat::Electron lep) const

Definition at line 115 of file LeptonUpdater.cc.

References reco::GsfElectron::isEE().

115  {
116  return miniIsoParams_[lep.isEE()];
117  }
bool isEE() const
Definition: GsfElectron.h:329
std::vector< double > miniIsoParams_[2]

◆ produce()

template<typename T >
void pat::LeptonUpdater< T >::produce ( edm::StreamID  ,
edm::Event iEvent,
edm::EventSetup const &   
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 134 of file LeptonUpdater.cc.

References funct::abs(), pwdgSkimBPark_cfi::beamSpot, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), pat::getMiniPFIsolation(), mps_fire::i, iEvent, edm::HandleBase::isValid(), muons_cff::miniIsoParams, eostools::move(), dqmiodumpmetadata::n, MillePedeFileConverter_cfg::out, submitPVValidationJobs::params, edm::Handle< T >::product(), muons_cff::recomputeMuonBasicSelectors, TrackRefitter_38T_cff::src, and AlignmentTracksFromVertexSelector_cfi::vertices.

134  {
136  iEvent.getByToken(src_, src);
137 
139  iEvent.getByToken(vertices_, vertices);
140  const reco::Vertex &pv = vertices->front();
141 
143  if (computeMiniIso_)
144  iEvent.getByToken(pcToken_, pc);
145 
146  edm::Handle<reco::BeamSpot> beamSpotHandle;
147  iEvent.getByToken(beamLineToken_, beamSpotHandle);
149  bool beamSpotIsValid = false;
150  if (beamSpotHandle.isValid()) {
151  beamSpot = *beamSpotHandle;
152  beamSpotIsValid = true;
153  } else {
154  edm::LogError("DataNotAvailable") << "No beam spot available \n";
155  }
156 
157  std::unique_ptr<std::vector<T>> out(new std::vector<T>(*src));
158 
159  const bool do_hip_mitigation_2016 =
160  recomputeMuonBasicSelectors_ && (272728 <= iEvent.run() && iEvent.run() <= 278808);
161 
162  for (unsigned int i = 0, n = src->size(); i < n; ++i) {
163  T &lep = (*out)[i];
164  setDZ(lep, pv);
165  if (computeMiniIso_) {
166  const auto &params = miniIsoParams(lep);
168  lep.polarP4(),
169  params[0],
170  params[1],
171  params[2],
172  params[3],
173  params[4],
174  params[5],
175  params[6],
176  params[7],
177  params[8]);
178  lep.setMiniPFIsolation(miniiso);
179  }
181  recomputeMuonBasicSelectors(lep, pv, do_hip_mitigation_2016);
182  //Fixing the sign of impact parameters
183  if (fixDxySign_) {
184  float signPV = 1.;
185  float signBS = 1.;
186  if (beamSpotIsValid) {
187  if constexpr (std::is_same_v<T, pat::Electron>)
188  signBS = copysign(1., lep.gsfTrack()->dxy(beamSpot));
189  else
190  signBS = copysign(1., lep.bestTrack()->dxy(beamSpot));
191  }
192  if constexpr (std::is_same_v<T, pat::Electron>)
193  signPV = copysign(1., lep.gsfTrack()->dxy(pv.position()));
194  else
195  signPV = copysign(1., lep.bestTrack()->dxy(pv.position()));
196  lep.setDB(abs(lep.dB(T::PV2D)) * signPV, lep.edB(T::PV2D), T::PV2D);
197  lep.setDB(abs(lep.dB(T::BS2D)) * signBS, lep.edB(T::BS2D), T::BS2D);
198  }
199  }
200 
201  iEvent.put(std::move(out));
202 }
void setDZ(T &lep, const reco::Vertex &pv) const
T const * product() const
Definition: Handle.h:70
Log< level::Error, false > LogError
edm::EDGetTokenT< std::vector< T > > src_
edm::EDGetTokenT< reco::BeamSpot > beamLineToken_
int iEvent
Definition: GenABIO.cc:224
bool recomputeMuonBasicSelectors_
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDGetTokenT< pat::PackedCandidateCollection > pcToken_
void recomputeMuonBasicSelectors(T &, const reco::Vertex &, const bool) const
bool isValid() const
Definition: HandleBase.h:70
const std::vector< double > & miniIsoParams(const T &lep) const
PFIsolation getMiniPFIsolation(const pat::PackedCandidateCollection *pfcands, const reco::Candidate::PolarLorentzVector &p4, float mindr=0.05, float maxdr=0.2, float kt_scale=10.0, float ptthresh=0.5, float deadcone_ch=0.0001, float deadcone_pu=0.01, float deadcone_ph=0.01, float deadcone_nh=0.01, float dZ_cut=0.0)
long double T
edm::EDGetTokenT< std::vector< reco::Vertex > > vertices_
def move(src, dest)
Definition: eostools.py:511

◆ readMiniIsoParams() [1/2]

template<typename T >
void pat::LeptonUpdater< T >::readMiniIsoParams ( const edm::ParameterSet iConfig)
inline

Definition at line 70 of file LeptonUpdater.cc.

References edm::ParameterSet::getParameter(), and pat::LeptonUpdater< T >::miniIsoParams_.

Referenced by pat::LeptonUpdater< T >::LeptonUpdater().

70  {
71  miniIsoParams_[0] = iConfig.getParameter<std::vector<double>>("miniIsoParams");
72  if (miniIsoParams_[0].size() != 9)
73  throw cms::Exception("ParameterError", "miniIsoParams must have exactly 9 elements.\n");
74  }
size
Write out results.
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< double > miniIsoParams_[2]

◆ readMiniIsoParams() [2/2]

template<>
void pat::LeptonUpdater< pat::Electron >::readMiniIsoParams ( const edm::ParameterSet iConfig)

Definition at line 106 of file LeptonUpdater.cc.

References edm::ParameterSet::getParameter().

106  {
107  miniIsoParams_[0] = iConfig.getParameter<std::vector<double>>("miniIsoParamsB");
108  miniIsoParams_[1] = iConfig.getParameter<std::vector<double>>("miniIsoParamsE");
109  if (miniIsoParams_[0].size() != 9)
110  throw cms::Exception("ParameterError", "miniIsoParamsB must have exactly 9 elements.\n");
111  if (miniIsoParams_[1].size() != 9)
112  throw cms::Exception("ParameterError", "miniIsoParamsE must have exactly 9 elements.\n");
113  }
size
Write out results.
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< double > miniIsoParams_[2]

◆ recomputeMuonBasicSelectors() [1/2]

template<typename T >
void pat::LeptonUpdater< T >::recomputeMuonBasicSelectors ( T lep,
const reco::Vertex pv,
const bool  do_hip_mitigation_2016 
) const

Definition at line 120 of file LeptonUpdater.cc.

122  {}

◆ recomputeMuonBasicSelectors() [2/2]

template<>
void pat::LeptonUpdater< pat::Muon >::recomputeMuonBasicSelectors ( pat::Muon lep,
const reco::Vertex pv,
const bool  do_hip_mitigation_2016 
) const

Definition at line 125 of file LeptonUpdater.cc.

References muon::makeSelectorBitset(), and reco::Muon::setSelectors().

127  {
128  lep.setSelectors(muon::makeSelectorBitset(lep, &pv, do_hip_mitigation_2016));
129  }
reco::Muon::Selector makeSelectorBitset(reco::Muon const &muon, reco::Vertex const *vertex=nullptr, bool run2016_hip_mitigation=false)
void setSelectors(uint64_t selectors)
Definition: Muon.h:244

◆ setDZ() [1/3]

template<typename T >
void pat::LeptonUpdater< T >::setDZ ( T lep,
const reco::Vertex pv 
) const
inline

Definition at line 68 of file LeptonUpdater.cc.

68 {}

◆ setDZ() [2/3]

template<>
void pat::LeptonUpdater< pat::Electron >::setDZ ( pat::Electron anElectron,
const reco::Vertex pv 
) const

Definition at line 94 of file LeptonUpdater.cc.

References pat::Electron::gsfTrack(), Matriplex::hypot(), pat::Electron::PVDZ, pat::Electron::setDB(), and HLT_2024v14_cff::track.

94  {
95  auto track = anElectron.gsfTrack();
96  anElectron.setDB(track->dz(pv.position()), std::hypot(track->dzError(), pv.zError()), pat::Electron::PVDZ);
97  }
MPlex< T, D1, D2, N > hypot(const MPlex< T, D1, D2, N > &a, const MPlex< T, D1, D2, N > &b)
Definition: Matriplex.h:436
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster ...
void setDB(double dB, double edB, IPTYPE type)
Set impact parameter of a certain type and its uncertainty.

◆ setDZ() [3/3]

template<>
void pat::LeptonUpdater< pat::Muon >::setDZ ( pat::Muon aMuon,
const reco::Vertex pv 
) const

Definition at line 100 of file LeptonUpdater.cc.

References Matriplex::hypot(), pat::Muon::muonBestTrack(), pat::Muon::PVDZ, pat::Muon::setDB(), and HLT_2024v14_cff::track.

100  {
101  auto track = aMuon.muonBestTrack();
102  aMuon.setDB(track->dz(pv.position()), std::hypot(track->dzError(), pv.zError()), pat::Muon::PVDZ);
103  }
MPlex< T, D1, D2, N > hypot(const MPlex< T, D1, D2, N > &a, const MPlex< T, D1, D2, N > &b)
Definition: Matriplex.h:436
void setDB(double dB, double edB, IPTYPE type=PV2D)
Definition: Muon.h:247
reco::TrackRef muonBestTrack() const override
Track selected to be the best measurement of the muon parameters (including PFlow global information)...

Member Data Documentation

◆ beamLineToken_

template<typename T >
edm::EDGetTokenT<reco::BeamSpot> pat::LeptonUpdater< T >::beamLineToken_
private

Definition at line 83 of file LeptonUpdater.cc.

◆ computeMiniIso_

template<typename T >
bool pat::LeptonUpdater< T >::computeMiniIso_
private

Definition at line 84 of file LeptonUpdater.cc.

Referenced by pat::LeptonUpdater< T >::LeptonUpdater().

◆ fixDxySign_

template<typename T >
bool pat::LeptonUpdater< T >::fixDxySign_
private

Definition at line 85 of file LeptonUpdater.cc.

◆ miniIsoParams_

template<typename T >
std::vector<double> pat::LeptonUpdater< T >::miniIsoParams_[2]
private

◆ pcToken_

template<typename T >
edm::EDGetTokenT<pat::PackedCandidateCollection> pat::LeptonUpdater< T >::pcToken_
private

Definition at line 88 of file LeptonUpdater.cc.

Referenced by pat::LeptonUpdater< T >::LeptonUpdater().

◆ recomputeMuonBasicSelectors_

template<typename T >
bool pat::LeptonUpdater< T >::recomputeMuonBasicSelectors_
private

Definition at line 86 of file LeptonUpdater.cc.

Referenced by pat::LeptonUpdater< T >::LeptonUpdater().

◆ src_

template<typename T >
edm::EDGetTokenT<std::vector<T> > pat::LeptonUpdater< T >::src_
private

Definition at line 81 of file LeptonUpdater.cc.

◆ vertices_

template<typename T >
edm::EDGetTokenT<std::vector<reco::Vertex> > pat::LeptonUpdater< T >::vertices_
private

Definition at line 82 of file LeptonUpdater.cc.