#include <PackedCandidate.h>
Public Types | |
typedef reco::CandidateCollection | daughters |
collection of daughter candidates More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
enum | LostInnerHits { validHitInFirstPixelBarrelLayer =-1, noLostInnerHits =0, oneLostInnerHit =1, moreLostInnerHits =2 } |
Enumerator specifying the. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
enum | PVAssoc { NoPV =0, PVLoose =1, PVTight =2, PVUsedInFit =3 } |
This refers to the association to PV=ipv. >=PVLoose corresponds to JME definition, >=PVTight to isolation definition. More... | |
enum | PVAssociationQuality { NotReconstructedPrimary =0, OtherDeltaZ =1, CompatibilityBTag =4, CompatibilityDz =5, UsedInFitLoose =6, UsedInFitTight =7 } |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Types inherited from reco::Candidate | |
enum | { dimension = 3 } |
enum | { size = dimension * (dimension + 1)/2 } |
matix size More... | |
typedef int | Charge |
electric charge type More... | |
typedef candidate::const_iterator | const_iterator |
typedef math::Error< dimension > ::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef candidate::iterator | iterator |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef size_t | size_type |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Member Functions | |
virtual const reco::Track * | bestTrack () const |
return a pointer to the track if present. otherwise, return a null pointer More... | |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
virtual PackedCandidate * | clone () const |
returns a clone of the Candidate object More... | |
virtual const reco::Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual reco::Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual reco::Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const reco::Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual float | dxy () const |
dxy with respect to the PV ref More... | |
virtual float | dxy (const Point &p) const |
dxy with respect to another point More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dz (size_t ipv=0) const |
dz with respect to the PV[ipv] More... | |
virtual float | dz (const Point &p) const |
dz with respect to another point More... | |
virtual float | dzAssociatedPV () const |
dz with respect to the PV ref More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
virtual double | energy () const |
energy More... | |
double | et () const |
transverse energy More... | |
double | et2 () const |
transverse energy squared (use this for cuts)! More... | |
virtual double | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
const PVAssoc | fromPV (size_t ipv=0) const |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
virtual bool | longLived () const |
is long lived? More... | |
LostInnerHits | lostInnerHits () const |
virtual double | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual double | massSqr () const |
mass squared More... | |
virtual const reco::CandidateBaseRef & | masterClone () const |
virtual const reco::CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const |
spatial momentum vector More... | |
virtual const reco::Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
transverse mass squared More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
int | numberOfHits () const |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
int | numberOfPixelHits () const |
virtual size_t | numberOfSourceCandidatePtrs () const |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vecto r More... | |
PackedCandidate () | |
default constructor More... | |
PackedCandidate (const reco::Candidate &c, const reco::VertexRef &pv) | |
PackedCandidate (const PolarLorentzVector &p4, const Point &vtx, float phiAtVtx, int pdgId, const reco::VertexRef &pv) | |
PackedCandidate (const LorentzVector &p4, const Point &vtx, float phiAtVtx, int pdgId, const reco::VertexRef &pv) | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual double | phi () const |
momentum azimuthal angle More... | |
virtual float | phiAtVtx () const |
momentum azimuthal angle from the track (normally identical to phi()) More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual const reco::Track & | pseudoTrack () const |
Return reference to a pseudo track made with candidate kinematics, parameterized error for eta,phi,pt and full IP covariance. More... | |
virtual double | pt () const |
transverse momentum More... | |
float | puppiWeight () const |
const PVAssociationQuality | pvAssociationQuality () const |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
void | setAssociationQuality (PVAssociationQuality q) |
virtual void | setCharge (int charge) |
set electric charge More... | |
virtual void | setLongLived () |
set long lived flag More... | |
void | setLostInnerHits (LostInnerHits hits) |
virtual void | setMass (double m) |
set particle mass More... | |
virtual void | setMassConstraint () |
set mass constraint flag More... | |
void | setMuonID (bool isStandAlone, bool isGlobal) |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
void | setPuppiWeight (float p) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (int threecharge) |
set electric charge More... | |
void | setTrackHighPurity (bool highPurity) |
set to true if the track had the highPurity quality bit More... | |
virtual void | setTrackProperties (const reco::Track &tk, const reco::Track::CovarianceMatrix &covariance) |
set impact parameters covariance More... | |
virtual void | setTrackProperties (const reco::Track &tk) |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
void | setVertexRef (const reco::VertexRef &vertexRef) |
set reference to the primary vertex More... | |
virtual reco::CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const |
status word More... | |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
electric charge More... | |
bool | trackHighPurity () const |
true if the track had the highPurity quality bit More... | |
virtual const Point & | vertex () const |
vertex position More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
const reco::VertexRef | vertexRef () const |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const |
rapidity More... | |
virtual | ~PackedCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
Candidate () | |
default constructor More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setP4 (const PolarLorentzVector &p4)=0 |
set 4-momentum More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual void | setVertex (const Point &vertex)=0 |
set vertex More... | |
virtual | ~Candidate () |
destructor More... | |
Static Public Attributes | |
static const unsigned int | longLivedTag = 0 |
long lived flag More... | |
static const unsigned int | massConstraintTag = 0 |
do mass constraint flag More... | |
Protected Types | |
enum | qualityFlagsShiftsAndMasks { assignmentQualityMask = 0x7, assignmentQualityShift = 0, trackHighPurityMask = 0x8, trackHighPurityShift =3, lostInnerHitsMask = 0x30, lostInnerHitsShift =4, muonFlagsMask = 0x0600, muonFlagsShift =9 } |
Protected Member Functions | |
void | maybeUnpackBoth () const |
virtual bool | overlap (const reco::Candidate &) const |
check overlap with another Candidate More... | |
void | pack (bool unpackAfterwards=true) |
void | packBoth () |
void | packVtx (bool unpackAfterwards=true) |
void | unpack () const |
void | unpackTrk () const |
void | unpackVtx () const |
Friends | |
class | ::OverlapChecker |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
Definition at line 14 of file PackedCandidate.h.
collection of daughter candidates
Definition at line 17 of file PackedCandidate.h.
typedef unsigned int pat::PackedCandidate::index |
Definition at line 27 of file PackedCandidate.h.
Lorentz vector.
Definition at line 19 of file PackedCandidate.h.
point in the space
Definition at line 23 of file PackedCandidate.h.
Lorentz vector.
Definition at line 21 of file PackedCandidate.h.
point in the space
Definition at line 25 of file PackedCandidate.h.
Enumerator specifying the.
Enumerator | |
---|---|
validHitInFirstPixelBarrelLayer | |
noLostInnerHits | |
oneLostInnerHit | |
moreLostInnerHits |
Definition at line 257 of file PackedCandidate.h.
This refers to the association to PV=ipv. >=PVLoose corresponds to JME definition, >=PVTight to isolation definition.
Enumerator | |
---|---|
NoPV | |
PVLoose | |
PVTight | |
PVUsedInFit |
Definition at line 202 of file PackedCandidate.h.
The following contains information about how the association to the PV, given in vertexRef, is obtained.
Enumerator | |
---|---|
NotReconstructedPrimary | |
OtherDeltaZ | |
CompatibilityBTag | |
CompatibilityDz | |
UsedInFitLoose | |
UsedInFitTight |
Definition at line 213 of file PackedCandidate.h.
|
protected |
Enumerator | |
---|---|
assignmentQualityMask | |
assignmentQualityShift | |
trackHighPurityMask | |
trackHighPurityShift | |
lostInnerHitsMask | |
lostInnerHitsShift | |
muonFlagsMask | |
muonFlagsShift |
Definition at line 401 of file PackedCandidate.h.
|
inline |
default constructor
Definition at line 30 of file PackedCandidate.h.
Referenced by clone().
|
inlineexplicit |
Definition at line 32 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 35 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 38 of file PackedCandidate.h.
References packBoth().
|
virtual |
|
inlinevirtual |
return a pointer to the track if present. otherwise, return a null pointer
Reimplemented from reco::Candidate.
Definition at line 242 of file PackedCandidate.h.
References packedHits_, track_, unpackedTrk_, and unpackTrk().
|
inlinevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 94 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 70 of file PackedCandidate.h.
References funct::abs(), and pdgId_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering(), pat::PATTrackAndVertexUnpacker::produce(), and threeCharge().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 299 of file PackedCandidate.h.
References PackedCandidate().
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 218 of file PackedCandidate.cc.
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 240 of file PackedCandidate.cc.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 232 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 226 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
dxy with respect to the PV ref
Definition at line 222 of file PackedCandidate.h.
References dxy_, and maybeUnpackBoth().
Referenced by PuppiProducer::produce().
|
virtual |
dxy with respect to another point
Definition at line 114 of file PackedCandidate.cc.
References funct::cos(), and funct::sin().
|
inlinevirtual |
uncertainty on dxy
Reimplemented from reco::Candidate.
Definition at line 235 of file PackedCandidate.h.
References dxydxy_, maybeUnpackBoth(), and mathSSE::sqrt().
|
inlinevirtual |
dz with respect to the PV[ipv]
Definition at line 224 of file PackedCandidate.h.
References dz_, maybeUnpackBoth(), position, edm::Ref< C, T, F >::product(), and pvRef_.
Referenced by reco::PFMETProducerMVA::chargedFracInCone(), reco::PFMETProducerMVA::computePFCandidateInfo(), fromPV(), and PuppiProducer::produce().
|
virtual |
dz with respect to another point
Definition at line 118 of file PackedCandidate.cc.
References funct::cos(), and funct::sin().
|
inlinevirtual |
dz with respect to the PV ref
Definition at line 226 of file PackedCandidate.h.
References dz_, and maybeUnpackBoth().
Referenced by fromPV().
|
inlinevirtual |
uncertainty on dz
Reimplemented from reco::Candidate.
Definition at line 233 of file PackedCandidate.h.
References dzdz_, maybeUnpackBoth(), and mathSSE::sqrt().
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 98 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 100 of file PackedCandidate.h.
|
inlinevirtual |
transverse energy squared (use this for cuts)!
Implements reco::Candidate.
Definition at line 102 of file PackedCandidate.h.
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 133 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), pat::PATPackedCandidateProducer::candsOrdering(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
virtual |
fill SMatrix
Implements reco::Candidate.
Definition at line 261 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
Definition at line 203 of file PackedCandidate.h.
References funct::abs(), CompatibilityBTag, dz(), dzAssociatedPV(), edm::Ref< C, T, F >::key(), NoPV, or, pdgId(), pvAssociationQuality(), PVLoose, pvRef_, PVTight, PVUsedInFit, UsedInFitLoose, and UsedInFitTight.
Referenced by PuppiProducer::produce(), and pat::PATTrackAndVertexUnpacker::produce().
|
virtual |
returns true if this candidate has a reference to a master clone. This only happens if the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 190 of file PackedCandidate.cc.
|
virtual |
returns true if this candidate has a ptr to a master clone. This only happens if the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 194 of file PackedCandidate.cc.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 341 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
Referenced by Muon.Muon::muonID().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 340 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlinevirtual |
|
virtual |
|
inline |
Definition at line 263 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 104 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
virtual |
|
inlinevirtual |
mass squared
Implements reco::Candidate.
Definition at line 106 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 184 of file PackedCandidate.cc.
References edm::hlt::Exception.
Referenced by masterRef().
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 199 of file PackedCandidate.cc.
References edm::hlt::Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 336 of file PackedCandidate.h.
References masterClone().
|
inlineprotected |
Definition at line 362 of file PackedCandidate.h.
References unpack(), unpacked_, unpackedVtx_, and unpackVtx().
Referenced by dxy(), dxyError(), dz(), dzAssociatedPV(), dzError(), phiAtVtx(), setP4(), setPz(), setVertex(), setVertexRef(), vertex(), vx(), vy(), and vz().
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 91 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
virtual |
return mother at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 222 of file PackedCandidate.cc.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 109 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 111 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
virtual |
|
inline |
Definition at line 188 of file PackedCandidate.h.
References numberOfPixelHits(), and packedHits_.
Referenced by pat::PATTrackAndVertexUnpacker::produce().
|
virtual |
|
inline |
Definition at line 187 of file PackedCandidate.h.
References packedHits_.
Referenced by numberOfHits().
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 62 of file PackedCandidate.h.
|
protectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 213 of file PackedCandidate.cc.
References reco::Candidate::charge(), reco::Candidate::p4(), p4, and reco::Candidate::vertex().
|
inlinevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 96 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 87 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), Jet.Jet::jetID(), and setP4().
|
protected |
Definition at line 10 of file PackedCandidate.cc.
References MiniFloatConverter::float32to16(), bookConverter::max, and timeUnitHelper::unpack().
Referenced by pyrootRender.interactiveRender::draw(), packBoth(), and setMass().
|
inlineprotected |
Definition at line 363 of file PackedCandidate.h.
References pack(), packVtx(), unpack(), and unpackVtx().
Referenced by PackedCandidate(), setP4(), setPz(), and setTrackProperties().
|
protected |
Definition at line 18 of file PackedCandidate.cc.
References EnergyCorrector::c, funct::cos(), f, MiniFloatConverter::float32to16(), bookConverter::max, logintpack::pack8log(), logintpack::pack8logCeil(), MetAnalyzer::pv(), alignCSCRings::s, and funct::sin().
Referenced by packBoth(), setVertex(), and setVertexRef().
|
inlinevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 278 of file PackedCandidate.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), fromPV(), and setPdgId().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 121 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__().
|
inlinevirtual |
momentum azimuthal angle from the track (normally identical to phi())
Definition at line 123 of file PackedCandidate.h.
References dphi_, M_PI, maybeUnpackBoth(), p4_, and run_regression::ret.
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 89 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inlinevirtual |
Return reference to a pseudo track made with candidate kinematics, parameterized error for eta,phi,pt and full IP covariance.
Definition at line 239 of file PackedCandidate.h.
References track_, unpackedTrk_, and unpackTrk().
Referenced by pat::PATTrackAndVertexUnpacker::produce().
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 119 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValue(), pat::PATPackedCandidateProducer::candsOrdering(), et(), et2(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), Lepton.Lepton::relEffAreaIso(), Lepton.Lepton::relIso(), and setTrackProperties().
float pat::PackedCandidate::puppiWeight | ( | ) | const |
Definition at line 274 of file PackedCandidate.cc.
References logintpack::unpack8logClosed().
|
inline |
Definition at line 214 of file PackedCandidate.h.
References assignmentQualityMask, assignmentQualityShift, and qualityFlags_.
Referenced by fromPV().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 113 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 115 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 117 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
Referenced by setPz().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 135 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inline |
Definition at line 215 of file PackedCandidate.h.
References assignmentQualityMask, assignmentQualityShift, and qualityFlags_.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 266 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 151 of file PackedCandidate.h.
References contentValuesFiles::m, p4_, pack(), unpack(), and unpacked_.
|
inlinevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 294 of file PackedCandidate.h.
|
inline |
Definition at line 272 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 139 of file PackedCandidate.h.
References maybeUnpackBoth(), p4_, and packBoth().
|
inlinevirtual |
set 4-momentum
Definition at line 145 of file PackedCandidate.h.
References maybeUnpackBoth(), p4(), p4_, and packBoth().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 280 of file PackedCandidate.h.
References pdgId(), and pdgId_.
void pat::PackedCandidate::setPuppiWeight | ( | float | p | ) |
Definition at line 272 of file PackedCandidate.cc.
References logintpack::pack8logClosed().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 156 of file PackedCandidate.h.
References maybeUnpackBoth(), p4_, p4c_, packBoth(), and pz().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
set to true if the track had the highPurity quality bit
Definition at line 254 of file PackedCandidate.h.
References qualityFlags_, trackHighPurityMask, and trackHighPurityShift.
|
inlinevirtual |
set impact parameters covariance
Definition at line 164 of file PackedCandidate.h.
References detadeta_, dlambdadz_, dphidphi_, dphidxy_, dptdpt_, dxydxy_, dxydz_, dzdz_, reco::TrackBase::hitPattern(), reco::TrackBase::normalizedChi2(), normalizedChi2_, reco::HitPattern::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), packBoth(), packedHits_, and pt().
Referenced by setTrackProperties().
|
inlinevirtual |
Definition at line 183 of file PackedCandidate.h.
References reco::TrackBase::covariance(), and setTrackProperties().
|
inlinevirtual |
set vertex
Definition at line 199 of file PackedCandidate.h.
References maybeUnpackBoth(), packVtx(), vertex(), and vertex_.
|
inline |
set reference to the primary vertex
Definition at line 218 of file PackedCandidate.h.
References maybeUnpackBoth(), packVtx(), pvRef_, and vertexRef().
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Definition at line 65 of file PackedCandidate.h.
|
inlinevirtual |
status word
Implements reco::Candidate.
Definition at line 282 of file PackedCandidate.h.
References qualityFlags_.
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 131 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Tau.Tau::zImpact().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 83 of file PackedCandidate.h.
References charge().
|
inline |
true if the track had the highPurity quality bit
Definition at line 252 of file PackedCandidate.h.
References qualityFlags_, trackHighPurityMask, and trackHighPurityShift.
|
protected |
Definition at line 63 of file PackedCandidate.cc.
References f, MiniFloatConverter::float16to32(), and bookConverter::max.
Referenced by boostToCM(), energy(), eta(), mass(), massSqr(), maybeUnpackBoth(), momentum(), mt(), mtSqr(), p(), p4(), packBoth(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), theta(), and y().
|
protected |
Definition at line 123 of file PackedCandidate.cc.
References reco::TrackBase::appendHitPattern(), reco::TrackBase::highPurity, AnalysisDataFormats_SUSYBSMObjects::hp, i, reco::TrackBase::loose, contentValuesFiles::m, TrackingRecHit::missing_inner, p3, EnergyCorrector::pt, reco::TrackBase::undefAlgorithm, and TrackingRecHit::valid.
Referenced by bestTrack(), and pseudoTrack().
|
protected |
Definition at line 71 of file PackedCandidate.cc.
References EnergyCorrector::c, funct::cos(), MiniFloatConverter::float16to32(), bookConverter::max, phi, MetAnalyzer::pv(), alignCSCRings::s, funct::sin(), and logintpack::unpack8log().
Referenced by maybeUnpackBoth(), and packBoth().
|
inlinevirtual |
vertex position
Implements reco::Candidate.
Definition at line 191 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by Tau.Tau::dxy(), and setVertex().
|
virtual |
|
virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 256 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 317 of file PackedCandidate.h.
References fillVertexCovariance(), and contentValuesFiles::m.
|
virtual |
Number of degrees of freedom Meant to be Double32_t for soft-assignment fitters: tracks may contribute to the vertex with fractional weights. The ndof is then = to the sum of the track weights. see e.g. CMS NOTE-2006/032, CMS NOTE-2004/002
Implements reco::Candidate.
Definition at line 248 of file PackedCandidate.cc.
|
virtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 252 of file PackedCandidate.cc.
|
inline |
Definition at line 219 of file PackedCandidate.h.
References pvRef_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering(), PuppiProducer::produce(), and setVertexRef().
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 193 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 195 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 197 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 137 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
friend |
Definition at line 397 of file PackedCandidate.h.
|
friend |
Definition at line 396 of file PackedCandidate.h.
|
friend |
Definition at line 398 of file PackedCandidate.h.
|
friend |
Definition at line 399 of file PackedCandidate.h.
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 372 of file PackedCandidate.h.
Referenced by phiAtVtx().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 372 of file PackedCandidate.h.
Referenced by dxy().
|
mutableprotected |
IP covariance.
Definition at line 387 of file PackedCandidate.h.
Referenced by dxyError(), and setTrackProperties().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 372 of file PackedCandidate.h.
Referenced by dz(), and dzAssociatedPV().
|
mutableprotected |
Definition at line 387 of file PackedCandidate.h.
Referenced by dzError(), and setTrackProperties().
|
static |
long lived flag
Definition at line 286 of file PackedCandidate.h.
|
static |
do mass constraint flag
Definition at line 292 of file PackedCandidate.h.
|
protected |
track quality information
Definition at line 390 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
|
mutableprotected |
Definition at line 369 of file PackedCandidate.h.
Referenced by boostToCM(), energy(), et(), et2(), momentum(), p(), p4(), px(), py(), pz(), and setPz().
|
protected |
Definition at line 357 of file PackedCandidate.h.
|
protected |
Definition at line 356 of file PackedCandidate.h.
|
protected |
Definition at line 357 of file PackedCandidate.h.
|
protected |
Definition at line 356 of file PackedCandidate.h.
|
protected |
Definition at line 357 of file PackedCandidate.h.
|
protected |
Definition at line 355 of file PackedCandidate.h.
|
protected |
Definition at line 355 of file PackedCandidate.h.
|
protected |
Definition at line 355 of file PackedCandidate.h.
|
protected |
Definition at line 354 of file PackedCandidate.h.
|
protected |
Definition at line 354 of file PackedCandidate.h.
|
protected |
Definition at line 354 of file PackedCandidate.h.
|
protected |
Definition at line 353 of file PackedCandidate.h.
|
protected |
Definition at line 388 of file PackedCandidate.h.
Referenced by bestTrack(), numberOfHits(), numberOfPixelHits(), and setTrackProperties().
|
protected |
Definition at line 353 of file PackedCandidate.h.
|
protected |
Definition at line 353 of file PackedCandidate.h.
|
protected |
Definition at line 353 of file PackedCandidate.h.
|
protected |
Definition at line 366 of file PackedCandidate.h.
|
protected |
PDG identifier.
Definition at line 376 of file PackedCandidate.h.
Referenced by charge(), pdgId(), and setPdgId().
|
protected |
Ref to primary vertex.
Definition at line 379 of file PackedCandidate.h.
Referenced by dz(), fromPV(), setVertexRef(), and vertexRef().
|
protected |
Definition at line 377 of file PackedCandidate.h.
Referenced by isGlobalMuon(), isStandAloneMuon(), lostInnerHits(), pvAssociationQuality(), setAssociationQuality(), setLostInnerHits(), setMuonID(), setTrackHighPurity(), status(), and trackHighPurity().
|
mutableprotected |
Definition at line 374 of file PackedCandidate.h.
Referenced by bestTrack(), and pseudoTrack().
|
mutableprotected |
Definition at line 381 of file PackedCandidate.h.
Referenced by boostToCM(), energy(), eta(), mass(), massSqr(), maybeUnpackBoth(), momentum(), mt(), mtSqr(), p(), p4(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), theta(), and y().
|
mutableprotected |
Definition at line 385 of file PackedCandidate.h.
Referenced by bestTrack(), and pseudoTrack().
|
mutableprotected |
Definition at line 383 of file PackedCandidate.h.
Referenced by maybeUnpackBoth().
|
mutableprotected |
vertex position
Definition at line 371 of file PackedCandidate.h.
Referenced by setVertex(), vertex(), vx(), vy(), and vz().