10 #ifndef DataFormats_CTPPSReco_CTPPSDiamondLocalTrack 11 #define DataFormats_CTPPSReco_CTPPSDiamondLocalTrack 33 return ( ( recHit.
getZ() *
pos0_.z() > 0. )
67 inline float getT()
const {
return t_; }
111 if ( lhs.
getT() < rhs.
getT() )
return true;
112 if ( lhs.
getT() > rhs.
getT() )
return false;
int ts_index_
Time slice index.
Reconstructed hit in diamond detectors.
CTPPSDiamondLocalTrack(const math::XYZPoint &pos0, const math::XYZPoint &pos0_sigma, float t, float t_sigma, int oot_idx, int mult_hits)
void setValid(bool valid)
int num_planes_
number of planes participating in the track
int mh_
Multiple hits counter.
void setMultipleHits(const int i)
bool operator<(const CTPPSDiamondLocalTrack &lhs, const CTPPSDiamondLocalTrack &rhs)
bool containsHit(const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
virtual ~CTPPSDiamondLocalTrack()
void setPositionSigma(const math::XYZPoint &pos0_sigma)
void setNumOfHits(const int num_hits)
void setPosition(const math::XYZPoint &pos0)
int getMultipleHits() const
XYZPointD XYZPoint
point in space with cartesian internal representation
void setNumOfPlanes(const int num_planes)
int getNumOfPlanes() const
math::XYZPoint pos0_
initial track position
static constexpr int TIMESLICE_WITHOUT_LEADING
void setTSigma(const float t_sigma)
void setOOTIndex(const int i)
int num_hits_
number of hits participating in the track
math::XYZPoint pos0_sigma_
error on the initial track position