42 KTrack(
const std::shared_ptr<const Surface>& psurf);
45 KTrack(std::shared_ptr<const Surface> psurf,
87 virtual std::ostream&
Print(std::ostream& out,
bool doTitle =
true)
const;
93 std::shared_ptr<const Surface>
fSurf;
TrackVector fVec
Track state vector.
TrackDirection
Track direction enum.
std::shared_ptr< const Surface > fSurf
Track surface.
double Mass() const
Based on pdg code.
const std::shared_ptr< const Surface > & getSurface() const
Surface.
double XLongitude() const
Get x-longitude.
void setPdgCode(int pdg)
Set pdg code.
void setVector(const TrackVector &vec)
Set state vector.
void setDirection(Surface::TrackDirection dir)
Set direction.
TrackVector & getVector()
Modifiable state vector.
void setSurface(const std::shared_ptr< const Surface > &psurf)
Set surface.
int fPdgCode
Pdg id. hypothesis.
std::ostream & operator<<(std::ostream &out, const KGTrack &trg)
Output operator.
void getPosition(double xyz[3]) const
Get position of track.
Base class for Kalman filter surface.
virtual ~KTrack()
Destructor.
KVector< 5 >::type TrackVector
Track state vector, dimension 5.
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
Surface::TrackDirection fDir
Track direction.
Kalman filter linear algebra typedefs.
const TrackVector & getVector() const
Track state vector.
int PdgCode() const
Pdg code.
void getMomentum(double mom[3]) const
Get momentum vector of track.
Surface::TrackDirection getDirection() const
Track direction.
bool isValid() const
Test if track is valid.
double XLatitude() const
Get x-latitude.