24 if (front == 0 || back == 0)
return;
66 if (that == 0)
return;
93 if (
this == &that)
return *
this;
180 for (std::vector<QwPartialTrack*>::const_iterator partialtrack = partialtracklist.begin();
181 partialtrack != partialtracklist.end(); partialtrack++)
205 for (std::vector<QwPartialTrack*>::const_iterator partialtrack =
fQwPartialTracks.begin();
double fDirectionYoff
Difference in Y momentum at matching plane.
#define QwMessage
Predefined log drain for regular messages.
double fChi
Combined chi, i.e. the sum of the chi for front and back partial track.
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.
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.
void SetPackage(EQwDetectorPackage package)
Set the package.
double fDirectionPhioff
Difference in momentum azimuthal angle at matching plane.
Definition of the track class.
double fPositionRoff
Difference in radial position at matching plane.
EQwRegionID GetRegion() const
Get the region.
virtual ~QwTrack()
Virtual destructor.
TVector3 fEndDirectionActual
Actual direction of track at back plane.
TVector3 fStartDirection
Start direction of front track.
void ResetPartialTracks(Option_t *option="")
VQwTrackingElement & operator=(const VQwTrackingElement &that)
Assignment operator.
QwTrack()
Default constructor.
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.
static std::ostream & endl(std::ostream &)
End of the line.
TVector3 fEndPositionGoal
Goal position of back track.
double fPositionXoff
Difference in X position at matching plane.
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.
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.
EQwDetectorPackage GetPackage() const
Get the package.
Virtual base class for all tracking elements.