#include <PackedCandidate.h>
Public Member Functions | |
virtual const_iterator | begin () const |
first daughter const_iterator More... | |
virtual iterator | begin () |
first daughter iterator More... | |
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 () const |
dz with respect to the PV ref More... | |
virtual float | dz (const Point &p) const |
dz with respect to another point More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
virtual const_iterator | end () const |
last daughter const_iterator More... | |
virtual iterator | end () |
last daughter iterator More... | |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual float | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
const PVAssoc | fromPV () const |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
get a component More... | |
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 float | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual float | 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 float | 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 float | pt () const |
transverse momentum More... | |
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... | |
virtual void | setCharge (int charge) |
set electric charge More... | |
void | setFromPV (PVAssoc fromPV) |
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) |
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 | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
Candidate () | |
default constructor More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
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 { fromPVMask = 0x3, fromPVShift = 0, trackHighPurityMask = 0x4, trackHighPurityShift =2, lostInnerHitsMask = 0x18, lostInnerHitsShift =3, muonFlagsMask = 0x0300, muonFlagsShift =8 } |
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 |
Protected Attributes | |
float | detadeta_ |
float | dlambdadz_ |
float | dphi_ |
float | dphidphi_ |
float | dphidxy_ |
float | dptdpt_ |
float | dxy_ |
float | dxydxy_ |
IP covariance. More... | |
float | dxydz_ |
float | dz_ |
float | dzdz_ |
uint8_t | normalizedChi2_ |
track quality information More... | |
PolarLorentzVector | p4_ |
the four vector More... | |
LorentzVector | p4c_ |
int8_t | packedCovarianceDetaDeta_ |
int8_t | packedCovarianceDlambdaDz_ |
int8_t | packedCovarianceDphiDphi_ |
int8_t | packedCovarianceDphiDxy_ |
int8_t | packedCovarianceDptDpt_ |
uint16_t | packedCovarianceDxyDxy_ |
uint16_t | packedCovarianceDxyDz_ |
uint16_t | packedCovarianceDzDz_ |
uint16_t | packedDPhi_ |
uint16_t | packedDxy_ |
uint16_t | packedDz_ |
uint16_t | packedEta_ |
uint8_t | packedHits_ |
uint16_t | packedM_ |
uint16_t | packedPhi_ |
uint16_t | packedPt_ |
int | pdgId_ |
PDG identifier. More... | |
edm::Ref< reco::VertexCollection > | pvRef_ |
Ref to primary vertex. More... | |
uint16_t | qualityFlags_ |
reco::Track | track_ |
reco::Track More... | |
bool | unpacked_ |
bool | unpackedTrk_ |
bool | unpackedVtx_ |
Point | vertex_ |
vertex position More... | |
Private Types | |
typedef reco::candidate::const_iterator_imp_specific < daughters > | const_iterator_imp_specific |
typedef reco::candidate::iterator_imp_specific < daughters > | iterator_imp_specific |
Friends | |
class | ::OverlapChecker |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
Definition at line 15 of file PackedCandidate.h.
|
private |
Definition at line 443 of file PackedCandidate.h.
collection of daughter candidates
Definition at line 18 of file PackedCandidate.h.
typedef unsigned int pat::PackedCandidate::index |
Definition at line 28 of file PackedCandidate.h.
|
private |
Definition at line 445 of file PackedCandidate.h.
Lorentz vector.
Definition at line 20 of file PackedCandidate.h.
point in the space
Definition at line 24 of file PackedCandidate.h.
Lorentz vector.
Definition at line 22 of file PackedCandidate.h.
point in the space
Definition at line 26 of file PackedCandidate.h.
Enumerator specifying the.
Enumerator | |
---|---|
validHitInFirstPixelBarrelLayer | |
noLostInnerHits | |
oneLostInnerHit | |
moreLostInnerHits |
Definition at line 250 of file PackedCandidate.h.
Enumerator | |
---|---|
NoPV | |
PVLoose | |
PVTight | |
PVUsedInFit |
Definition at line 208 of file PackedCandidate.h.
|
protected |
Enumerator | |
---|---|
fromPVMask | |
fromPVShift | |
trackHighPurityMask | |
trackHighPurityShift | |
lostInnerHitsMask | |
lostInnerHitsShift | |
muonFlagsMask | |
muonFlagsShift |
Definition at line 435 of file PackedCandidate.h.
|
inline |
default constructor
Definition at line 31 of file PackedCandidate.h.
Referenced by clone().
|
inlineexplicit |
Definition at line 33 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 36 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 39 of file PackedCandidate.h.
References packBoth().
|
virtual |
|
virtual |
first daughter const_iterator
Implements reco::Candidate.
Definition at line 184 of file PackedCandidate.cc.
|
virtual |
first daughter iterator
Implements reco::Candidate.
Definition at line 192 of file PackedCandidate.cc.
|
inlinevirtual |
return a pointer to the track if present. otherwise, return a null pointer
Reimplemented from reco::Candidate.
Definition at line 235 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 103 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 79 of file PackedCandidate.h.
References funct::abs(), and pdgId_.
Referenced by pat::PATTrackAndVertexUnpacker::produce(), and threeCharge().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 292 of file PackedCandidate.h.
References PackedCandidate().
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 234 of file PackedCandidate.cc.
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 256 of file PackedCandidate.cc.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 248 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 242 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
dxy with respect to the PV ref
Definition at line 217 of file PackedCandidate.h.
References dxy_, and maybeUnpackBoth().
Referenced by HTauTauElectron.HTauTauElectron::__str__(), and PuppiProducer::produce().
|
virtual |
dxy with respect to another point
Definition at line 114 of file PackedCandidate.cc.
References funct::cos(), and funct::sin().
Referenced by HTauTauElectron.HTauTauElectron::__str__().
|
inlinevirtual |
uncertainty on dxy
Definition at line 228 of file PackedCandidate.h.
References dxydxy_, maybeUnpackBoth(), and mathSSE::sqrt().
|
inlinevirtual |
dz with respect to the PV ref
Definition at line 219 of file PackedCandidate.h.
References dz_, and maybeUnpackBoth().
Referenced by HTauTauElectron.HTauTauElectron::__str__(), HTauTauElectron.HTauTauElectron::looseIdForEleTau(), and PuppiProducer::produce().
|
virtual |
dz with respect to another point
Definition at line 118 of file PackedCandidate.cc.
References funct::cos(), and funct::sin().
Referenced by HTauTauElectron.HTauTauElectron::__str__(), and HTauTauElectron.HTauTauElectron::looseIdForEleTau().
|
inlinevirtual |
uncertainty on dz
Definition at line 226 of file PackedCandidate.h.
References dzdz_, maybeUnpackBoth(), and mathSSE::sqrt().
|
virtual |
last daughter const_iterator
Implements reco::Candidate.
Definition at line 188 of file PackedCandidate.cc.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
virtual |
last daughter iterator
Implements reco::Candidate.
Definition at line 196 of file PackedCandidate.cc.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 107 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 109 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 140 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
virtual |
fill SMatrix
Implements reco::Candidate.
Definition at line 277 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
Definition at line 209 of file PackedCandidate.h.
References fromPVMask, fromPVShift, and qualityFlags_.
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 206 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 210 of file PackedCandidate.cc.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 380 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
Referenced by Muon.Muon::muonID().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 379 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlinevirtual |
|
virtual |
|
inline |
Definition at line 256 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 111 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 113 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 200 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 215 of file PackedCandidate.cc.
References edm::hlt::Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 329 of file PackedCandidate.h.
References masterClone().
|
inlineprotected |
Definition at line 397 of file PackedCandidate.h.
References unpack(), unpacked_, unpackedVtx_, and unpackVtx().
Referenced by dxy(), dxyError(), dz(), dzError(), phiAtVtx(), setP4(), setPz(), setVertex(), setVertexRef(), vertex(), vx(), vy(), and vz().
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 100 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 238 of file PackedCandidate.cc.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 116 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 118 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
virtual |
|
inline |
Definition at line 195 of file PackedCandidate.h.
References numberOfPixelHits(), and packedHits_.
Referenced by pat::PATTrackAndVertexUnpacker::produce().
|
virtual |
|
inline |
Definition at line 194 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 71 of file PackedCandidate.h.
|
protectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 229 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 105 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 96 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
Referenced by Tau.Tau::dxy(), 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 398 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 271 of file PackedCandidate.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), and setPdgId().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 128 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 130 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 98 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 232 of file PackedCandidate.h.
References track_, unpackedTrk_, and unpackTrk().
Referenced by pat::PATTrackAndVertexUnpacker::produce().
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 126 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), HTauTauElectron.HTauTauElectron::looseIdForTriLeptonVeto(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), Lepton.Lepton::relEffAreaIso(), Lepton.Lepton::relIso(), and setTrackProperties().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 120 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 122 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 124 of file PackedCandidate.h.
References p4c_, unpack(), and unpacked_.
Referenced by setPz().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 142 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
|
inlinevirtual |
|
inline |
Definition at line 210 of file PackedCandidate.h.
References fromPVMask, fromPVShift, and qualityFlags_.
|
inlinevirtual |
|
inline |
Definition at line 259 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 158 of file PackedCandidate.h.
References m, p4_, pack(), unpack(), and unpacked_.
|
inlinevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 287 of file PackedCandidate.h.
|
inline |
Definition at line 265 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 146 of file PackedCandidate.h.
References maybeUnpackBoth(), p4_, and packBoth().
|
inlinevirtual |
set 4-momentum
Definition at line 152 of file PackedCandidate.h.
References maybeUnpackBoth(), p4(), p4_, and packBoth().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 273 of file PackedCandidate.h.
References pdgId(), and pdgId_.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 163 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 247 of file PackedCandidate.h.
References qualityFlags_, trackHighPurityMask, and trackHighPurityShift.
|
inlinevirtual |
set impact parameters covariance
Definition at line 171 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 190 of file PackedCandidate.h.
References reco::TrackBase::covariance(), and setTrackProperties().
|
inlinevirtual |
set vertex
Definition at line 206 of file PackedCandidate.h.
References maybeUnpackBoth(), packVtx(), vertex(), and vertex_.
|
inline |
set reference to the primary vertex
Definition at line 213 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 74 of file PackedCandidate.h.
|
inlinevirtual |
status word
Implements reco::Candidate.
Definition at line 275 of file PackedCandidate.h.
References qualityFlags_.
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 138 of file PackedCandidate.h.
References p4_, unpack(), and unpacked_.
Referenced by Tau.Tau::zImpact().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 92 of file PackedCandidate.h.
References charge().
|
inline |
true if the track had the highPurity quality bit
Definition at line 245 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(), et(), 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, 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 198 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by Tau.Tau::dxy(), Tau.Tau::dz(), and setVertex().
|
virtual |
|
virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 272 of file PackedCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 310 of file PackedCandidate.h.
References fillVertexCovariance(), and 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 264 of file PackedCandidate.cc.
|
virtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 268 of file PackedCandidate.cc.
|
inline |
Definition at line 214 of file PackedCandidate.h.
References pvRef_.
Referenced by PuppiProducer::produce(), and setVertexRef().
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 200 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 202 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 204 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 144 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 431 of file PackedCandidate.h.
|
friend |
Definition at line 430 of file PackedCandidate.h.
|
friend |
Definition at line 432 of file PackedCandidate.h.
|
friend |
Definition at line 433 of file PackedCandidate.h.
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 406 of file PackedCandidate.h.
Referenced by phiAtVtx().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 406 of file PackedCandidate.h.
Referenced by dxy().
|
mutableprotected |
IP covariance.
Definition at line 421 of file PackedCandidate.h.
Referenced by dxyError(), and setTrackProperties().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
Definition at line 406 of file PackedCandidate.h.
Referenced by dz().
|
mutableprotected |
Definition at line 421 of file PackedCandidate.h.
Referenced by dzError(), and setTrackProperties().
|
static |
long lived flag
Definition at line 279 of file PackedCandidate.h.
|
static |
do mass constraint flag
Definition at line 285 of file PackedCandidate.h.
|
protected |
track quality information
Definition at line 424 of file PackedCandidate.h.
Referenced by setTrackProperties().
|
mutableprotected |
|
mutableprotected |
Definition at line 403 of file PackedCandidate.h.
Referenced by boostToCM(), energy(), momentum(), p(), p4(), px(), py(), pz(), and setPz().
|
protected |
Definition at line 392 of file PackedCandidate.h.
|
protected |
Definition at line 391 of file PackedCandidate.h.
|
protected |
Definition at line 392 of file PackedCandidate.h.
|
protected |
Definition at line 391 of file PackedCandidate.h.
|
protected |
Definition at line 392 of file PackedCandidate.h.
|
protected |
Definition at line 390 of file PackedCandidate.h.
|
protected |
Definition at line 390 of file PackedCandidate.h.
|
protected |
Definition at line 390 of file PackedCandidate.h.
|
protected |
Definition at line 389 of file PackedCandidate.h.
|
protected |
Definition at line 389 of file PackedCandidate.h.
|
protected |
Definition at line 389 of file PackedCandidate.h.
|
protected |
Definition at line 388 of file PackedCandidate.h.
|
protected |
Definition at line 422 of file PackedCandidate.h.
Referenced by bestTrack(), numberOfHits(), numberOfPixelHits(), and setTrackProperties().
|
protected |
Definition at line 388 of file PackedCandidate.h.
|
protected |
Definition at line 388 of file PackedCandidate.h.
|
protected |
Definition at line 388 of file PackedCandidate.h.
|
protected |
PDG identifier.
Definition at line 410 of file PackedCandidate.h.
Referenced by charge(), pdgId(), and setPdgId().
|
protected |
Ref to primary vertex.
Definition at line 413 of file PackedCandidate.h.
Referenced by setVertexRef(), and vertexRef().
|
protected |
Definition at line 411 of file PackedCandidate.h.
Referenced by fromPV(), isGlobalMuon(), isStandAloneMuon(), lostInnerHits(), setFromPV(), setLostInnerHits(), setMuonID(), setTrackHighPurity(), status(), and trackHighPurity().
|
mutableprotected |
Definition at line 408 of file PackedCandidate.h.
Referenced by bestTrack(), and pseudoTrack().
|
mutableprotected |
Definition at line 415 of file PackedCandidate.h.
Referenced by boostToCM(), energy(), et(), eta(), mass(), massSqr(), maybeUnpackBoth(), momentum(), mt(), mtSqr(), p(), p4(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), theta(), and y().
|
mutableprotected |
Definition at line 419 of file PackedCandidate.h.
Referenced by bestTrack(), and pseudoTrack().
|
mutableprotected |
Definition at line 417 of file PackedCandidate.h.
Referenced by maybeUnpackBoth().
|
mutableprotected |
vertex position
Definition at line 405 of file PackedCandidate.h.
Referenced by setVertex(), vertex(), vx(), vy(), and vz().