9 #ifndef QWPARTIALTRACK_H
10 #define QWPARTIALTRACK_H
16 #include "TClonesArray.h"
56 QwPartialTrack(
const TVector3& position,
const TVector3& momentum);
79 void Clear(Option_t *option =
"");
80 void Reset(Option_t *option =
"");
109 void Print(
const Option_t* options = 0)
const;
210 #endif // QWPARTIALTRACK_H
void SetAverageResidual()
QwPartialTrack & SmearAngleTheta(const double sigma)
Smear the theta angle.
QwPartialTrack & SmearPosition(const double sigma_x, const double sigma_y)
Smear the position.
QwPartialTrack & SmearAnglePhi(const double sigma)
Smear the phi angle.
Int_t GetNumberOfTreeLines() const
Get the number of tree lines.
const QwVertex * DeterminePositionInHDC(const QwGeometry &geometry)
Determine position in first horizontal drift chamber.
Double_t fOffsetX
x coordinate (at MAGNET_CENTER)
Contains vertex information.
QwPartialTrack & operator=(const QwPartialTrack &that)
Assignment operator.
double GetAverageResidual() const
double fAverageResidual
number of Plane 0 Treelines
int GetAlone() const
Only 2 Treelines in Plane 0.
Double_t GetMomentumDirectionTheta() const
Return the theta angle.
Double_t fChi
combined chi square
friend std::ostream & operator<<(std::ostream &stream, const QwPartialTrack &pt)
Int_t fNQwTreeLines
Number of tree lines in this partial track.
const TVector3 GetPosition(const double z) const
Return the vertex at position z.
QwTreeLine * CreateNewTreeLine()
Create a new tree line.
void AddTreeLine(const QwTreeLine *treeline)
Add an existing tree line as a copy.
Memory management structure to count objects.
double pR2hit[3]
x-y-z position at R2
VQwTrackingElementContainer< QwPartialTrack > QwPartialTrackContainer
void RotateCoordinates()
Rotate coordinates to right octant.
const TVector3 GetMomentumDirection() const
Return the direction.
const QwTreeLine * GetTreeLine(const int tl) const
Get the specified tree line.
Memory management class to count object instantiations.
void Reset(Option_t *option="")
const QwVertex * DeterminePositionInTarget(const QwGeometry &geometry)
Determine vertex in the target.
const QwVertex * DeterminePositionInCerenkovBars(const QwGeometry &geometry)
Determine intersection with cerenkov bars.
double CalculateAverageResidual()
void SetAlone(const int alone)
Double_t GetVertexZ() const
Get the vertex position.
Double_t fCov[4][4]
covariance matrix
double uvR3hit[3]
direction at R3
void SetAverageResidual(const double residual)
Definition of the one-dimensional track stubs.
Bool_t fIsVoid
marked as being void
Double_t TResidual[kNumDirections]
void Clear(Option_t *option="")
One-dimensional (u, v, or x) track stubs and associated hits.
double uvR2hit[3]
direction at R2
Definition of virtual base class for all tracking elements.
void RotateRotator(const QwDetectorInfo *geometry)
void ResetTreeLines(Option_t *option="")
Reset the list of tree lines.
Collection of QwDetectorInfo pointers that specifies an experimental geometry.
double pR3hit[3]
x-y-z position at R3
const QwVertex * DeterminePositionInDetector(const QwDetectorInfo *geometry)
Determine vertex in detector.
ClassDef(QwPartialTrack, 1)
QwPartialTrack()
Default constructor.
Double_t fOffsetY
y coordinate (at MAGNET_CENTER)
Double_t fSignedResidual[12]
void PrintTreeLines(Option_t *option="") const
Print the list of tree lines.
Double_t GetMomentumDirectionPhi() const
Return the phi angle.
const QwVertex * DeterminePositionInTriggerScintillators(const QwGeometry &geometry)
Determine intersection with trigger scintillators.
void Initialize()
Initialization.
Bool_t fIsUsed
used (part of a track)
double GetChiWeight() const
std::vector< QwTreeLine * > fQwTreeLines
List of tree lines in this partial track.
virtual ~QwPartialTrack()
Destructor.
void AddTreeLineList(const QwTreeLine *treelinelist)
Add a linked list of existing tree lines as a copy.
Int_t fNumMiss
missing hits
Contains the straight part of a track in one region only.
void ClearTreeLines(Option_t *option="")
Clear the list of tree lines.
const std::vector< QwTreeLine * > & GetListOfTreeLines() const
Get the list of tree lines.
Virtual base class for all tracking elements.
void Print(const Option_t *options=0) const