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

Public Member Functions

 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
 

Static Public Member Functions

static void SetMagField (Double_t Bz)
 
static Double_t MaxPath ()
 

Protected Member Functions

 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 19 of file HelixBase.h.

Constructor & Destructor Documentation

◆ HelixBase() [1/4]

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. )
protected
Parameters
xX start postion
yY start position
zZ start position
pxpx-momentum
pypy momentum
pzpz momentum
charge
conversion

Definition at line 497 of file HelixBase.cxx.

◆ HelixBase() [2/4]

Hal::HelixBase::HelixBase ( )

Definition at line 25 of file HelixBase.cxx.

◆ HelixBase() [3/4]

Hal::HelixBase::HelixBase ( const HelixBase & t)

Definition at line 40 of file HelixBase.cxx.

◆ HelixBase() [4/4]

Hal::HelixBase::HelixBase ( 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 56 of file HelixBase.cxx.

◆ ~HelixBase()

Hal::HelixBase::~HelixBase ( )
virtual

Definition at line 23 of file HelixBase.cxx.

Member Function Documentation

◆ BaseFullEval()

void Hal::HelixBase::BaseFullEval ( Double_t s,
TVector3 & mom,
TVector3 & pos ) const
protected

calculate the momentum and position at given s

Parameters
s
mom
pos

Definition at line 544 of file HelixBase.cxx.

◆ BaseGetStartPoint()

TVector3 Hal::HelixBase::BaseGetStartPoint ( ) const
protected
Returns
star point of helix

Definition at line 199 of file HelixBase.cxx.

◆ BaseGetStartX()

Double_t Hal::HelixBase::BaseGetStartX ( ) const
inlineprotected
Returns
start X

Definition at line 102 of file HelixBase.h.

◆ BaseGetStartY()

Double_t Hal::HelixBase::BaseGetStartY ( ) const
inlineprotected
Returns
start Y

Definition at line 107 of file HelixBase.h.

◆ BaseGetStartZ()

Double_t Hal::HelixBase::BaseGetStartZ ( ) const
inlineprotected
Returns
start Z

Definition at line 112 of file HelixBase.h.

◆ BaseGetXcenter()

Double_t Hal::HelixBase::BaseGetXcenter ( ) const
inlineprotected
Returns
x-center

Definition at line 92 of file HelixBase.h.

◆ BaseGetYcenter()

Double_t Hal::HelixBase::BaseGetYcenter ( ) const
inlineprotected
Returns
y-center

Definition at line 97 of file HelixBase.h.

◆ BaseIntersection()

Int_t Hal::HelixBase::BaseIntersection ( Double_t R,
TVector3 & x1,
TVector3 & x2 ) const
protected

calculate two points where circle intersect with cilider at given R

Parameters
R
x1
x2
Returns
number of solutions

Definition at line 81 of file HelixBase.cxx.

◆ BaseMomentum()

TVector3 Hal::HelixBase::BaseMomentum ( Double_t s) const
protected

calculate momentum at given point

Returns

Definition at line 517 of file HelixBase.cxx.

◆ BasePathLength() [1/4]

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

Definition at line 303 of file HelixBase.cxx.

◆ BasePathLength() [2/4]

void Hal::HelixBase::BasePathLength ( Double_t r,
Double_t & s1,
Double_t & s2 ) const
protected

calculate path lenght at fixed radii perpendicular to magnetic field

Parameters
rradii
s1first path
s2second path

Definition at line 214 of file HelixBase.cxx.

◆ BasePathLength() [3/4]

void Hal::HelixBase::BasePathLength ( Double_t r,
Double_t x,
Double_t y,
Double_t & s1,
Double_t & s2 ) const
protected

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 294 of file HelixBase.cxx.

◆ BasePathLength() [4/4]

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

Definition at line 390 of file HelixBase.cxx.

◆ BasePosition()

TVector3 Hal::HelixBase::BasePosition ( Double_t s) const
protected
Parameters
s
Returns
helix corrdinates at lengith s

Definition at line 191 of file HelixBase.cxx.

◆ BasePrint()

void Hal::HelixBase::BasePrint ( ) const
protected

Definition at line 108 of file HelixBase.cxx.

◆ BaseSetParams() [1/2]

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

Definition at line 115 of file HelixBase.cxx.

◆ BaseSetParams() [2/2]

void Hal::HelixBase::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 )
protected
Parameters
x
y
z
px
py
pz
charge
conversion

Definition at line 139 of file HelixBase.cxx.

◆ BaseShift()

void Hal::HelixBase::BaseShift ( Double_t x,
Double_t y,
Double_t z )
protected

shift this vector by given coordinates

Parameters
x
y
z

Definition at line 507 of file HelixBase.cxx.

◆ GetCurv()

Double_t Hal::HelixBase::GetCurv ( ) const
inline
Returns
curvature of helix

Definition at line 190 of file HelixBase.h.

◆ GetDipAngle()

Double_t Hal::HelixBase::GetDipAngle ( ) const
inline
Returns
lambda angle

Definition at line 200 of file HelixBase.h.

◆ GetH()

Double_t Hal::HelixBase::GetH ( ) const
inline
Returns
qB

Definition at line 205 of file HelixBase.h.

◆ GetPathAbsMin()

Double_t Hal::HelixBase::GetPathAbsMin ( Double_t s1,
Double_t s2 ) const

return minimal non-negative value of path

Parameters
s1
s2
Returns

Definition at line 534 of file HelixBase.cxx.

◆ GetPeriod()

Double_t Hal::HelixBase::GetPeriod ( ) const
Returns
helix period

Definition at line 100 of file HelixBase.cxx.

◆ GetPhi0()

Double_t Hal::HelixBase::GetPhi0 ( ) const
inline
Returns
phase 0

Definition at line 195 of file HelixBase.h.

◆ GetRotationDirection()

Double_t Hal::HelixBase::GetRotationDirection ( ) const
Returns
-1 if particle goes clockwise

Definition at line 515 of file HelixBase.cxx.

◆ MaxPath()

static Double_t Hal::HelixBase::MaxPath ( )
inlinestatic
Returns
max path

Definition at line 245 of file HelixBase.h.

◆ operator=()

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

assignement operator

Parameters
helix
Returns

Definition at line 176 of file HelixBase.cxx.

◆ PathLengths()

void Hal::HelixBase::PathLengths ( const HelixBase & h,
Double_t & s1,
Double_t & s2 ) const

return path lendhts at shortest distance between two helices

Parameters
hsecon helix
s1path lenght ot this helix
s2path lenght of h-helix

Definition at line 392 of file HelixBase.cxx.

◆ SetMagField()

void Hal::HelixBase::SetMagField ( Double_t Bz)
static

set magnetic fiels (for all helixes)

Parameters
Bz

Definition at line 172 of file HelixBase.cxx.


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