Go to the documentation of this file. 1 #ifndef DataFormats_L1TParticleFlow_PFTrack_h
2 #define DataFormats_L1TParticleFlow_PFTrack_h
71 unsigned int nStubs()
const {
return track()->getStubRefs().size(); }
float caloPhi() const
phi coordinate propagated at the calorimeter surface used for track-cluster matching
unsigned int nStubs() const
const TrackRef & track() const
std::vector< l1t::PFTrackRef > PFTrackVectorRef
float trkPtError() const
uncertainty on track pt
Class to store the L1 Track Trigger tracks.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
std::vector< l1t::PFTrack > PFTrackCollection
float caloPtError() const
uncertainty on calorimetric response for a hadron with pt equal to this track's pt
void setVertex(const Point &vertex) override
set vertex
void setCaloEtaPhi(float eta, float phi)
double eta() const final
momentum pseudorapidity
const LorentzVector & p4() const final
four-momentum Lorentz vector
int charge() const final
electric charge
bool isMuon() const override
void setTrkPtError(float ptErr)
void setQuality(int quality)
edm::Ref< l1t::PFTrackCollection > PFTrackRef
edm::RefVector< l1t::PFTrackCollection > PFTrackRefVector
double phi() const final
momentum azimuthal angle
PFTrack(int charge, const reco::Particle::LorentzVector &p4, const reco::Particle::Point &vtx, const TrackRef &tkPtr, int nPar, float caloEta, float caloPhi, float trkPtError=-1, float caloPtError=-1, int quality=1, bool isMuon=false, int hwpt=0, int hweta=0, int hwphi=0)
edm::Ref< std::vector< L1TTTrackType > > TrackRef
float normalizedChi2() const
unsigned int nPar() const
void setCaloPtError(float ptErr)
void setCharge(Charge q) final
set electric charge
math::XYZPoint Point
point in the space
void setIsMuon(bool isMuon)
void setTrack(const TrackRef &ref)
float caloEta() const
eta coordinate propagated at the calorimeter surface used for track-cluster matching