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