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