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