#include <AliFmHelix.h>
Inherited by AliFmPhysicalHelix.
Inheritance diagram for AliFmHelix:
Public Member Functions | |
AliFmHelix (double c, double dip, double phase, const AliFmThreeVector< double > &o, int h=-1) | |
curvature, dip angle, phase, origin, h | |
virtual | ~AliFmHelix () |
double | DipAngle () const |
double | Curvature () const |
double | Phase () const |
1/R in xy-plane | |
double | XCenter () const |
aziumth in xy-plane measured from ring center | |
double | YCenter () const |
x-center of circle in xy-plane | |
int | H () const |
y-center of circle in xy-plane | |
const AliFmThreeVector< double > & | Origin () const |
-sign(q*B); | |
void | SetParameters (double c, double dip, double phase, const AliFmThreeVector< double > &o, int h) |
starting point | |
double | X (double s) const |
double | Y (double s) const |
double | Z (double s) const |
AliFmThreeVector< double > | At (double s) const |
double | Period () const |
returns period length of helix | |
pair< double, double > | PathLength (double r) const |
path length at given r (cylindrical r) | |
pair< double, double > | PathLength (double r, double x, double y, bool scanPeriods=true) |
path length at given r (cylindrical r, cylinder axis at x,y) | |
double | PathLength (const AliFmThreeVector< double > &p, bool scanPeriods=true) const |
path length at distance of closest approach to a given point | |
double | PathLength (const AliFmThreeVector< double > &r, const AliFmThreeVector< double > &n) const |
path length at intersection with plane | |
double | PathLength (double x, double y) const |
path length at distance of closest approach in the xy-plane to a given point | |
pair< double, double > | PathLengths (const AliFmHelix &h, bool scanPeriods=true) const |
path lengths at dca between two helices | |
double | Distance (const AliFmThreeVector< double > &p, bool scanPeriods=true) const |
minimal distance between point and helix | |
bool | Valid (double world=1.e+5) const |
checks for valid parametrization | |
int | Bad (double world=1.e+5) const |
virtual void | MoveOrigin (double s) |
move the origin along the helix to s which becomes then s=0 | |
Static Public Attributes | |
static const double | fgkNoSolution = 3.e+33 |
Protected Member Functions | |
AliFmHelix () | |
void | SetCurvature (double d) |
void | SetPhase (double d) |
performs also various checks | |
void | SetDipAngle (double d) |
double | FudgePathLength (const AliFmThreeVector< double > &v) const |
value of S where distance in x-y plane is minimal | |
Protected Attributes | |
bool | fSingularity |
AliFmThreeVector< double > | fOrigin |
double | fDipAngle |
double | fCurvature |
double | fPhase |
int | fH |
double | fCosDipAngle |
double | fSinDipAngle |
double | fCosPhase |
double | fSinPhase |
AliFmHelix::AliFmHelix | ( | double | c, | |
double | dip, | |||
double | phase, | |||
const AliFmThreeVector< double > & | o, | |||
int | h = -1 | |||
) |
curvature, dip angle, phase, origin, h
AliFmHelix::~AliFmHelix | ( | ) | [virtual] |
AliFmHelix::AliFmHelix | ( | ) | [protected] |
double AliFmHelix::DipAngle | ( | ) | const [inline] |
double AliFmHelix::Curvature | ( | ) | const [inline] |
double AliFmHelix::Phase | ( | ) | const [inline] |
1/R in xy-plane
double AliFmHelix::XCenter | ( | ) | const |
aziumth in xy-plane measured from ring center
double AliFmHelix::YCenter | ( | ) | const |
x-center of circle in xy-plane
int AliFmHelix::H | ( | ) | const [inline] |
y-center of circle in xy-plane
const AliFmThreeVector< double > & AliFmHelix::Origin | ( | ) | const [inline] |
-sign(q*B);
void AliFmHelix::SetParameters | ( | double | c, | |
double | dip, | |||
double | phase, | |||
const AliFmThreeVector< double > & | o, | |||
int | h | |||
) |
starting point
double AliFmHelix::X | ( | double | s | ) | const [inline] |
double AliFmHelix::Y | ( | double | s | ) | const [inline] |
double AliFmHelix::Z | ( | double | s | ) | const [inline] |
AliFmThreeVector< double > AliFmHelix::At | ( | double | s | ) | const [inline] |
double AliFmHelix::Period | ( | ) | const |
returns period length of helix
pair< double, double > AliFmHelix::PathLength | ( | double | r | ) | const |
path length at given r (cylindrical r)
pair< double, double > AliFmHelix::PathLength | ( | double | r, | |
double | x, | |||
double | y, | |||
bool | scanPeriods = true | |||
) |
path length at given r (cylindrical r, cylinder axis at x,y)
double AliFmHelix::PathLength | ( | const AliFmThreeVector< double > & | p, | |
bool | scanPeriods = true | |||
) | const |
path length at distance of closest approach to a given point
double AliFmHelix::PathLength | ( | const AliFmThreeVector< double > & | r, | |
const AliFmThreeVector< double > & | n | |||
) | const |
path length at intersection with plane
double AliFmHelix::PathLength | ( | double | x, | |
double | y | |||
) | const [inline] |
path length at distance of closest approach in the xy-plane to a given point
pair< double, double > AliFmHelix::PathLengths | ( | const AliFmHelix & | h, | |
bool | scanPeriods = true | |||
) | const |
path lengths at dca between two helices
double AliFmHelix::Distance | ( | const AliFmThreeVector< double > & | p, | |
bool | scanPeriods = true | |||
) | const |
minimal distance between point and helix
bool AliFmHelix::Valid | ( | double | world = 1.e+5 |
) | const [inline] |
checks for valid parametrization
int AliFmHelix::Bad | ( | double | world = 1.e+5 |
) | const [inline] |
void AliFmHelix::MoveOrigin | ( | double | s | ) | [virtual] |
move the origin along the helix to s which becomes then s=0
void AliFmHelix::SetCurvature | ( | double | d | ) | [protected] |
void AliFmHelix::SetPhase | ( | double | d | ) | [protected] |
performs also various checks
void AliFmHelix::SetDipAngle | ( | double | d | ) | [protected] |
double AliFmHelix::FudgePathLength | ( | const AliFmThreeVector< double > & | v | ) | const [protected] |
value of S where distance in x-y plane is minimal
const double AliFmHelix::fgkNoSolution = 3.e+33 [static] |
bool AliFmHelix::fSingularity [protected] |
AliFmThreeVector<double> AliFmHelix::fOrigin [protected] |
double AliFmHelix::fDipAngle [protected] |
double AliFmHelix::fCurvature [protected] |
double AliFmHelix::fPhase [protected] |
int AliFmHelix::fH [protected] |
double AliFmHelix::fCosDipAngle [protected] |
double AliFmHelix::fSinDipAngle [protected] |
double AliFmHelix::fCosPhase [protected] |
double AliFmHelix::fSinPhase [protected] |