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