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