#include <PackedCandidate.h>
Classes | |
struct | PackedCovariance |
than at PV) flag for charged hadrons More... | |
Public Member Functions | |
const reco::Track * | bestTrack () const override |
return a pointer to the track if present. otherwise, return a null pointer More... | |
Vector | boostToCM () const override |
float | caloFraction () const |
Set the fraction of ECAL+HCAL energy over candidate energy. More... | |
int | charge () const override |
electric charge More... | |
PackedCandidate * | clone () const override |
returns a clone of the Candidate object More... | |
int | covarianceSchema () const |
int | covarianceVersion () const |
const reco::Candidate * | daughter (size_type) const override |
return daughter at a given position (throws an exception) More... | |
reco::Candidate * | daughter (size_type) override |
return daughter at a given position (throws an exception) More... | |
reco::Candidate * | daughter (const std::string &s) override |
return daughter with a specified role name More... | |
const reco::Candidate * | daughter (const std::string &s) const override |
return daughter with a specified role name More... | |
virtual float | dtime (size_t ipv=0) const |
dtime with respect to the PV[ipv] More... | |
virtual float | dtimeAssociatedPV () const |
dtime with respect to the PV ref 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... | |
float | dxyError () const override |
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... | |
float | dzError () const override |
uncertainty on dz More... | |
double | energy () const override |
energy More... | |
double | et () const override |
transverse energy More... | |
double | et2 () const override |
transverse energy squared (use this for cuts)! More... | |
double | eta () const override |
momentum pseudorapidity More... | |
virtual float | etaAtVtx () const |
eta from the track (normally identical to eta()) More... | |
void | fillVertexCovariance (CovarianceMatrix &v) const override |
fill SMatrix More... | |
uint16_t | firstHit () const |
Return first hit from HitPattern for tracks with high level details. More... | |
const PVAssoc | fromPV (size_t ipv=0) const |
bool | fromTrackCandidate () const |
bool | hasMasterClone () const override |
bool | hasMasterClonePtr () const override |
bool | hasTrackDetails () const |
Return true if a bestTrack can be extracted from this Candidate. More... | |
float | hcalFraction () const |
bool | isCaloMuon () const override |
bool | isConvertedPhoton () const override |
bool | isElectron () const override |
bool | isGlobalMuon () const override |
bool | isGoodEgamma () const |
bool | isIsolatedChargedHadron () const |
bool | isJet () const override |
bool | isMuon () const override |
bool | isPhoton () const override |
bool | isStandAloneMuon () const override |
bool | isTrackerMuon () const override |
bool | longLived () const override |
is long lived? More... | |
LostInnerHits | lostInnerHits () const |
double | mass () const override |
mass More... | |
bool | massConstraint () const override |
do mass constraint? More... | |
double | massSqr () const override |
mass squared More... | |
const reco::CandidateBaseRef & | masterClone () const override |
const reco::CandidatePtr & | masterClonePtr () const override |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
Vector | momentum () const override |
spatial momentum vector More... | |
const reco::Candidate * | mother (size_type) const override |
return mother at a given position (throws an exception) More... | |
double | mt () const override |
transverse mass More... | |
double | mtSqr () const override |
transverse mass squared More... | |
size_t | numberOfDaughters () const override |
number of daughters More... | |
int | numberOfHits () const |
size_t | numberOfMothers () const override |
number of mothers More... | |
int | numberOfPixelHits () const |
size_t | numberOfSourceCandidatePtrs () const override |
PackedCandidate & | operator= (const PackedCandidate &iOther) |
PackedCandidate & | operator= (PackedCandidate &&iOther) |
double | p () const override |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const override |
four-momentum Lorentz vecto r More... | |
PackedCandidate () | |
default constructor More... | |
PackedCandidate (const reco::Candidate &c, const reco::VertexRefProd &pvRefProd, reco::VertexRef::key_type pvRefKey) | |
PackedCandidate (const PolarLorentzVector &p4, const Point &vtx, float trkPt, float etaAtVtx, float phiAtVtx, int pdgId, const reco::VertexRefProd &pvRefProd, reco::VertexRef::key_type pvRefKey) | |
PackedCandidate (const LorentzVector &p4, const Point &vtx, float trkPt, float etaAtVtx, float phiAtVtx, int pdgId, const reco::VertexRefProd &pvRefProd, reco::VertexRef::key_type pvRefKey) | |
PackedCandidate (const PackedCandidate &iOther) | |
PackedCandidate (PackedCandidate &&iOther) | |
int | pdgId () const override |
PDG identifier. More... | |
double | phi () const override |
momentum azimuthal angle More... | |
virtual float | phiAtVtx () const |
momentum azimuthal angle from the track (normally identical to phi()) More... | |
int | pixelLayersWithMeasurement () const |
const PolarLorentzVector & | polarP4 () const override |
four-momentum Lorentz vector More... | |
virtual const reco::Track & | pseudoTrack () const |
double | pt () const override |
transverse momentum More... | |
virtual double | ptTrk () const |
pt from the track (normally identical to pt()) More... | |
float | puppiWeight () const |
float | puppiWeightNoLep () const |
Weight from full PUPPI. More... | |
const PVAssociationQuality | pvAssociationQuality () const |
double | px () const override |
x coordinate of momentum vector More... | |
double | py () const override |
y coordinate of momentum vector More... | |
double | pz () const override |
z coordinate of momentum vector More... | |
double | rapidity () const override |
rapidity More... | |
float | rawCaloFraction () const |
float | rawHcalFraction () const |
Set the fraction of Hcal needed isolated charged hadrons. More... | |
void | setAssociationQuality (PVAssociationQuality q) |
void | setCaloFraction (float p) |
Fraction of Hcal for isolated charged hadrons. More... | |
void | setCharge (int charge) override |
set electric charge More... | |
virtual void | setCovarianceVersion (int v) |
void | setDTimeAssociatedPV (float aTime, float aTimeError=0) |
set time measurement More... | |
void | setFirstHit (uint16_t pattern) |
Set first hit from HitPattern. More... | |
void | setGoodEgamma (bool isGoodEgamma=true) |
void | setHcalFraction (float p) |
Fraction of ECAL+HCAL energy over candidate energy. More... | |
virtual void | setHits (const reco::Track &tk) |
void | setIsIsolatedChargedHadron (bool p) |
Fraction of Hcal for HF, neutral hadrons, and charged particles. More... | |
void | setLongLived () override |
set long lived flag More... | |
void | setLostInnerHits (LostInnerHits hits) |
void | setMass (double m) override |
set particle mass More... | |
void | setMassConstraint () override |
set mass constraint flag More... | |
void | setMuonID (bool isStandAlone, bool isGlobal) |
void | setP4 (const LorentzVector &p4) override |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) override |
set 4-momentum More... | |
void | setPdgId (int pdgId) override |
void | setPuppiWeight (float p, float p_nolep=0.0) |
void | setPz (double pz) override |
void | setRawCaloFraction (float p) |
Weight from PUPPI removing leptons. More... | |
void | setRawHcalFraction (float p) |
Raw ECAL+HCAL energy over candidate energy for isolated charged hadrons. More... | |
void | setStatus (int status) override |
set status word More... | |
void | setThreeCharge (int threecharge) override |
set electric charge More... | |
void | setTime (float aTime, float aTimeError=0) |
set time measurement 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, int quality, int covarianceVersion) |
virtual void | setTrackProperties (const reco::Track &tk, int quality, int covarianceVersion) |
void | setTrackPropertiesLite (unsigned int covSchema, unsigned int covarianceVersion, unsigned int nHits, unsigned int nPixelHits) |
void | setVertex (const Point &vertex) override |
set vertex More... | |
reco::CandidatePtr | sourceCandidatePtr (size_type i) const override |
int | status () const override |
status word More... | |
int | stripLayersWithMeasurement () const |
double | theta () const override |
momentum polar angle More... | |
int | threeCharge () const override |
electric charge More... | |
virtual float | time () const |
time (wrt nominal zero of the collision) More... | |
virtual float | timeError () const |
time measurement uncertainty (-1 if not available) More... | |
int | trackerLayersWithMeasurement () const |
bool | trackHighPurity () const |
true if the track had the highPurity quality bit More... | |
const Point & | vertex () const override |
vertex position More... | |
double | vertexChi2 () const override |
chi-squares More... | |
double | vertexCovariance (int i, int j) const override |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const override |
return SMatrix More... | |
double | vertexNdof () const override |
double | vertexNormalizedChi2 () const override |
chi-squared divided by n.d.o.f. More... | |
const reco::VertexRef | vertexRef () const |
double | vx () const override |
x coordinate of vertex position More... | |
double | vy () const override |
y coordinate of vertex position More... | |
double | vz () const override |
z coordinate of vertex position More... | |
double | y () const override |
rapidity More... | |
~PackedCandidate () override | |
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 | ~Candidate () |
destructor More... | |
Public Attributes | |
uint16_t | firstHit_ |
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, egammaFlagsMask = 0x0800, egammaFlagsShift = 11 } |
Protected Member Functions | |
const CovarianceParameterization & | covarianceParameterization () const |
void | maybeUnpackBoth () const |
void | maybeUnpackCovariance () const |
void | maybeUnpackTrack () const |
bool | overlap (const reco::Candidate &) const override |
check overlap with another Candidate More... | |
void | pack (bool unpackAfterwards=true) |
void | packBoth () |
void | packCovariance (const reco::TrackBase::CovarianceMatrix &m, bool unpackAfterwards=true) |
void | packVtx (bool unpackAfterwards=true) |
void | unpack () const |
void | unpackCovariance () const |
void | unpackTrk () const |
void | unpackVtx () const |
Static Protected Member Functions | |
static uint8_t | packTimeError (float timeError) |
static to allow unit testing More... | |
static int16_t | packTimeNoError (float time) |
static int16_t | packTimeWithError (float time, float timeError) |
static float | unpackTimeError (uint8_t timeError) |
static float | unpackTimeNoError (int16_t time) |
static float | unpackTimeWithError (int16_t time, uint8_t timeError) |
Static Protected Attributes | |
static std::once_flag | covariance_load_flag |
static CovarianceParameterization | covarianceParameterization_ |
static constexpr int | EXPO_TIME_NOERROR = 6 |
static constexpr int | EXPO_TIME_WITHERROR = -6 |
static constexpr int | EXPO_TIMEERROR = 5 |
static constexpr float | kMinDEtaToStore_ = 0.001 |
static constexpr float | kMinDTrkPtToStore_ = 0.001 |
static constexpr float | MIN_TIME_NOERROR = 0.0002f |
static constexpr float | MIN_TIMEERROR = 0.002f |
Private Member Functions | |
uint16_t | packCovarianceElement (const reco::TrackBase::CovarianceMatrix &m, int i, int j) const |
void | unpackCovarianceElement (reco::TrackBase::CovarianceMatrix &m, uint16_t packed, int i, int j) const |
Friends | |
class | ::OverlapChecker |
class | ::testPackedCandidate |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
Definition at line 22 of file PackedCandidate.h.
collection of daughter candidates
Definition at line 25 of file PackedCandidate.h.
typedef unsigned int pat::PackedCandidate::index |
Definition at line 35 of file PackedCandidate.h.
Lorentz vector.
Definition at line 27 of file PackedCandidate.h.
point in the space
Definition at line 31 of file PackedCandidate.h.
Lorentz vector.
Definition at line 29 of file PackedCandidate.h.
point in the space
Definition at line 33 of file PackedCandidate.h.
Enumerator specifying the.
Enumerator | |
---|---|
validHitInFirstPixelBarrelLayer | |
noLostInnerHits | |
oneLostInnerHit | |
moreLostInnerHits |
Definition at line 813 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 714 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 732 of file PackedCandidate.h.
|
protected |
Enumerator | |
---|---|
assignmentQualityMask | |
assignmentQualityShift | |
trackHighPurityMask | |
trackHighPurityShift | |
lostInnerHitsMask | |
lostInnerHitsShift | |
muonFlagsMask | |
muonFlagsShift | |
egammaFlagsMask | |
egammaFlagsShift |
Definition at line 1115 of file PackedCandidate.h.
set impact parameters covariance
Enumerator | |
---|---|
trackPixelHitsMask | |
trackStripHitsMask | |
trackStripHitsShift |
Definition at line 620 of file PackedCandidate.h.
|
inline |
default constructor
Definition at line 37 of file PackedCandidate.h.
Referenced by clone().
|
inlineexplicit |
Definition at line 75 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 108 of file PackedCandidate.h.
References packBoth().
|
inlineexplicit |
Definition at line 146 of file PackedCandidate.h.
References packBoth().
|
inline |
Definition at line 184 of file PackedCandidate.h.
|
inline |
Definition at line 226 of file PackedCandidate.h.
|
override |
destructor
Definition at line 143 of file PackedCandidate.cc.
|
inlineoverridevirtual |
return a pointer to the track if present. otherwise, return a null pointer
Reimplemented from reco::Candidate.
Definition at line 792 of file PackedCandidate.h.
References maybeUnpackTrack(), packedHits_, packedLayers_, and track_.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), reco::tau::getTrackFromChargedHadron(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::getTrackPtError(), btagbtvdeep::packedCandidateToFeatures(), pat::PATTauProducer::produce(), and Muon.Muon::ptErr().
|
inlineoverridevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 457 of file PackedCandidate.h.
References p4c_, and unpack().
|
inline |
Set the fraction of ECAL+HCAL energy over candidate energy.
Definition at line 943 of file PackedCandidate.h.
References caloFraction_.
Referenced by reco::tau::eratio(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), and pat::PATTauProducer::produce().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 415 of file PackedCandidate.h.
References funct::abs(), and pdgId_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::filterTrack(), DPFIsolation::getPredictions(), pat::PATTrackAndVertexUnpacker::produce(), pat::PATIsolatedTrackProducer::produce(), and threeCharge().
|
inlineoverridevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 868 of file PackedCandidate.h.
References PackedCandidate().
|
inlineprotected |
Definition at line 1091 of file PackedCandidate.h.
References covarianceParameterization_, covarianceVersion_, Exception, hasTrackDetails(), edm::errors::InvalidReference, edm::errors::UnimplementedFeature, and findQualityFiles::v.
Referenced by packCovarianceElement(), and unpackCovarianceElement().
|
inline |
Definition at line 683 of file PackedCandidate.h.
References covarianceSchema_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering().
|
inline |
Definition at line 682 of file PackedCandidate.h.
References covarianceVersion_.
Referenced by setTrackProperties(), and setTrackPropertiesLite().
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 332 of file PackedCandidate.cc.
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 348 of file PackedCandidate.cc.
|
overridevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 342 of file PackedCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
overridevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 336 of file PackedCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
dtime with respect to the PV[ipv]
Definition at line 979 of file PackedCandidate.h.
References dtimeAssociatedPV(), and pvRefKey_.
|
inlinevirtual |
dtime with respect to the PV ref
Definition at line 983 of file PackedCandidate.h.
References packedTime_, packedTimeError_, unpackTimeNoError(), and unpackTimeWithError().
Referenced by dtime(), and time().
|
inlinevirtual |
dxy with respect to the PV ref
Definition at line 751 of file PackedCandidate.h.
References dxy_, and maybeUnpackBoth().
Referenced by PileupJetIdAlgo::computeIdVariables(), Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dxyPull(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), reco::tau::RecoTauQualityCuts::filterChargedCand(), DPFIsolation::getPredictions(), btagbtvdeep::packedCandidateToFeatures(), PuppiProducer::produce(), and pat::PATIsolatedTrackProducer::produce().
|
virtual |
dxy with respect to another point
Definition at line 151 of file PackedCandidate.cc.
References funct::cos(), phi, and funct::sin().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
inlineoverridevirtual |
uncertainty on dxy
Reimplemented from reco::Candidate.
Definition at line 778 of file PackedCandidate.h.
References m_, maybeUnpackCovariance(), and mathSSE::sqrt().
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), DPFIsolation::getPredictions(), btagbtvdeep::packedCandidateToFeatures(), and pat::PATIsolatedTrackProducer::produce().
|
inlinevirtual |
dz with respect to the PV[ipv]
Definition at line 757 of file PackedCandidate.h.
References dz_, maybeUnpackBoth(), and pvRefKey_.
Referenced by reco::PFMETProducerMVA::chargedFracInCone(), PileupJetIdAlgo::computeIdVariables(), reco::PFMETProducerMVA::computePFCandidateInfo(), Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dzPull(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), reco::tau::RecoTauQualityCuts::filterChargedCand(), fromPV(), DPFIsolation::getPredictions(), btagbtvdeep::packedCandidateToFeatures(), PuppiProducer::produce(), and pat::PATIsolatedTrackProducer::produce().
|
virtual |
dz with respect to another point
Definition at line 156 of file PackedCandidate.cc.
References funct::cos(), phi, and funct::sin().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
inlinevirtual |
dz with respect to the PV ref
Definition at line 762 of file PackedCandidate.h.
References dz_, and maybeUnpackBoth().
Referenced by fromPV().
|
inlineoverridevirtual |
uncertainty on dz
Reimplemented from reco::Candidate.
Definition at line 773 of file PackedCandidate.h.
References m_, maybeUnpackCovariance(), and mathSSE::sqrt().
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), DPFIsolation::getPredictions(), btagbtvdeep::packedCandidateToFeatures(), and pat::PATIsolatedTrackProducer::produce().
|
inlineoverridevirtual |
energy
Implements reco::Candidate.
Definition at line 469 of file PackedCandidate.h.
References p4c_, and unpack().
Referenced by BetaStarVarProducer< T >::calculateCHSEnergies(), reco::tau::eratio(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), pat::PATTauProducer::produce(), and Jet.Jet::rawEnergy().
|
inlineoverridevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 475 of file PackedCandidate.h.
Referenced by EvtPlaneProducer::produce().
|
inlineoverridevirtual |
transverse energy squared (use this for cuts)!
Implements reco::Candidate.
Definition at line 477 of file PackedCandidate.h.
|
inlineoverridevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 563 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), DQMPFCandidateAnalyzer::analyze(), pat::PATPackedCandidateProducer::candsOrdering(), MuonFSRProducer::computeRelativeIsolation(), LeptonFSRProducer::computeRelativeIsolation(), DPFIsolation::getPredictions(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::getTrackPtError(), Jet.Jet::jetID(), reco::tau::qcuts::minPackedCandVertexWeight(), packCovarianceElement(), PuppiProducer::produce(), pat::PATTauProducer::produce(), EvtPlaneProducer::produce(), Jet.Jet::puJetId(), and unpackCovarianceElement().
|
inlinevirtual |
eta from the track (normally identical to eta())
Definition at line 551 of file PackedCandidate.h.
References deta_, maybeUnpackBoth(), and p4_.
|
overridevirtual |
fill SMatrix
Implements reco::Candidate.
Definition at line 362 of file PackedCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
Return first hit from HitPattern for tracks with high level details.
Definition at line 834 of file PackedCandidate.h.
References firstHit_.
|
inline |
Definition at line 715 of file PackedCandidate.h.
References funct::abs(), CompatibilityBTag, dz(), dzAssociatedPV(), edm::Ref< C, T, F >::key(), NoPV, or, pdgId(), pvAssociationQuality(), PVLoose, PVTight, PVUsedInFit, UsedInFitLoose, UsedInFitTight, and vertexRef().
Referenced by PileupJetIdAlgo::computeIdVariables(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), DPFIsolation::getPredictions(), pat::PATTrackAndVertexUnpacker::produce(), PuppiProducer::produce(), pat::PATIsolatedTrackProducer::produce(), and BoostedDoubleSVProducer::setTracksPV().
|
inline |
Return true if the original candidate had a track associated even if the PackedCandidate has no track
Definition at line 803 of file PackedCandidate.h.
References packedDxy_, and packedDz_.
|
overridevirtual |
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 314 of file PackedCandidate.cc.
|
overridevirtual |
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 316 of file PackedCandidate.cc.
|
inline |
Return true if a bestTrack can be extracted from this Candidate.
Definition at line 800 of file PackedCandidate.h.
References packedHits_, and packedLayers_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering(), PrimaryVertexAssignment::chargedHadronVertex(), covarianceParameterization(), DPFIsolation::getPredictions(), reco::tau::lead_track_chi2(), btagbtvdeep::packedCandidateToFeatures(), pat::PATTrackAndVertexUnpacker::produce(), pat::PATIsolatedTrackProducer::produce(), and EvtPlaneProducer::produce().
|
inline |
Set the fraction of Hcal needed for HF, neutral hadrons, and charged particles
Definition at line 948 of file PackedCandidate.h.
Referenced by reco::tau::eratio(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), btagbtvdeep::packedCandidateToFeatures(), and pat::PATTauProducer::produce().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 917 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
Referenced by Muon.Muon::muonID().
|
inline |
Definition at line 923 of file PackedCandidate.h.
References egammaFlagsMask, and qualityFlags_.
Referenced by setGoodEgamma().
|
inline |
Set isolation (as in particle flow, i.e. at calorimeter surface rather than at PV) flat for charged hadrons
Definition at line 955 of file PackedCandidate.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 916 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlineoverridevirtual |
|
overridevirtual |
|
inline |
Definition at line 820 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), and DPFIsolation::getPredictions().
|
inlineoverridevirtual |
mass
Implements reco::Candidate.
Definition at line 479 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
overridevirtual |
|
inlineoverridevirtual |
mass squared
Implements reco::Candidate.
Definition at line 485 of file PackedCandidate.h.
References visualization-live-secondInstance_cfg::m, p4_, p4c_, and unpack().
|
overridevirtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 309 of file PackedCandidate.cc.
References Exception.
Referenced by masterRef().
|
overridevirtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 318 of file PackedCandidate.cc.
References Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 910 of file PackedCandidate.h.
References masterClone().
|
inlineprotected |
Definition at line 1023 of file PackedCandidate.h.
References p4c_, unpack(), unpackVtx(), and vertex_.
Referenced by dxy(), dz(), dzAssociatedPV(), etaAtVtx(), phiAtVtx(), ptTrk(), setP4(), setPz(), setTrackProperties(), setVertex(), vertex(), vx(), vy(), and vz().
|
inlineprotected |
Definition at line 1033 of file PackedCandidate.h.
References m_, and unpackCovariance().
Referenced by dxyError(), and dzError().
|
inlineprotected |
Definition at line 1029 of file PackedCandidate.h.
References track_, and unpackTrk().
Referenced by bestTrack().
|
inlineoverridevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 450 of file PackedCandidate.h.
References p4c_, and unpack().
|
overridevirtual |
return mother at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 334 of file PackedCandidate.cc.
|
inlineoverridevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 493 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 499 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
|
overridevirtual |
|
inline |
Definition at line 675 of file PackedCandidate.h.
References numberOfPixelHits(), packedHits_, stripLayersWithMeasurement(), and trackStripHitsShift.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), DPFIsolation::getPredictions(), packCovarianceElement(), pat::PATTrackAndVertexUnpacker::produce(), and unpackCovarianceElement().
|
overridevirtual |
|
inline |
Definition at line 674 of file PackedCandidate.h.
References packedHits_, pixelLayersWithMeasurement(), and trackPixelHitsMask.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), DPFIsolation::getPredictions(), numberOfHits(), packCovarianceElement(), and unpackCovarianceElement().
|
inlineoverridevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 409 of file PackedCandidate.h.
|
inline |
Definition at line 267 of file PackedCandidate.h.
References caloFraction_, covarianceSchema_, covarianceVersion_, deta_, dphi_, dtrkpt_, dxy_, dz_, firstHit_, hcalFraction_, isIsolatedChargedHadron_, m_, normalizedChi2_, p4(), p4_, p4c_, packedCovariance_, packedDEta_, packedDPhi_, packedDTrkPt_, packedDxy_, packedDz_, packedEta_, packedHits_, packedLayers_, packedM_, packedPhi_, packedPt_, packedPuppiweight_, packedPuppiweightNoLepDiff_, packedTime_, packedTimeError_, pdgId_, polarP4(), pvRefKey_, pvRefProd_, qualityFlags_, rawCaloFraction_, rawHcalFraction_, track_, vertex(), and vertex_.
|
inline |
Definition at line 345 of file PackedCandidate.h.
References caloFraction_, covarianceSchema_, covarianceVersion_, deta_, dphi_, dtrkpt_, dxy_, dz_, firstHit_, hcalFraction_, isIsolatedChargedHadron_, m_, normalizedChi2_, p4_, p4c_, packedCovariance_, packedDEta_, packedDPhi_, packedDTrkPt_, packedDxy_, packedDz_, packedEta_, packedHits_, packedLayers_, packedM_, packedPhi_, packedPt_, packedPuppiweight_, packedPuppiweightNoLepDiff_, packedTime_, packedTimeError_, pdgId_, pvRefKey_, pvRefProd_, qualityFlags_, rawCaloFraction_, rawHcalFraction_, track_, and vertex_.
|
overrideprotectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 327 of file PackedCandidate.cc.
References RecoTauCleanerPlugins::charge, reco::Candidate::charge(), reco::Candidate::p4(), and reco::Candidate::vertex().
|
inlineoverridevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 463 of file PackedCandidate.h.
References p4c_, and unpack().
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), and Electron.Electron::ptErr().
|
inlineoverridevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 438 of file PackedCandidate.h.
References p4c_, and unpack().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), DPFIsolation::getPredictions(), operator=(), Lepton.Lepton::p4WithFSR(), pat::PATIsolatedTrackProducer::produce(), and setP4().
|
protected |
Definition at line 13 of file PackedCandidate.cc.
References MiniFloatConverter::float32to16(), MiniFloatConverter::max(), SiStripPI::max, and BeamSpotPI::unpack().
Referenced by packBoth(), and setMass().
|
inlineprotected |
Definition at line 1037 of file PackedCandidate.h.
References p4_, p4c_, pack(), packVtx(), unpack(), unpackVtx(), and vertex_.
Referenced by PackedCandidate(), setP4(), setPz(), and setTrackProperties().
|
protected |
Definition at line 78 of file PackedCandidate.cc.
Referenced by setTrackProperties().
|
inlineprivate |
Definition at line 1003 of file PackedCandidate.h.
References covarianceParameterization(), covarianceSchema_, eta(), visualization-live-secondInstance_cfg::m, numberOfHits(), numberOfPixelHits(), CovarianceParameterization::pack(), and pt().
|
staticprotected |
static to allow unit testing
Definition at line 419 of file PackedCandidate.cc.
References validate-o2o-wbm::f, and SiStripPI::min.
|
staticprotected |
Definition at line 439 of file PackedCandidate.cc.
References funct::abs(), validate-o2o-wbm::f, and SiStripPI::min.
|
staticprotected |
Definition at line 460 of file PackedCandidate.cc.
References funct::abs(), and validate-o2o-wbm::f.
|
protected |
Definition at line 26 of file PackedCandidate.cc.
References c, funct::cos(), validate-o2o-wbm::f, MiniFloatConverter::float32to16(), edm::Ref< C, T, F >::isNonnull(), SiStripPI::max, MetAnalyzer::pv(), alignCSCRings::s, and funct::sin().
Referenced by packBoth(), and setVertex().
|
inlineoverridevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 847 of file PackedCandidate.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), DQMPFCandidateAnalyzer::analyze(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::discriminate(), fromPV(), DPFIsolation::getPredictions(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVars(), PATPuppiJetSpecificProducer::produce(), PuppiProducer::produce(), pat::PATIsolatedTrackProducer::produce(), EvtPlaneProducer::produce(), and setPdgId().
|
inlineoverridevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 529 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), DQMPFCandidateAnalyzer::analyze(), MuonFSRProducer::computeRelativeIsolation(), LeptonFSRProducer::computeRelativeIsolation(), DPFIsolation::getPredictions(), reco::tau::qcuts::minPackedCandVertexWeight(), ntupleDataFormat.Track::phiPull(), pat::PATTauProducer::produce(), and EvtPlaneProducer::produce().
|
inlinevirtual |
momentum azimuthal angle from the track (normally identical to phi())
Definition at line 541 of file PackedCandidate.h.
References dphi_, M_PI, maybeUnpackBoth(), p4_, and runTheMatrix::ret.
|
inline |
Definition at line 678 of file PackedCandidate.h.
References packedLayers_, and trackPixelHitsMask.
Referenced by numberOfPixelHits(), and trackerLayersWithMeasurement().
|
inlineoverridevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 444 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by operator=(), pat::PATIsolatedTrackProducer::produce(), setP4(), and setPz().
|
inlinevirtual |
Return reference to a pseudo track made with candidate kinematics, parameterized error for eta,phi,pt and full IP covariance
Definition at line 785 of file PackedCandidate.h.
References track_, and unpackTrk().
Referenced by PrimaryVertexAssignment::chargedHadronVertex(), BPHTrackReference::getFromPC(), reco::tau::lead_track_chi2(), btagbtvdeep::packedCandidateToFeatures(), pat::PATTrackAndVertexUnpacker::produce(), and EvtPlaneProducer::produce().
|
inlineoverridevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 523 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), DQMPFCandidateAnalyzer::analyze(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), MuonFSRProducer::computeRelativeIsolation(), LeptonFSRProducer::computeRelativeIsolation(), et(), et2(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), reco::tau::RecoTauQualityCuts::filterChargedCand(), DPFIsolation::getPredictions(), reco::tau::qcuts::minPackedCandVertexWeight(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), packCovarianceElement(), PuppiProducer::produce(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), and unpackCovarianceElement().
|
inlinevirtual |
pt from the track (normally identical to pt())
Definition at line 536 of file PackedCandidate.h.
References dtrkpt_, maybeUnpackBoth(), and p4_.
float pat::PackedCandidate::puppiWeight | ( | ) | const |
Set both weights at once (with option for only full PUPPI)
Definition at line 380 of file PackedCandidate.cc.
References SiStripPI::max.
Referenced by DQMPFCandidateAnalyzer::analyze(), PileupJetIdAlgo::computeIdVariables(), DPFIsolation::getPredictions(), btagbtvdeep::packedCandidateToFeatures(), PATPuppiJetSpecificProducer::produce(), and PuppiProducer::produce().
float pat::PackedCandidate::puppiWeightNoLep | ( | ) | const |
Weight from full PUPPI.
Definition at line 384 of file PackedCandidate.cc.
References SiStripPI::max.
Referenced by DQMPFCandidateAnalyzer::analyze(), and PuppiProducer::produce().
|
inline |
Definition at line 740 of file PackedCandidate.h.
References assignmentQualityMask, assignmentQualityShift, and qualityFlags_.
Referenced by PrimaryVertexAssignment::chargedHadronVertex(), fromPV(), DPFIsolation::getPredictions(), reco::tau::qcuts::minPackedCandVertexWeight(), and btagbtvdeep::packedCandidateToFeatures().
|
inlineoverridevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 505 of file PackedCandidate.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 511 of file PackedCandidate.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 517 of file PackedCandidate.h.
References p4c_, and unpack().
Referenced by setPz().
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 569 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
|
inline |
Set the raw ECAL+HCAL energy over candidate energy for isolated charged hadrons
Definition at line 935 of file PackedCandidate.h.
|
inline |
Set the fraction of Hcal needed isolated charged hadrons.
Definition at line 939 of file PackedCandidate.h.
References rawHcalFraction_.
|
inline |
Definition at line 743 of file PackedCandidate.h.
References assignmentQualityMask, assignmentQualityShift, and qualityFlags_.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures().
void pat::PackedCandidate::setCaloFraction | ( | float | p | ) |
Fraction of Hcal for isolated charged hadrons.
Definition at line 398 of file PackedCandidate.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
|
inlinevirtual |
Definition at line 681 of file PackedCandidate.h.
References covarianceVersion_, and findQualityFiles::v.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures().
void pat::PackedCandidate::setDTimeAssociatedPV | ( | float | aTime, |
float | aTimeError = 0 |
||
) |
set time measurement
Definition at line 404 of file PackedCandidate.cc.
Referenced by setTime().
|
inline |
Set first hit from HitPattern.
Definition at line 832 of file PackedCandidate.h.
References firstHit_.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures().
|
inline |
Definition at line 841 of file PackedCandidate.h.
References egammaFlagsMask, egammaFlagsShift, isGoodEgamma(), and qualityFlags_.
void pat::PackedCandidate::setHcalFraction | ( | float | p | ) |
Fraction of ECAL+HCAL energy over candidate energy.
Definition at line 400 of file PackedCandidate.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
inlinevirtual |
Definition at line 623 of file PackedCandidate.h.
References reco::TrackBase::hitPattern(), reco::HitPattern::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), packedHits_, packedLayers_, reco::HitPattern::pixelLayersWithMeasurement(), reco::HitPattern::stripLayersWithMeasurement(), trackPixelHitsMask, trackStripHitsMask, and trackStripHitsShift.
Referenced by setTrackProperties().
void pat::PackedCandidate::setIsIsolatedChargedHadron | ( | bool | p | ) |
Fraction of Hcal for HF, neutral hadrons, and charged particles.
Definition at line 402 of file PackedCandidate.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
|
inline |
Definition at line 823 of file PackedCandidate.h.
References lostInnerHitsMask, lostInnerHitsShift, and qualityFlags_.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures().
|
inlineoverridevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 601 of file PackedCandidate.h.
References visualization-live-secondInstance_cfg::m, p4_, p4c_, pack(), and unpack().
|
inlineoverridevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 863 of file PackedCandidate.h.
|
inline |
Definition at line 836 of file PackedCandidate.h.
References muonFlagsMask, muonFlagsShift, and qualityFlags_.
|
inlineoverridevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 581 of file PackedCandidate.h.
References deta_, dphi_, dtrkpt_, maybeUnpackBoth(), p4_, packBoth(), and polarP4().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverride |
set 4-momentum
Definition at line 591 of file PackedCandidate.h.
References deta_, dphi_, dtrkpt_, maybeUnpackBoth(), p4(), p4_, packBoth(), and polarP4().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 849 of file PackedCandidate.h.
References pdgId(), and pdgId_.
void pat::PackedCandidate::setPuppiWeight | ( | float | p, |
float | p_nolep = 0.0 |
||
) |
Definition at line 373 of file PackedCandidate.cc.
References SiStripPI::max, and AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 607 of file PackedCandidate.h.
References deta_, dphi_, dtrkpt_, maybeUnpackBoth(), p4_, p4c_, packBoth(), polarP4(), and pz().
void pat::PackedCandidate::setRawCaloFraction | ( | float | p | ) |
Weight from PUPPI removing leptons.
Definition at line 389 of file PackedCandidate.cc.
References SiStripPI::max, and AlCaHLTBitMon_ParallelJobs::p.
void pat::PackedCandidate::setRawHcalFraction | ( | float | p | ) |
Raw ECAL+HCAL energy over candidate energy for isolated charged hadrons.
Definition at line 396 of file PackedCandidate.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
set time measurement
Definition at line 996 of file PackedCandidate.h.
References setDTimeAssociatedPV(), submitPVValidationJobs::t, and vertexRef().
|
inline |
set to true if the track had the highPurity quality bit
Definition at line 807 of file PackedCandidate.h.
References qualityFlags_, trackHighPurityMask, and trackHighPurityShift.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures().
|
inlinevirtual |
Definition at line 645 of file PackedCandidate.h.
References covarianceSchema_, covarianceVersion(), covarianceVersion_, maybeUnpackBoth(), reco::TrackBase::normalizedChi2(), normalizedChi2_, packBoth(), packCovariance(), quality, and setHits().
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), and setTrackProperties().
|
inlinevirtual |
Definition at line 660 of file PackedCandidate.h.
References reco::TrackBase::covariance(), covarianceVersion(), quality, and setTrackProperties().
|
inline |
Definition at line 664 of file PackedCandidate.h.
References covarianceSchema_, covarianceVersion(), covarianceVersion_, packedHits_, trackPixelHitsMask, trackStripHitsMask, and trackStripHitsShift.
|
inlineoverridevirtual |
set vertex
Implements reco::Candidate.
Definition at line 706 of file PackedCandidate.h.
References maybeUnpackBoth(), packVtx(), vertex(), and vertex_.
|
inlineoverridevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Definition at line 412 of file PackedCandidate.h.
|
inlineoverridevirtual |
status word
Implements reco::Candidate.
Definition at line 851 of file PackedCandidate.h.
References qualityFlags_.
|
inline |
Definition at line 679 of file PackedCandidate.h.
References packedLayers_, and trackStripHitsShift.
Referenced by DeepBoostedJetTagInfoProducer::fillParticleFeatures(), numberOfHits(), and trackerLayersWithMeasurement().
|
inlineoverridevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 557 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by Tau.Tau::zImpact().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 434 of file PackedCandidate.h.
References charge().
|
inlinevirtual |
time (wrt nominal zero of the collision)
Definition at line 977 of file PackedCandidate.h.
References dtimeAssociatedPV(), and vertexRef().
Referenced by PrimaryVertexAssignment::chargedHadronVertex().
|
inlinevirtual |
time measurement uncertainty (-1 if not available)
Definition at line 992 of file PackedCandidate.h.
References packedTimeError_, and unpackTimeError().
Referenced by PrimaryVertexAssignment::chargedHadronVertex().
|
inline |
Definition at line 680 of file PackedCandidate.h.
References pixelLayersWithMeasurement(), and stripLayersWithMeasurement().
|
inline |
true if the track had the highPurity quality bit
Definition at line 805 of file PackedCandidate.h.
References qualityFlags_, trackHighPurityMask, and trackHighPurityShift.
Referenced by DPFIsolation::getPredictions(), and EvtPlaneProducer::produce().
|
protected |
Definition at line 53 of file PackedCandidate.cc.
References MiniFloatConverter::float16to32(), SiStripPI::max, phi, DiDispStaMuonMonitor_cfi::pt, edm::shift, and jetcorrextractor::sign().
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 92 of file PackedCandidate.cc.
References Exception, mps_fire::i, CovarianceParameterization::isValid(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, and edm::errors::UnimplementedFeature.
Referenced by maybeUnpackCovariance().
|
inlineprivate |
Definition at line 999 of file PackedCandidate.h.
References covarianceParameterization(), covarianceSchema_, eta(), visualization-live-secondInstance_cfg::m, numberOfHits(), numberOfPixelHits(), pt(), and CovarianceParameterization::unpack().
|
staticprotected |
Definition at line 430 of file PackedCandidate.cc.
Referenced by timeError().
|
staticprotected |
Definition at line 433 of file PackedCandidate.cc.
References funct::abs().
Referenced by dtimeAssociatedPV(), and unpackTimeWithError().
|
staticprotected |
Definition at line 451 of file PackedCandidate.cc.
References unpackTimeNoError().
Referenced by dtimeAssociatedPV().
|
protected |
Definition at line 164 of file PackedCandidate.cc.
References RecoTauCleanerPlugins::charge, reco::HitPattern::getLayer(), reco::HitPattern::getSubStructure(), reco::TrackBase::highPurity, mps_fire::i, reco::TrackBase::loose, TrackingRecHit::missing_inner, ndof, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reco::HitPattern::pixelHitFilter(), reco::HitPattern::stripHitFilter(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, HLT_FULL_cff::track, reco::TrackBase::undefAlgorithm, and TrackingRecHit::valid.
Referenced by maybeUnpackTrack(), and pseudoTrack().
|
protected |
Definition at line 122 of file PackedCandidate.cc.
References c, funct::cos(), MiniFloatConverter::float16to32(), edm::Ref< C, T, F >::isNonnull(), SiStripPI::max, phi, MetAnalyzer::pv(), alignCSCRings::s, and funct::sin().
Referenced by maybeUnpackBoth(), and packBoth().
|
inlineoverridevirtual |
vertex position
Implements reco::Candidate.
Definition at line 686 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by Tau.Tau::dxy(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::getTrackPos(), operator=(), and setVertex().
|
overridevirtual |
|
overridevirtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 356 of file PackedCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlineoverridevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 884 of file PackedCandidate.h.
References fillVertexCovariance(), and visualization-live-secondInstance_cfg::m.
|
overridevirtual |
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 352 of file PackedCandidate.cc.
|
overridevirtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 354 of file PackedCandidate.cc.
|
inline |
Definition at line 748 of file PackedCandidate.h.
References pvRefKey_, and pvRefProd_.
Referenced by pat::PATPackedCandidateProducer::candsOrdering(), PrimaryVertexAssignment::chargedHadronVertex(), fromPV(), reco::tau::qcuts::minPackedCandVertexWeight(), PuppiProducer::produce(), setTime(), and time().
|
inlineoverridevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 691 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by DPFIsolation::getPredictions().
|
inlineoverridevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 696 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by DPFIsolation::getPredictions().
|
inlineoverridevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 701 of file PackedCandidate.h.
References maybeUnpackBoth(), and vertex_.
Referenced by DPFIsolation::getPredictions().
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 575 of file PackedCandidate.h.
References p4_, p4c_, and unpack().
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
friend |
Definition at line 1111 of file PackedCandidate.h.
|
friend |
Definition at line 1009 of file PackedCandidate.h.
|
friend |
Definition at line 1110 of file PackedCandidate.h.
|
friend |
Definition at line 1112 of file PackedCandidate.h.
|
friend |
Definition at line 1113 of file PackedCandidate.h.
|
protected |
Definition at line 1054 of file PackedCandidate.h.
Referenced by caloFraction(), and operator=().
|
staticprotected |
Definition at line 1090 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1087 of file PackedCandidate.h.
Referenced by covarianceParameterization().
|
protected |
Definition at line 1086 of file PackedCandidate.h.
Referenced by covarianceSchema(), operator=(), packCovarianceElement(), setTrackProperties(), setTrackPropertiesLite(), and unpackCovarianceElement().
|
protected |
Definition at line 1085 of file PackedCandidate.h.
Referenced by covarianceParameterization(), covarianceVersion(), operator=(), setCovarianceVersion(), setTrackProperties(), and setTrackPropertiesLite().
|
mutableprotected |
Definition at line 1066 of file PackedCandidate.h.
Referenced by etaAtVtx(), operator=(), setP4(), and setPz().
|
mutableprotected |
Definition at line 1066 of file PackedCandidate.h.
Referenced by operator=(), phiAtVtx(), setP4(), and setPz().
|
mutableprotected |
Definition at line 1066 of file PackedCandidate.h.
Referenced by operator=(), ptTrk(), setP4(), and setPz().
|
mutableprotected |
Definition at line 1066 of file PackedCandidate.h.
Referenced by dxy(), and operator=().
|
mutableprotected |
Definition at line 1066 of file PackedCandidate.h.
Referenced by dz(), dzAssociatedPV(), and operator=().
|
staticprotected |
Definition at line 1139 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1140 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1138 of file PackedCandidate.h.
uint16_t pat::PackedCandidate::firstHit_ |
Definition at line 1142 of file PackedCandidate.h.
Referenced by firstHit(), operator=(), and setFirstHit().
|
protected |
Definition at line 1055 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1059 of file PackedCandidate.h.
Referenced by operator=().
|
staticprotected |
Definition at line 1010 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1011 of file PackedCandidate.h.
|
static |
long lived flag
Definition at line 855 of file PackedCandidate.h.
|
mutableprotected |
IP covariance.
Definition at line 1077 of file PackedCandidate.h.
Referenced by dxyError(), dzError(), maybeUnpackCovariance(), and operator=().
|
static |
do mass constraint flag
Definition at line 861 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1136 of file PackedCandidate.h.
|
staticprotected |
Definition at line 1135 of file PackedCandidate.h.
|
protected |
track quality information
Definition at line 1084 of file PackedCandidate.h.
Referenced by operator=(), and setTrackProperties().
|
mutableprotected |
the four vector
Definition at line 1062 of file PackedCandidate.h.
Referenced by eta(), etaAtVtx(), mass(), massSqr(), mt(), mtSqr(), operator=(), packBoth(), phi(), phiAtVtx(), polarP4(), pt(), ptTrk(), rapidity(), setMass(), setP4(), setPz(), theta(), and y().
|
mutableprotected |
Definition at line 1063 of file PackedCandidate.h.
Referenced by boostToCM(), energy(), et(), et2(), eta(), mass(), massSqr(), maybeUnpackBoth(), momentum(), mt(), mtSqr(), operator=(), p(), p4(), packBoth(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), setPz(), theta(), and y().
|
protected |
Definition at line 1015 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1014 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1014 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1014 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1014 of file PackedCandidate.h.
Referenced by fromTrackCandidate(), and operator=().
|
protected |
Definition at line 1014 of file PackedCandidate.h.
Referenced by fromTrackCandidate(), and operator=().
|
protected |
Definition at line 1013 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1078 of file PackedCandidate.h.
Referenced by bestTrack(), hasTrackDetails(), numberOfHits(), numberOfPixelHits(), operator=(), setHits(), and setTrackPropertiesLite().
|
protected |
Definition at line 1078 of file PackedCandidate.h.
Referenced by bestTrack(), hasTrackDetails(), operator=(), pixelLayersWithMeasurement(), setHits(), and stripLayersWithMeasurement().
|
protected |
Definition at line 1013 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1013 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1013 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1049 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1050 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1056 of file PackedCandidate.h.
Referenced by dtimeAssociatedPV(), and operator=().
|
protected |
Definition at line 1057 of file PackedCandidate.h.
Referenced by dtimeAssociatedPV(), operator=(), and timeError().
|
protected |
PDG identifier.
Definition at line 1070 of file PackedCandidate.h.
Referenced by charge(), operator=(), pdgId(), and setPdgId().
|
protected |
Definition at line 1074 of file PackedCandidate.h.
Referenced by dtime(), dz(), operator=(), and vertexRef().
|
protected |
Use these to build a Ref to primary vertex.
Definition at line 1073 of file PackedCandidate.h.
Referenced by operator=(), and vertexRef().
|
protected |
Definition at line 1071 of file PackedCandidate.h.
Referenced by isGlobalMuon(), isGoodEgamma(), isStandAloneMuon(), lostInnerHits(), operator=(), pvAssociationQuality(), setAssociationQuality(), setGoodEgamma(), setLostInnerHits(), setMuonID(), setTrackHighPurity(), status(), and trackHighPurity().
|
protected |
Definition at line 1052 of file PackedCandidate.h.
Referenced by operator=().
|
protected |
Definition at line 1053 of file PackedCandidate.h.
Referenced by operator=(), and rawHcalFraction().
|
mutableprotected |
Definition at line 1068 of file PackedCandidate.h.
Referenced by bestTrack(), maybeUnpackTrack(), operator=(), and pseudoTrack().
|
mutableprotected |
vertex position
Definition at line 1065 of file PackedCandidate.h.
Referenced by maybeUnpackBoth(), operator=(), packBoth(), setVertex(), vertex(), vx(), vy(), and vz().