StRoot
1
|
Helis parametrization for the particle. More...
#include <StPicoPhysicalHelix.h>
Public Member Functions | |
StPicoPhysicalHelix () | |
Empty constructor. | |
StPicoPhysicalHelix (const TVector3 &, const TVector3 &, Double_t, Double_t) | |
StPicoPhysicalHelix (Double_t, Double_t, Double_t, const TVector3 &, Int_t h=-1) | |
Constructor with Curvature, dip angle, phase, origin, h. | |
~StPicoPhysicalHelix () | |
Destructor. | |
TVector3 | momentum (Double_t) const |
TVector3 | momentumAt (Double_t, Double_t) const |
Return momemtum at S. | |
Int_t | charge (Double_t) const |
Return charge of a particle. | |
Double_t | curvatureSignedDistance (Double_t x, Double_t y) |
2d DCA to x,y point signed relative to curvature | |
Double_t | geometricSignedDistance (Double_t x, Double_t y) |
2d DCA to x,y point signed relative to rotation | |
Double_t | curvatureSignedDistance (const TVector3 &) |
3d DCA to 3d point signed relative to curvature | |
Double_t | geometricSignedDistance (const TVector3 &) |
3d DCA to 3d point signed relative to rotation | |
Public Member Functions inherited from StPicoHelix | |
StPicoHelix () | |
Default constructor. | |
StPicoHelix (Double_t c, Double_t dip, Double_t phase, const TVector3 &o, Int_t h=-1) | |
StPicoHelix (const StPicoHelix &) | |
Copy constructor. | |
virtual | ~StPicoHelix () |
Destructor. | |
Double_t | dipAngle () const |
Return dip angle. | |
Double_t | curvature () const |
Return curvature: 1/R in xy-plane. | |
Double_t | phase () const |
Return phase: aziumth in xy-plane measured from ring center. | |
Double_t | xcenter () const |
Return x-center of circle in xy-plane. | |
Double_t | ycenter () const |
Return y-center of circle in xy-plane. | |
Int_t | h () const |
Return -sign(q*B);. | |
const TVector3 & | origin () const |
Return origin of the helix = starting point. | |
void | setParameters (Double_t c, Double_t dip, Double_t phase, const TVector3 &o, Int_t h) |
Set helix parameters. | |
Double_t | x (Double_t s) const |
coordinates of helix at point s | |
Double_t | y (Double_t s) const |
Double_t | z (Double_t s) const |
TVector3 | at (Double_t s) const |
Double_t | cx (Double_t s) const |
pointing vector of helix at point s | |
Double_t | cy (Double_t s) const |
Double_t | cz (Double_t s=0) const |
TVector3 | cat (Double_t s) const |
Double_t | period () const |
returns period length of helix | |
pair< Double_t, Double_t > | pathLength (Double_t r) const |
path length at given r (cylindrical r) | |
pair< Double_t, Double_t > | pathLength (Double_t r, Double_t x, Double_t y) |
path length at given r (cylindrical r, cylinder axis at x,y) | |
Double_t | pathLength (const TVector3 &p, Bool_t scanPeriods=true) const |
path length at distance of closest approach to a given point | |
Double_t | pathLength (const TVector3 &r, const TVector3 &n) const |
path length at intersection with plane | |
Double_t | pathLength (Double_t x, Double_t y) const |
path length at distance of closest approach in the xy-plane to a given point | |
pair< Double_t, Double_t > | pathLengths (const StPicoHelix &, Double_t minStepSize=10 *micrometer, Double_t minRange=10 *centimeter) const |
path lengths at dca between two helices | |
Double_t | distance (const TVector3 &p, Bool_t scanPeriods=true) const |
minimal distance between point and helix | |
Bool_t | valid (Double_t world=1.e+5) const |
checks for valid parametrization | |
Int_t | bad (Double_t world=1.e+5) const |
virtual void | moveOrigin (Double_t s) |
Move the origin along the helix to s which becomes then s=0. | |
Additional Inherited Members | |
Static Public Attributes inherited from StPicoHelix | |
static const Double_t | NoSolution = 3.e+33 |
Protected Member Functions inherited from StPicoHelix | |
void | setCurvature (Double_t) |
Set curvature of the helix. | |
void | setPhase (Double_t) |
Set phase of the helix. More... | |
void | setDipAngle (Double_t) |
Set dip angle of the helix. | |
Double_t | fudgePathLength (const TVector3 &) const |
Value of S where distance in x-y plane is minimal. | |
Protected Attributes inherited from StPicoHelix | |
Bool_t | mSingularity |
true for straight line case (B=0) | |
TVector3 | mOrigin |
starting point of a helix | |
Double_t | mDipAngle |
Dip angle. | |
Double_t | mCurvature |
Curvature = 1/R. | |
Double_t | mPhase |
Phase. | |
Int_t | mH |
-sign(q*B); | |
Double_t | mCosDipAngle |
Cos of dip angle. | |
Double_t | mSinDipAngle |
Sin of dip angle. | |
Double_t | mCosPhase |
Cos of phase. | |
Double_t | mSinPhase |
Helis parametrization for the particle.
Parametrization of a physical helix (modification of StPhysicalHelix) that uses ROOT classes
Definition at line 22 of file StPicoPhysicalHelix.h.
StPicoPhysicalHelix::StPicoPhysicalHelix | ( | const TVector3 & | p, |
const TVector3 & | o, | ||
Double_t | B, | ||
Double_t | q | ||
) |
Constructor with momentum, origin, signed Magnetic Field and Charge of particle (+/- 1)
Definition at line 32 of file StPicoPhysicalHelix.cxx.
References StPicoHelix::mCosDipAngle, StPicoHelix::mH, StPicoHelix::mOrigin, StPicoHelix::setCurvature(), StPicoHelix::setDipAngle(), and StPicoHelix::setPhase().
TVector3 StPicoPhysicalHelix::momentum | ( | Double_t | B | ) | const |
Return the momentum at origin
bField | magnetic field |
Definition at line 64 of file StPicoPhysicalHelix.cxx.
References StPicoHelix::mCurvature, StPicoHelix::mDipAngle, StPicoHelix::mH, StPicoHelix::mPhase, and StPicoHelix::mSingularity.
Referenced by momentumAt().