1 #ifndef DTSegment_DTSegmentCand_h
2 #define DTSegment_DTSegmentCand_h
57 virtual bool good()
const ;
70 virtual double t0()
const {
return thet0; }
90 virtual unsigned int NDOF()
const {
return nHits()-2; }
136 public std::binary_function<const AssPoint&, const AssPoint&, bool> {
163 #endif // DTSegment_DTSegmentCand_h
std::pair< std::shared_ptr< DTHitPairForFit >, DTEnums::DTCellSide > AssPoint
virtual double chi2ndof() const
the chi2/NDOF of the fit
virtual AlgebraicSymMatrix covMatrix() const
the covariance matrix
virtual const AssPointCont & hits() const
the used hits
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
static const unsigned int nHitsMin
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 void add(AssPoint newHit)
add hits to the hit list.
virtual bool operator<(const DTSegmentCand &seg)
less operator based on nHits and chi2
virtual void setCovMatrix(AlgebraicSymMatrix &cov)
set the cov matrix
static const double chi2max
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
const DTSuperLayer * theSL
virtual AssPointCont conflictingHitPairs(const DTSegmentCand &seg) const
std::set< AssPoint, AssPointLessZ > AssPointCont
virtual void sett0(double &t0)
set t0
virtual unsigned int nHits() const
virtual double t0() const
the t0 of the segment
virtual LocalPoint position() const
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