Belle II Software development
|
Linear trajectory in sz space. More...
#include <CDCTrajectorySZ.h>
Public Member Functions | |
CDCTrajectorySZ () | |
Default constructor for ROOT compatibility. | |
CDCTrajectorySZ (const UncertainSZLine &szLine) | |
Constructs the trajectory from the given two dimensional sz line. | |
CDCTrajectorySZ (const double tanLambda, const double z0) | |
Constructs the trajectory with the given slope and start z. | |
double | mapSToZ (const double s=0) const |
Translates the travel distance to the z coordinate. | |
double | mapPtToPz (const double pt) const |
Translates the absolute value of the transverse momentum to the momentum in z direction. | |
double | getZDist (const double s, const double z) const |
Calculates the distance along between the given point at the sz trajectory. | |
double | getSZDist (const double s, const double z) const |
Gets the signed distance of the sz point to the line in the sz plane This gives the signed distance of a given point in the sy plane Errors in s and z are equally weighted in this distance ( which might be an incorrect choice to fit to ). | |
void | passiveMoveS (const double deltaS) |
Passively Shift the s coordinate by the amount given. | |
bool | isFitted () const |
Indicates if the line has been fitted. | |
void | clear () |
Clears all information from this trajectory line. | |
double | getTanLambda () const |
Getter for the slope over the travel distance coordinate. | |
double | getZ0 () const |
Getter for the z coordinate at zero travel distance. | |
double | getPValue () const |
Getter for p-value. | |
double | getChi2 () const |
Getter for the chi square value of the line fit. | |
void | setChi2 (const double chi2) |
Setter for the chi square value of the line fit. | |
size_t | getNDF () const |
Getter for the number of degrees of freedom of the line fit. | |
void | setNDF (std::size_t ndf) |
Setter for the number of degrees of freedom of the line fit. | |
const UncertainSZLine & | getSZLine () const |
Getter for the line in sz space. | |
void | setSZLine (const UncertainSZLine &szLine) |
Setter for the line in sz space. | |
Static Public Member Functions | |
static SZCovariance | getBasicSZCovariance () |
Getter for a default assumption about the parameter covariances. | |
static CDCTrajectorySZ | basicAssumption () |
Constructs a basic assumption, what the z0 start position and the sz slope are, including some broad values for the covariance matrix. | |
Private Attributes | |
UncertainSZLine | m_szLine |
Memory for the line representation. | |
Linear trajectory in sz space.
Particle trajectories have a linear dependence between the travel distance s and
the z coordinate as the magnetic fields along z does not disturb the free z movement.
This class presents this trajectory projection by a line representation in sz space. The s coordinate is interpreted as the transvers travel distance, hence
the part of the travel distance see in the xy projection.
Definition at line 31 of file CDCTrajectorySZ.h.
|
inline |
|
inlineexplicit |
Constructs the trajectory from the given two dimensional sz line.
Definition at line 42 of file CDCTrajectorySZ.h.
|
inline |
Constructs the trajectory with the given slope and start z.
Definition at line 47 of file CDCTrajectorySZ.h.
|
static |
Constructs a basic assumption, what the z0 start position and the sz slope are, including some broad values for the covariance matrix.
Definition at line 27 of file CDCTrajectorySZ.cc.
|
inline |
Clears all information from this trajectory line.
Definition at line 100 of file CDCTrajectorySZ.h.
|
static |
Getter for a default assumption about the parameter covariances.
Definition at line 15 of file CDCTrajectorySZ.cc.
|
inline |
Getter for the chi square value of the line fit.
Definition at line 116 of file CDCTrajectorySZ.h.
|
inline |
Getter for the number of degrees of freedom of the line fit.
Definition at line 124 of file CDCTrajectorySZ.h.
|
inline |
Getter for p-value.
Definition at line 112 of file CDCTrajectorySZ.h.
|
inline |
Gets the signed distance of the sz point to the line in the sz plane This gives the signed distance of a given point in the sy plane
Errors in s and z are equally weighted in this distance
( which might be an incorrect choice to fit to ).
The plus sign mean the point is below the line. For minus it is above. The later is naturally chosen as the direction of positive advance is
coalined with the s axes
Definition at line 80 of file CDCTrajectorySZ.h.
|
inline |
|
inline |
Getter for the slope over the travel distance coordinate.
Definition at line 104 of file CDCTrajectorySZ.h.
|
inline |
Getter for the z coordinate at zero travel distance.
Definition at line 108 of file CDCTrajectorySZ.h.
|
inline |
Calculates the distance along between the given point at the sz trajectory.
Definition at line 68 of file CDCTrajectorySZ.h.
|
inline |
Indicates if the line has been fitted.
Definition at line 96 of file CDCTrajectorySZ.h.
|
inline |
Translates the absolute value of the transverse momentum to the momentum in z direction.
Scales the absolute value of the transverse momentum to the z component of the momentum vector. The z component comes with the correct sign as reflected by increasing or decreasing z component. Note : This assumes s to be the transverse travel distance.
Definition at line 64 of file CDCTrajectorySZ.h.
|
inline |
Translates the travel distance to the z coordinate.
Definition at line 55 of file CDCTrajectorySZ.h.
|
inline |
Passively Shift the s coordinate by the amount given.
Adjust all transverse travel distance measurements by deltaS.
The old values of s before the shift corresponds the new scale
like old_s - deltaS = new_s. This corresponds to an passive transformation
of s by deltaS. This can be used in conjunction with the return value of
CDCTrajectory2D::setStartPos2D() in order to move the transverse travel distance
by the same amount in both trajectories.
Definition at line 92 of file CDCTrajectorySZ.h.
|
inline |
Setter for the chi square value of the line fit.
Definition at line 120 of file CDCTrajectorySZ.h.
|
inline |
Setter for the number of degrees of freedom of the line fit.
Definition at line 128 of file CDCTrajectorySZ.h.
|
inline |
Setter for the line in sz space.
Definition at line 136 of file CDCTrajectorySZ.h.
|
private |
Memory for the line representation.
Definition at line 141 of file CDCTrajectorySZ.h.