Belle II Software
release-08-01-10
|
Particle full three dimensional trajectory. More...
#include <CDCTrajectory3D.h>
Public Member Functions | |
CDCTrajectory3D () | |
Default constructor for ROOT compatibility. | |
CDCTrajectory3D (const UncertainHelix &helix) | |
Constructs a trajectory from a helix with reference point equivalent to the origin. | |
CDCTrajectory3D (const Helix &helix) | |
conversion constructor to make that one stupid test work | |
CDCTrajectory3D (const Vector3D &localOrigin, const UncertainHelix &localHelix, double flightTime=NAN) | |
Constructs a trajectory from a local helix taken as relative to the given origin. | |
CDCTrajectory3D (const CDCTrajectory2D &trajectory2D, const CDCTrajectorySZ &trajectorySZ) | |
Construct a three dimensional trajectory from a two dimensional circular trajectory and sz linear trajectory. | |
CDCTrajectory3D (const CDCTrajectory2D &trajectory2D) | |
Construct a trajectory from a two dimensional circular trajectory filling the remaining two parameters and covariance matrix with default values. | |
CDCTrajectory3D (const Vector3D &pos3D, double time, const Vector3D &mom3D, double charge, double bZ) | |
Construct a trajectory with given start point, momentum at the start point and given charge. More... | |
CDCTrajectory3D (const Vector3D &pos3D, double time, const Vector3D &mom3D, double charge) | |
Construct a trajectory with given start point, momentum at the start point and given charge. | |
CDCTrajectory3D (const MCParticle &mcParticle, double bZ) | |
Construct a trajectory from the MCParticles vertex and momentum. | |
CDCTrajectory3D (const MCParticle &mcParticle) | |
Construct a trajectory from the MCParticles vertex and momentum. | |
CDCTrajectory3D (const genfit::TrackCand &gfTrackCand, double bZ) | |
Construct a trajectory by extracting the seed position of the genfit::TrackCand. | |
CDCTrajectory3D (const genfit::TrackCand &gfTrackCand) | |
Construct a trajectory by extracting the seed position of the genfit::TrackCand. | |
bool | isInvalid () const |
Checks if the trajectory is already set to a valid value. | |
bool | isFitted () const |
Checks if the trajectory has already been set to a valid value. | |
void | clear () |
Clears all information from this trajectoy. | |
bool | fillInto (genfit::TrackCand &trackCand) const |
Copies the trajectory information to the Genfit track candidate. | |
bool | fillInto (genfit::TrackCand &gfTrackCand, double bZ) const |
Copies the trajectory information to the Genfit track candidate. | |
CovarianceMatrix< 6 > | getCartesianCovariance (double bZ) const |
Convert the helix parameters to the cartesian coordinates x,y,z,px,py,pz. | |
void | reverse () |
Reverses the trajectory in place. | |
CDCTrajectory3D | reversed () const |
Returns the reverse trajectory as a copy. | |
Vector3D | reconstruct3D (const WireLine &wireLine, double distance=0.0) const |
Gives the three dimensional point which is on the dirft circle away from the wire line. More... | |
double | calcArcLength2D (const Vector3D &point) const |
Calculate the travel distance from the start position of the trajectory. More... | |
double | getArcLength2DPeriod () const |
Getter for the arc length for one round trip around the trajectory. | |
double | shiftPeriod (int nPeriods) |
Adjusts the z0 to the one that lies n periods forward. More... | |
ESign | getChargeSign () const |
Gets the charge sign of the trajectory. | |
double | getAbsMom3D (double bZ) const |
Get the estimation for the absolute value of the transvers momentum. | |
double | getAbsMom3D () const |
Get the estimation for the absolute value of the transvers momentum. | |
Vector3D | getMom3DAtSupport (const double bZ) const |
Get the momentum at the start point of the trajectory. | |
Vector3D | getMom3DAtSupport () const |
Get the momentum at the start point of the trajectory. | |
Vector3D | getFlightDirection3DAtSupport () const |
Get the unit momentum at the start point of the trajectory. | |
Vector3D | getSupport () const |
Getter for the support point of the trajectory in global coordinates, where arcLength2D = 0. | |
Vector3D | getGlobalPerigee () const |
Getter for the closest approach on the trajectory to the global origin. | |
Vector2D | getGlobalCenter () const |
Getter for the center of the helix in global coordinates. | |
bool | isCurler (double factor=1) const |
Checks if the trajectory leaves the outer radius of the CDC times the given tolerance factor. | |
double | getMaximalCylindricalR () const |
Getter for the maximal distance from the origin. | |
double | getMinimalCylindricalR () const |
Getter for the minimal distance from the origin. | |
double | getGlobalImpact () const |
Getter for the signed impact parameter of the trajectory. | |
CDCTrajectory2D | getTrajectory2D () const |
Getter for the two dimensional trajectory. | |
CDCTrajectorySZ | getTrajectorySZ () const |
Getter for the sz trajectory. | |
PerigeeCircle | getGlobalCircle () const |
Getter for the circle in global coordinates. | |
UncertainPerigeeCircle | getLocalCircle () const |
Getter for the circle in local coordinates. | |
UncertainSZLine | getLocalSZLine () const |
Getter for the sz line starting from the local origin. | |
double | getLocalCovariance (EHelixParameter iRow, EHelixParameter iCol) const |
Getter for an individual element of the covariance matrix of the local helix parameters. | |
double | getLocalVariance (EHelixParameter i) const |
Getter for an individual diagonal element of the covariance matrix of the local helix parameters. | |
double | getTanLambda () const |
Getter for the slope of z over the transverse travel distance s. | |
double | getCurvatureXY () const |
Getter for the curvature as seen from the xy projection. | |
double | getPValue () const |
Getter for p-value. | |
double | getChi2 () const |
Getter for the chi2 value of the fit. | |
void | setChi2 (const double chi2) |
Setter for the chi square value of the helix fit. | |
size_t | getNDF () const |
Getter for the number of degrees of freedom of the helix fit. | |
void | setNDF (std::size_t ndf) |
Setter for the number of degrees of freedom of the helix fit. | |
const UncertainHelix & | getLocalHelix () const |
Getter for the helix in local coordinates. | |
void | setLocalHelix (const UncertainHelix &localHelix) |
Setter for the helix that describes the trajectory in local coordinates. | |
const Vector3D & | getLocalOrigin () const |
Getter for the origin of the local coordinate system. | |
double | setLocalOrigin (const Vector3D &localOrigin) |
Setter for the origin of the local coordinate system. More... | |
double | getFlightTime () const |
Getter for the time when the particle reached the support point position. | |
void | setFlightTime (double flightTime) |
Setter for the time when the particle reached the support point position. | |
Private Attributes | |
Vector3D | m_localOrigin |
Memory for local coordinate origin of the circle representing the trajectory in global coordinates. | |
UncertainHelix | m_localHelix |
Memory for the generalized circle describing the trajectory in coordinates from the local origin. | |
double | m_flightTime = NAN |
Memory for the estimation of the time at which the particle arrived at the support point. | |
Particle full three dimensional trajectory.
Definition at line 45 of file CDCTrajectory3D.h.
CDCTrajectory3D | ( | const Vector3D & | pos3D, |
double | time, | ||
const Vector3D & | mom3D, | ||
double | charge, | ||
double | bZ | ||
) |
Construct a trajectory with given start point, momentum at the start point and given charge.
Additionally this can takes an explicit bZ value instead of a field value from the instance BFieldMap.
Definition at line 60 of file CDCTrajectory3D.cc.
|
inline |
Calculate the travel distance from the start position of the trajectory.
Returns the travel distance on the trajectory from the start point to
the given point. This is subjected to a discontinuity at the far point
of the circle. Hence the value return is in the range from -pi*radius to pi*radius
If you have a heavily curling track you have care about the feasibility of this
calculation.
Definition at line 178 of file CDCTrajectory3D.h.
Gives the three dimensional point which is on the dirft circle away from the wire line.
This method makes the reconstruction of the z coordinate possible by using the skewness
stereo layer of the stereo wires. The point is determined such that it is at the (signed) distance to the wire line.
double setLocalOrigin | ( | const Vector3D & | localOrigin | ) |
Setter for the origin of the local coordinate system.
This sets the origin point the local helix representation is subjected. The local helix is changed such that the set of points in global space is not changed.
Definition at line 366 of file CDCTrajectory3D.cc.
double shiftPeriod | ( | int | nPeriods | ) |
Adjusts the z0 to the one that lies n periods forward.
Definition at line 326 of file CDCTrajectory3D.cc.