|
BrTrackclass description - source file - inheritance tree class BrTrack : public BrLine3Dprivate: Data Membersprivate: See alsoClass DescriptionBrTrack() : 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 Functionsconst 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>
|