 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/geometry/UncertainSZLine.h>
13 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
22 namespace TrackFindingCDC {
33 class CDCTrajectorySZ {
70 double getZDist(
const double s,
const double z)
const
82 double getSZDist(
const double s,
const double z)
const
double getPValue() const
Getter for p-value.
size_t getNDF() const
Getter for the number of degrees of freedom of the line fit.
void passiveMoveBy(const Vector2D &bySZ)
Moves the coordinate system by the vector by and calculates the new sz line and its covariance matrix...
bool isFitted() const
Indicates if the line has been fitted.
A line in sz where s is the transverse travel distance as seen in the xy projection with uncertaintie...
void setSZLine(const UncertainSZLine &szLine)
Setter for the line in sz space.
void setNDF(std::size_t ndf)
Setter for the number of degrees of freediom used in the line fit.
std::size_t ndf() const
Getter for the number of degrees of freediom used in the line fit.
double chi2() const
Getter for the chi square value of the line fit.
bool isInvalid() const
Indicates if the line parameters do not represent a valid line.
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 o...
double getChi2() const
Getter for the chi square value of the line fit.
static CDCTrajectorySZ basicAssumption()
Constucts a basic assumption, what the z0 start position and the sz slope are, including some broad v...
CDCTrajectorySZ()
Default constructor for ROOT compatibility.
static SZCovariance getBasicSZCovariance()
Getter for a default assumption about the parameter covariances.
Linear trajectory in sz space.
void setNDF(std::size_t ndf)
Setter for the number of degrees of freedom of the line fit.
void clear()
Clears all information from this trajectory line.
double mapSToZ(const double s=0) const
Translates the travel distance to the z coordinate.
void setChi2(const double chi2)
Setter for the chi square value of the line fit.
void invalidate()
Sets all line parameters to zero including the covariance matrix.
double getZ0() const
Getter for the z coordinate at zero travel distance.
Abstract base class for different kinds of events.
UncertainSZLine m_szLine
Memory for the line representation.
void passiveMoveS(const double deltaS)
Passively Shift the s coordinate by the amount given.
double map(double s) const
Maps the two dimensional arc length s to z.
double distance(const Vector2D &szPoint) const
Calculates the signed distance of the point to the line.
double mapPtToPz(const double pt) const
Translates the absolute value of the transvers momentum to the momentum in z direction.
double getZDist(const double s, const double z) const
Calculates the distance along between the given point an the sz trajectory.
double slope() const
Getter for the slope in the sz space which is equivalent to tan lambda.
const UncertainSZLine & getSZLine() const
Getter for the line in sz space.
double getTanLambda() const
Getter for the slope over the travel distance coordinate.
void setChi2(const double chi2)
Setter for the chi square value of the line fit.
double intercept() const
Getter for the intercept in the sz space which is equivalent to z0.