BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTrack


class description - source file - inheritance tree

class BrTrack : public BrLine3D

    private:
void ClearCovariance() public:
BrTrack BrTrack() BrTrack BrTrack(BrTrack&) void ~BrTrack() static TClass* Class() virtual void Draw(Option_t* option) virtual Float_t GetCovariance(Int_t x, Int_t y) const virtual const BrVector3D& GetPos() const virtual Float_t GetPosError(Int_t index) const virtual Float_t GetQuality() const virtual const BrVector3D& GetSlope() const virtual Float_t GetSlopeError(Int_t index) const virtual void GetXYPositionAtZ(Float_t& x, Float_t& y, Float_t z) virtual TClass* IsA() const virtual void Print(Option_t* option) const virtual void SetCovariance(Int_t x, Int_t y, Float_t value) virtual void SetPos(const BrVector3D& pos) virtual void SetPos(Double_t x, Double_t y, Double_t z) virtual void SetQuality(Float_t quality) virtual void SetSlope(const BrVector3D& slope) virtual void SetSlope(Double_t x, Double_t y, Double_t z) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Float_t fCovMatrix[16] Covariance matrix Float_t fQuality Chisquare or confidence level for track


See also

BrTrackCandidate

Class Description




BrTrack() : BrLine3D()
 Default constructor

void ClearCovariance()
 Set all elements to 0

void Draw(Option_t *option = "")
 Currently empty. Could as default draw a straight line and be
 overwritten in other hit modules

Float_t GetCovariance(Int_t x, Int_t y) const
 return covariance element x, y
 x and y should be {0, 1, 2, 3}
 The order is {xslope, x, yslope, y}

Float_t GetPosError(Int_t index) const
 return error on position
 0 = x, 1 = y

Float_t GetSlopeError(Int_t index) const
 return error on slope
 0 = x, 1 = y
 Note that the errors are calculated for slope z == 1
 but the stored slope is normed to 1 so we scale the error with
 1/slope z

void GetXYPositionAtZ(Float_t &x, Float_t &y, Float_t z)
 Return the x and y position at z for the track

void Print(Option_t* option = "") const
 Print out the position and error, slope and error
 option c prints the covariance matrix as well

void SetCovariance(Int_t x, Int_t y, Float_t value)
 set covariance element x, y
 x and y should be {0, 1, 2, 3}
 The order is {xslope, x, yslope, y}



Inline Functions


        const BrVector3D& GetPos() const
                  Float_t GetQuality() const
        const BrVector3D& GetSlope() const
                     void SetPos(const BrVector3D& pos)
                     void SetPos(Double_t x, Double_t y, Double_t z)
                     void SetQuality(Float_t quality)
                     void SetSlope(const BrVector3D& slope)
                     void SetSlope(Double_t x, Double_t y, Double_t z)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                  BrTrack BrTrack(BrTrack&)
                     void ~BrTrack()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/08/14 19:26:23 $ by pchristi $

Validate HTML
Validate CSS