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

#include <Helix.h>

Inheritance diagram for Hal::HelixY:
Hal::HelixBase

Public Member Functions

 HelixY (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 z, Double_t x, 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 z, Double_t x) 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
 
HelixYoperator= (const HelixY &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 By field

Definition at line 317 of file Helix.h.

Constructor & Destructor Documentation

◆ HelixY() [1/2]

Hal::HelixY::HelixY ( )

Definition at line 38 of file Helix.cxx.

◆ HelixY() [2/2]

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

◆ ~HelixY()

virtual Hal::HelixY::~HelixY ( )
inlinevirtual

Definition at line 466 of file Helix.h.

Member Function Documentation

◆ EvalMom()

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

Definition at line 425 of file Helix.h.

◆ EvalPos()

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

Definition at line 415 of file Helix.h.

◆ EvaluateFull()

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

◆ GetStartPoint()

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

Definition at line 434 of file Helix.h.

◆ GetStartX()

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

Definition at line 381 of file Helix.h.

◆ GetStartY()

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

Definition at line 386 of file Helix.h.

◆ GetStartZ()

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

Definition at line 391 of file Helix.h.

◆ GetXcenter()

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

Definition at line 366 of file Helix.h.

◆ GetYcenter()

Double_t Hal::HelixY::GetYcenter ( ) const
inline
Returns
0

Definition at line 371 of file Helix.h.

◆ GetZcenter()

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

Definition at line 376 of file Helix.h.

◆ Intersection()

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

◆ operator=()

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

assignement operator

Parameters
helix
Returns

Definition at line 43 of file Helix.cxx.

◆ PathLength() [1/4]

Double_t Hal::HelixY::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 398 of file Helix.h.

◆ PathLength() [2/4]

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

Definition at line 328 of file Helix.h.

◆ PathLength() [3/4]

void Hal::HelixY::PathLength ( Double_t r,
Double_t z,
Double_t x,
Double_t & s1,
Double_t & s2 ) const
inline

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

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

Definition at line 337 of file Helix.h.

◆ PathLength() [4/4]

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

Definition at line 409 of file Helix.h.

◆ Print()

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

Definition at line 458 of file Helix.h.

◆ SetParams()

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

◆ Shift()

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

shift this helix by given values

Parameters
x
y
z

Definition at line 48 of file Helix.cxx.


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