Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::HelixZ Class Reference
Inheritance diagram for Hal::HelixZ:
Hal::HelixBase

Public Member Functions

 HelixZ (const TVector3 &x, const TVector3 &mom, Double_t charge, Double_t conversion=0.)
 
void PathLength (Double_t r, Double_t &s1, Double_t &s2) const
 
void PathLength (Double_t r, Double_t x, Double_t y, Double_t &s1, Double_t &s2) const
 
void SetParams (const TVector3 &x, const TVector3 &mom, Double_t charge, Double_t conversion=0.)
 
void EvaluateFull (Double_t s, TVector3 &mom, TVector3 &pos) const
 
Double_t GetXcenter () const
 
Double_t GetYcenter () const
 
Double_t GetZcenter () const
 
Double_t GetStartX () const
 
Double_t GetStartY () const
 
Double_t GetStartZ () const
 
Double_t PathLength (const TVector3 &point, Bool_t scanPeriods=kTRUE) const
 
Double_t PathLength (Double_t x, Double_t y) const
 
TVector3 EvalPos (Double_t s) const
 
TVector3 EvalMom (Double_t s) const
 
TVector3 GetStartPoint () const
 
Int_t Intersection (Double_t R, TVector3 &x1, TVector3 &x2) const
 
HelixZoperator= (const HelixZ &helix)
 
void Shift (Double_t x, Double_t y, Double_t z)
 
void Print (Option_t *="") const
 
- Public Member Functions inherited from Hal::HelixBase
 HelixBase (const HelixBase &t)
 
 HelixBase (const TVector3 &x, const TVector3 &mom, Double_t charge, Double_t conversion=0.)
 
Double_t GetCurv () const
 
Double_t GetPhi0 () const
 
Double_t GetDipAngle () const
 
Double_t GetH () const
 
HelixBaseoperator= (const HelixBase &helix)
 
void PathLengths (const HelixBase &h, Double_t &s1, Double_t &s2) const
 
Double_t GetPathAbsMin (Double_t s1, Double_t s2) const
 
Double_t GetPeriod () const
 
Double_t GetRotationDirection () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Hal::HelixBase
static void SetMagField (Double_t Bz)
 
static Double_t MaxPath ()
 
- Protected Member Functions inherited from Hal::HelixBase
 HelixBase (Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz, Double_t charge, Double_t conversion=0.)
 
void BasePathLength (Double_t r, Double_t x, Double_t y, Double_t &s1, Double_t &s2) const
 
void BaseSetParams (const TVector3 &x, const TVector3 &mom, Double_t charge, Double_t conversion=0.)
 
void BaseSetParams (Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz, Double_t charge, Double_t conversion=0)
 
Double_t BaseGetXcenter () const
 
Double_t BaseGetYcenter () const
 
Double_t BaseGetStartX () const
 
Double_t BaseGetStartY () const
 
Double_t BaseGetStartZ () const
 
Double_t BasePathLength (const TVector3 &point, Bool_t scanPeriods=kTRUE) const
 
Double_t BasePathLength (Double_t x, Double_t y) const
 
TVector3 BasePosition (Double_t s) const
 
TVector3 BaseGetStartPoint () const
 
TVector3 BaseMomentum (Double_t s) const
 
Int_t BaseIntersection (Double_t R, TVector3 &x1, TVector3 &x2) const
 
void BasePrint () const
 
void BasePathLength (Double_t r, Double_t &s1, Double_t &s2) const
 
void BaseShift (Double_t x, Double_t y, Double_t z)
 
void BaseFullEval (Double_t s, TVector3 &mom, TVector3 &pos) const
 

Detailed Description

Definition at line 23 of file Helix.h.

Constructor & Destructor Documentation

◆ HelixZ() [1/2]

Hal::HelixZ::HelixZ ( )

Definition at line 14 of file Helix.cxx.

◆ HelixZ() [2/2]

Hal::HelixZ::HelixZ ( const TVector3 & x,
const TVector3 & mom,
Double_t charge,
Double_t conversion = 0. )
Parameters
xinitial position
mommomentum at x
chargeelectric charge in e
conversionnot used

Definition at line 16 of file Helix.cxx.

◆ ~HelixZ()

virtual Hal::HelixZ::~HelixZ ( )
inlinevirtual

Definition at line 155 of file Helix.h.

Member Function Documentation

◆ EvalMom()

TVector3 Hal::HelixZ::EvalMom ( Double_t s) const
inline
Parameters
s
Returns
momentum at s

Definition at line 127 of file Helix.h.

◆ EvalPos()

TVector3 Hal::HelixZ::EvalPos ( Double_t s) const
inline
Parameters
s
Returns
helix corrdinates at lengith s

Definition at line 121 of file Helix.h.

◆ EvaluateFull()

void Hal::HelixZ::EvaluateFull ( Double_t s,
TVector3 & mom,
TVector3 & pos ) const
inline

calculates the momentum and position of trajectory at given s

Parameters
s
mom
pos

Definition at line 68 of file Helix.h.

◆ GetStartPoint()

TVector3 Hal::HelixZ::GetStartPoint ( ) const
inline
Returns
star point of helix

Definition at line 132 of file Helix.h.

◆ GetStartX()

Double_t Hal::HelixZ::GetStartX ( ) const
inline
Returns
start X

Definition at line 88 of file Helix.h.

◆ GetStartY()

Double_t Hal::HelixZ::GetStartY ( ) const
inline
Returns
start Y

Definition at line 93 of file Helix.h.

◆ GetStartZ()

Double_t Hal::HelixZ::GetStartZ ( ) const
inline
Returns
start Z

Definition at line 98 of file Helix.h.

◆ GetXcenter()

Double_t Hal::HelixZ::GetXcenter ( ) const
inline
Returns
x-center

Definition at line 73 of file Helix.h.

◆ GetYcenter()

Double_t Hal::HelixZ::GetYcenter ( ) const
inline
Returns
y-center

Definition at line 78 of file Helix.h.

◆ GetZcenter()

Double_t Hal::HelixZ::GetZcenter ( ) const
inline
Returns
zero

Definition at line 83 of file Helix.h.

◆ Intersection()

Int_t Hal::HelixZ::Intersection ( Double_t R,
TVector3 & x1,
TVector3 & x2 ) const
inline

calculate two points where circle intersect with cilider at given R

Parameters
R
x1
x2
Returns
number of solutions

Definition at line 140 of file Helix.h.

◆ operator=()

HelixZ & Hal::HelixZ::operator= ( const HelixZ & helix)

assignement operator

Parameters
helix
Returns

Definition at line 21 of file Helix.cxx.

◆ PathLength() [1/4]

Double_t Hal::HelixZ::PathLength ( const TVector3 & point,
Bool_t scanPeriods = kTRUE ) const
inline
Parameters
point
scanPeriodstrue if scan perdios
Returns
path at DCA between helix and point

Definition at line 105 of file Helix.h.

◆ PathLength() [2/4]

void Hal::HelixZ::PathLength ( Double_t r,
Double_t & s1,
Double_t & s2 ) const
inline

calculate path lenght at fixed radii perpendicular to magnetic field

Parameters
rradii
s1first path
s2second path

Definition at line 40 of file Helix.h.

◆ PathLength() [3/4]

void Hal::HelixZ::PathLength ( Double_t r,
Double_t x,
Double_t y,
Double_t & s1,
Double_t & s2 ) const
inline

calculate path lenghts for intersection of helix and circle with center x,y

Parameters
rcircle radii
xx-circle center
yy-circle center
s1first path
s2second path

Definition at line 49 of file Helix.h.

◆ PathLength() [4/4]

Double_t Hal::HelixZ::PathLength ( Double_t x,
Double_t y ) const
inline
Parameters
xpoint x-coordiante
ypoint y-coordinate
Returns
path lenght at shortest distance between point and helix at xy plane

Definition at line 115 of file Helix.h.

◆ Print()

void Hal::HelixZ::Print ( Option_t * = "") const
inline

Definition at line 154 of file Helix.h.

◆ SetParams()

void Hal::HelixZ::SetParams ( const TVector3 & x,
const TVector3 & mom,
Double_t charge,
Double_t conversion = 0. )
inline
Parameters
xstart position
mommomentum at X
chargecharge of particle
conversionnot used

Definition at line 59 of file Helix.h.

◆ Shift()

void Hal::HelixZ::Shift ( Double_t x,
Double_t y,
Double_t z )

shift this helix by given values

Parameters
x
y
z

Definition at line 19 of file Helix.cxx.


The documentation for this class was generated from the following files: