78 fBdlXYZ = TVector3(bdlx,bdly,bdlz);
161 inline std::ostream&
operator<< (std::ostream& stream,
const TVector3& v)
163 stream <<
"(" << v.X() <<
"," << v.Y() <<
"," << v.Z() <<
")";
double fDirectionYoff
Difference in Y momentum at matching plane.
double fChi
Combined chi, i.e. the sum of the chi for front and back partial track.
double fBdl
Magnetic field integrals.
int fIterationsRungeKutta
Number of iterations in Runge-Kutta method.
double fDirectionThetaoff
Difference in momentum polar angle at matching plane.
std::ostream & operator<<(std::ostream &out, const QwColor &color)
Output stream operator which uses the enum-to-escape-code mapping.
double fPositionPhioff
Difference in azimuthal angle phi at matching plane.
int fIterationsRK4
Number of iterations using Runge-Kutta 4th order.
int fIterationsNewton
Number of iterations in Newton's method.
TVector3 fBdlXYZ
Magnetic field integral along track.
QwTrack & operator=(const QwTrack &that)
Assignment operator.
TVector3 fStartPosition
Position and direction before and after swimming.
TVector3 fEndPositionActualRK4
Actual position of track at back plane using Runge-Kutta 4th order.
TVector3 fDirectionDiff
Difference in momentum at matching plane.
Definition of the partial track class.
double fDirectionPhioff
Difference in momentum azimuthal angle at matching plane.
Memory management structure to count objects.
double fPositionRoff
Difference in radial position at matching plane.
virtual ~QwTrack()
Virtual destructor.
void SetMagneticFieldIntegral(double bdl, double bdlx, double bdly, double bdlz)
Set magnetic field integral.
TVector3 fEndDirectionActual
Actual direction of track at back plane.
TVector3 fStartDirection
Start direction of front track.
const TVector3 & GetMagneticFieldIntegral() const
Get magnetic field integral.
void ResetPartialTracks(Option_t *option="")
QwTrack()
Default constructor.
Int_t GetNumberOfPartialTracks() const
friend std::ostream & operator<<(std::ostream &stream, const QwTrack &t)
Output stream operator for tracks.
Int_t fNQwPartialTracks
Number of partial tracks in this track.
TVector3 fEndPositionActual
Actual position of track at back plane.
Contains the complete track as a concatenation of partial tracks.
double fDirectionXoff
Difference in X momentum at matching plane.
QwPartialTrack * CreateNewPartialTrack()
double fDirectionZoff
Difference in Z momentum at matching plane.
TVector3 fEndPositionActualRKF45
Actual position of track at back plane using Runge-Kutta-Fehlberg.
void PrintPartialTracks(Option_t *option="") const
void Initialize()
Initialization.
TVector3 fPositionDiff
Matching of front and back track position and direction at matching plane.
void AddPartialTrack(const QwPartialTrack *partialtrack)
void AddPartialTrackList(const std::vector< QwPartialTrack * > &partialtracklist)
TVector3 fEndDirectionGoal
Goal direction of back track.
double fPhi
Quantities determined from front partial track.
QwPartialTrack * fBack
Back partial track.
int fIterationsRKF45
Number of iterations using Runge-Kutta-Fehlberg.
TVector3 fEndPositionGoal
Goal position of back track.
double fPositionXoff
Difference in X position at matching plane.
Definition of virtual base class for all tracking elements.
QwPartialTrack * fFront
Front partial track.
TVector3 fEndDirectionActualRK4
Actual direction of track at back plane using Runge-Kutta 4th order.
double fPositionYoff
Difference in Y position at matching plane.
TVector3 fEndDirectionActualRKF45
Actual direction of track at back plane using Runge-Kutta-Fehlberg.
double fPositionThetaoff
Difference in polar angle theta at matching plane.
double fTheta
Polar angle theta of track at primary vertex.
std::vector< QwPartialTrack * > fQwPartialTracks
List of partial tracks in this track.
double fMomentum
Spectrometer momentum.
const QwPartialTrack * GetPartialTrack(const int pt) const
Get the specified partial track.
double fVertexZ
Primary vertex position in longitudinal direction.
Contains the straight part of a track in one region only.
void ClearPartialTracks(Option_t *option="")
double fVertexR
Primary vertex position in transverse direction.
Virtual base class for all tracking elements.