28 #ifndef ROOT_TPolyLine3D
31 #ifndef ROOT_TRotMatrix
virtual void SetOption(Option_t *option="")
void SetRotMatrix()
Set the rotational matrix according to the helix axis.
Option_t * GetOption() const
virtual void SetAxis(Double_t *axis)
Set a new axis for the helix. This will make a new rotation matrix.
A 3-dimensional polyline.
virtual void Copy(TObject &helix) const
Copy this helix to obj.
const char * Data() const
virtual ~THelix()
Helix destructor.
THelix & operator=(const THelix &)
assignment operator
virtual void Print(Option_t *option="") const
Dump this helix with its attributes.
THelix()
Helix default constructor.
Manages a detector rotation matrix.
unsigned int r1[N_CITIES]
virtual void SetRange(Double_t *range, EHelixRangeType rtype=kHelixZ)
Set a new range for the helix. This will remake the polyline.
void SetHelix(Double_t *xyz, Double_t *v, Double_t w, Double_t *range=0, EHelixRangeType type=kUnchanged, Double_t *axis=0)
THelix has two different constructors.
Mother of all ROOT objects.
virtual void Draw(Option_t *option="")
Draw this helix with its current attributes.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
unsigned int r2[N_CITIES]
Double_t FindClosestPhase(Double_t phi0, Double_t cosine)
Finds the closest phase to phi0 that gives cos(phase) = cosine.