Go to the documentation of this file.
7 #ifndef DataFormats_ProtonReco_ForwardProton_h
8 #define DataFormats_ProtonReco_ForwardProton_h
47 const float time = 0.,
48 const float time_err = 0.);
79 float xi()
const {
return xi_; }
83 float thetaY()
const {
return py() /
p(); }
105 static float calculateT(
double beam_mom,
double proton_mom,
double theta);
144 static constexpr
float mass_ = 0.938272046;
Vector momentum_
reconstructed momentum vector
ROOT::Math::SMatrix< float, N, N, ROOT::Math::MatRepSym< float, N > > type
float time_
reconstructed time at forward detectors
float thetaY() const
horizontal scattering angle, in rad
static float mass()
proton mass in GeV
void setMethod(const ReconstructionMethod &method)
set the reconstruction method for this track
const Point & vertex() const
fitted vertex position
float xiError() const
uncertainty on longitudinal fractional momentum loss
float normalizedChi2() const
chi-squared divided by ndof (or chi-squared * 1e6 if ndof is zero)
double error(Index i) const
return the uncertainty on a given component
math::ErrorF< dimension >::type CovarianceMatrix
dimension-parameter covariance matrix
ROOT::Math::Plane3D::Vector Vector
float chi2() const
chi-squared of the fit
bool valid_fit_
fit validity flag
ForwardProton()
default constructor
float thetaXError() const
uncertainty on fitted momentum horizontal angle opening
float time() const
time of proton arrival at forward stations
float px() const
fitted track momentum horizontal component
Point vertex_
reconstructed vertex position at z/s = 0
Geom::Theta< T > theta() const
const Vector & momentum() const
fitted track direction
math::XYZPointF Point
point in the space
static constexpr float mass_
proton mass, GeV
const CTPPSLocalTrackLiteRefVector & contributingLocalTracks() const
list of RP tracks that contributed to this global track
unsigned int ndof_
number of degrees of freedom
Structure Point Contains parameters of Gaussian fits to DMRs.
float time_err_
uncertainty on reconstructed time at forward detectors
float py() const
fitted track momentum vertical component
ReconstructionMethod
type of reconstruction applied for this track
float pz() const
fitted track momentum longitudinal component
float xi() const
longitudinal fractional momentum loss
unsigned int ndof() const
number of degrees of freedom for the track fit
float vz() const
vertex longitudinal position (conventionally set to 0)
static float calculateT(double beam_mom, double proton_mom, double theta)
compute the squared four-momentum transfer from incident and scattered momenta, and angular informati...
ReconstructionMethod method_
type of reconstruction applied
void setValidFit(bool valid=true)
set the flag for the fit validity
float thetaYError() const
uncertainty on fitted momentum vertical angle opening
float vxError() const
uncertainty on fitted vertex horizontal position
ReconstructionMethod method() const
reconstruction method for this track
float thetaX() const
vertical scattering angle, in rad
bool validFit() const
flag for the fit validity
float vx() const
fitted vertex horizontal position
Index
indices to the covariance matrix
float pt() const
scalar fitted track transverse momentum
CovarianceMatrix covariance_
5x5 covariance matrix
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
float vy() const
fitted vertex vertical position
float p() const
scalar norm of fitted track momentum
math::XYZVectorF Vector
spatial vector
void setContributingLocalTracks(const CTPPSLocalTrackLiteRefVector &v)
store the list of RP tracks that contributed to this global track
float timeError() const
uncertainty on time of proton arrival at forward stations
float t() const
four-momentum transfer squared, in GeV^2
float vyError() const
uncertainty on fitted vertex vertical position
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
CTPPSLocalTrackLiteRefVector contributing_local_tracks_
collection of references to tracks contributing to this object definition
void setTimeError(float time_err)
float xi_
fractional momentum loss (positive for diffractive protons)
static constexpr float massSquared_
proton mass squared, GeV^2
LHCSector lhcSector() const