11 #ifndef DataFormats_CTPPSReco_CTPPSTimingLocalTrack 12 #define DataFormats_CTPPSReco_CTPPSTimingLocalTrack 31 inline float x0()
const {
return pos0_.x(); }
34 inline float y0()
const {
return pos0_.y(); }
37 inline float z0()
const {
return pos0_.z(); }
58 inline float time()
const {
return t_; }
Reconstructed hit in timing detectors.
void setNumOfPlanes(int num_planes)
math::XYZPoint pos0_sigma_
error on the initial track position
int numberOfPlanes() const
void setTimeSigma(float t_sigma)
bool operator<(const CTPPSTimingLocalTrack &lhs, const CTPPSTimingLocalTrack &rhs)
Comparison operator.
int num_hits_
number of hits participating in the track
void setPosition(const math::XYZPoint &pos0)
math::XYZPoint pos0_
initial track position
XYZPointD XYZPoint
point in space with cartesian internal representation
int num_planes_
number of planes participating in the track
void setNumOfHits(int num_hits)
bool containsHit(const CTPPSTimingRecHit &recHit, float tolerance=0.1f, CheckDimension check=CheckDimension::all) const
void setPositionSigma(const math::XYZPoint &pos0_sigma)
void setValid(bool valid)