THelix


class description - source file - inheritance tree

class THelix : public TPolyLine3D


    protected:
Double_t FindClosestPhase(Double_t phi0, Double_t cosine) void SetRotMatrix() public:
THelix(Double_t x, Double_t y, Double_t z, Double_t vx, Double_t vy, Double_t vz, Double_t w) THelix(Double_t* xyz, Double_t* v, Double_t w, Double_t* range = 0, EHelixRangeType rtype = kHelixZ, Double_t* axis = 0) THelix(const THelix& helix) THelix() virtual ~THelix() static TClass* Class() virtual void Copy(TObject& helix) const virtual void Draw(Option_t* option) virtual Option_t* GetOption() const virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void Print(Option_t* option) const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetAxis(Double_t x, Double_t y, Double_t z) virtual void SetAxis(Double_t* axis) void SetHelix(Double_t* xyz, Double_t* v, Double_t w, Double_t* range = 0, EHelixRangeType type = kUnchanged, Double_t* axis = 0) virtual void SetOption(Option_t* option) virtual void SetRange(Double_t* range, EHelixRangeType rtype = kHelixZ) virtual void SetRange(Double_t r1, Double_t r2, EHelixRangeType rtype = kHelixZ) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fX0 Initial X position Double_t fY0 Initial Y position Double_t fZ0 Initial Z position Double_t fVt Transverse velocity (constant of motion) Double_t fPhi0 Initial phase, so vx0 = fVt*cos(fPhi0) Double_t fVz Z velocity (constant of motion) Double_t fW Angular frequency Double_t fAxis[3] Direction unit vector of the helix axis TRotMatrix* fRotMat Rotation matrix: axis // z --> axis // fAxis Double_t fRange[2] Range of helix parameter t static Int_t fgMinNSeg minimal number of segments in polyline

Class Description



Last update: Fri May 14 13:32:39 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.