Go to the documentation of this file. 1 #ifndef DTSegment_DTSegmentCand_h
2 #define DTSegment_DTSegmentCand_h
54 virtual bool good()
const;
67 virtual double t0()
const {
return thet0; }
87 virtual unsigned int NDOF()
const {
return nHits() - 2; }
157 #endif // DTSegment_DTSegmentCand_h
virtual double t0() const
the t0 of the segment
virtual bool operator<(const DTSegmentCand &seg)
less operator based on nHits and chi2
virtual void sett0(double &t0)
set t0
virtual bool hitsShareLayer() const
virtual void setPosition(LocalPoint &pos)
set position
virtual LocalVector direction() const
virtual unsigned int nHits() const
AlgebraicSymMatrix theCovMatrix
virtual AssPointCont conflictingHitPairs(const DTSegmentCand &seg) const
virtual int nLayers() const
number of different layers with hits
virtual void setDirection(LocalVector &dir)
set direction
virtual unsigned int NDOF() const
static const double chi2max
const DTSuperLayer * superLayer() const
the super layer on which relies
virtual void setChi2(double &chi2)
set chi2
virtual LocalPoint position() const
std::pair< std::shared_ptr< DTHitPairForFit >, DTEnums::DTCellSide > AssPoint
virtual const AssPointCont & hits() const
the used hits
virtual double chi2() const
the chi2 (NOT chi2/NDOF) of the fit
virtual void add(AssPoint newHit)
add hits to the hit list.
virtual double chi2ndof() const
the chi2/NDOF of the fit
virtual bool operator==(const DTSegmentCand &seg)
equality operator based on position, direction, chi2 and nHits
virtual AlgebraicSymMatrix covMatrix() const
the covariance matrix
std::set< AssPoint, AssPointLessZ > AssPointCont
CLHEP::HepSymMatrix AlgebraicSymMatrix
static const unsigned int nHitsMin
const DTSuperLayer * theSL
virtual bool good() const
DTSegmentCand(AssPointCont &hits, const DTSuperLayer *sl)
Constructor.
DTCellSide
Which side of the DT cell.
virtual void removeHit(AssPoint hit)
remove hit from the candidate
bool operator()(const AssPoint &pt1, const AssPoint &pt2) const
std::ostream & operator<<(std::ostream &out, const DTSegmentCand &seg)
virtual int nSharedHitPairs(const DTSegmentCand &seg) const
number of shared hit pair with other segment candidate
virtual void setCovMatrix(AlgebraicSymMatrix &cov)
set the cov matrix
virtual ~DTSegmentCand()
Destructor.