Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::HelixX Class Reference

#include <Helix.h>

Inheritance diagram for Hal::HelixX:
Hal::HelixBase

Public Member Functions

 HelixX (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 y, Double_t z, 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 (TVector3 point, Bool_t scanPeriods=kTRUE) const
 
Double_t PathLength (Double_t y, Double_t z) 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
 
HelixXoperator= (const HelixX &helix)
 
void Print (Option_t *="") const
 
void Shift (Double_t x, Double_t y, Double_t z)
 
- 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

helix with non-zero constant Bx field

Definition at line 162 of file Helix.h.

Constructor & Destructor Documentation

◆ HelixX() [1/2]

Hal::HelixX::HelixX ( )

Definition at line 26 of file Helix.cxx.

◆ HelixX() [2/2]

Hal::HelixX::HelixX ( 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 28 of file Helix.cxx.

◆ ~HelixX()

virtual Hal::HelixX::~HelixX ( )
inlinevirtual

Definition at line 310 of file Helix.h.

Member Function Documentation

◆ EvalMom()

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

Definition at line 269 of file Helix.h.

◆ EvalPos()

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

Definition at line 259 of file Helix.h.

◆ EvaluateFull()

void Hal::HelixX::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 201 of file Helix.h.

◆ GetStartPoint()

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

Definition at line 278 of file Helix.h.

◆ GetStartX()

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

Definition at line 225 of file Helix.h.

◆ GetStartY()

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

Definition at line 230 of file Helix.h.

◆ GetStartZ()

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

Definition at line 235 of file Helix.h.

◆ GetXcenter()

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

Definition at line 210 of file Helix.h.

◆ GetYcenter()

Double_t Hal::HelixX::GetYcenter ( ) const
inline
Returns
zeo

Definition at line 215 of file Helix.h.

◆ GetZcenter()

Double_t Hal::HelixX::GetZcenter ( ) const
inline
Returns
z-center

Definition at line 220 of file Helix.h.

◆ Intersection()

Int_t Hal::HelixX::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 290 of file Helix.h.

◆ operator=()

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

assignement operator

Parameters
helix
Returns

Definition at line 33 of file Helix.cxx.

◆ PathLength() [1/4]

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

Definition at line 173 of file Helix.h.

◆ PathLength() [2/4]

void Hal::HelixX::PathLength ( Double_t r,
Double_t y,
Double_t z,
Double_t & s1,
Double_t & s2 ) const
inline

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

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

Definition at line 182 of file Helix.h.

◆ PathLength() [3/4]

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

Definition at line 253 of file Helix.h.

◆ PathLength() [4/4]

Double_t Hal::HelixX::PathLength ( 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 242 of file Helix.h.

◆ Print()

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

Definition at line 302 of file Helix.h.

◆ SetParams()

void Hal::HelixX::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 192 of file Helix.h.

◆ Shift()

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

shift this helix by given values

Parameters
x
y
z

Definition at line 31 of file Helix.cxx.


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