7 #ifndef DataFormats_ProtonReco_ForwardProton_h 8 #define DataFormats_ProtonReco_ForwardProton_h 43 const float time=0.,
const float time_err=0. );
76 float xi()
const {
return xi_; }
104 static float calculateT(
double beam_mom,
double proton_mom,
double theta );
133 enum class LHCSector { invalid = -1, sector45, sector56 };
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)
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
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
static float mass_
proton mass, GeV
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
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
static float massSquared_
proton mass squared, GeV^2
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