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