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