#include <DTSegmentExtendedCand.h>
Classes | |
struct | DTSLRecClusterForFit |
Public Member Functions | |
void | addClus (const DTSegmentExtendedCand::DTSLRecClusterForFit &clus) |
std::vector < DTSegmentExtendedCand::DTSLRecClusterForFit > | clusters () const |
DTSegmentExtendedCand (DTSegmentCand *cand) | |
virtual bool | good () const |
bool | isCompatible (const DTSegmentExtendedCand::DTSLRecClusterForFit &clus) |
virtual unsigned int | nHits () const |
virtual | ~DTSegmentExtendedCand () |
Public Member Functions inherited from DTSegmentCand | |
virtual void | add (DTHitPairForFit *hit, DTEnums::DTCellSide code) |
add hits to the hit list. More... | |
virtual double | chi2 () const |
the chi2 (NOT chi2/NDOF) of the fit More... | |
virtual double | chi2ndof () const |
the chi2/NDOF of the fit More... | |
virtual AssPointCont | conflictingHitPairs (const DTSegmentCand &seg) const |
virtual AlgebraicSymMatrix | covMatrix () const |
the covariance matrix More... | |
virtual LocalVector | direction () const |
DTSegmentCand (AssPointCont &hits, const DTSuperLayer *sl) | |
Constructor. More... | |
DTSegmentCand (AssPointCont hits, LocalPoint &position, LocalVector &direction, double chi2, AlgebraicSymMatrix covMat, const DTSuperLayer *sl) | |
virtual AssPointCont | hits () const |
the used hits More... | |
virtual bool | hitsShareLayer () const |
virtual unsigned int | NDOF () const |
virtual int | nLayers () const |
number of different layers with hits More... | |
virtual int | nSharedHitPairs (const DTSegmentCand &seg) const |
number of shared hit pair with other segment candidate More... | |
operator DTChamberRecSegment2D * () const | |
convert this DTSegmentCand into a DTChamberRecSegment2D More... | |
operator DTSLRecSegment2D * () const | |
convert this DTSegmentCand into a DTRecSegment2D More... | |
virtual bool | operator< (const DTSegmentCand &seg) |
less operator based on nHits and chi2 More... | |
virtual bool | operator== (const DTSegmentCand &seg) |
equality operator based on position, direction, chi2 and nHits More... | |
virtual LocalPoint | position () const |
virtual void | removeHit (AssPoint hit) |
remove hit from the candidate More... | |
virtual void | setChi2 (double &chi2) |
set chi2 More... | |
virtual void | setCovMatrix (AlgebraicSymMatrix &cov) |
set the cov matrix More... | |
virtual void | setDirection (LocalVector &dir) |
set direction More... | |
virtual void | setPosition (LocalPoint &pos) |
set position More... | |
const DTSuperLayer * | superLayer () const |
the super layer on which relies More... | |
virtual | ~DTSegmentCand () |
Destructor. More... | |
Private Attributes | |
std::vector< DTSLRecClusterForFit > | theClus |
Additional Inherited Members | |
Public Types inherited from DTSegmentCand | |
typedef std::pair < DTHitPairForFit *, DTEnums::DTCellSide > | AssPoint |
typedef std::set< AssPoint, AssPointLessZ > | AssPointCont |
Static Protected Attributes inherited from DTSegmentCand | |
static double | chi2max =20. |
static unsigned int | nHitsMin =3 |
|
inline |
Definition at line 36 of file DTSegmentExtendedCand.h.
|
inlinevirtual |
Definition at line 41 of file DTSegmentExtendedCand.h.
|
inline |
Definition at line 44 of file DTSegmentExtendedCand.h.
References theClus.
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
inline |
Definition at line 48 of file DTSegmentExtendedCand.h.
References theClus.
|
virtual |
Reimplemented from DTSegmentCand.
Definition at line 44 of file DTSegmentExtendedCand.cc.
References ExpressReco_HICollisions_FallBack::chi2, and DTSegmentCand::nHits().
Referenced by DTCombinatorialExtendedPatternReco::buildSegments().
bool DTSegmentExtendedCand::isCompatible | ( | const DTSegmentExtendedCand::DTSLRecClusterForFit & | clus | ) |
Definition at line 30 of file DTSegmentExtendedCand.cc.
References funct::cos(), DTSegmentExtendedCand::DTSLRecClusterForFit::err, max(), DTSegmentExtendedCand::DTSLRecClusterForFit::pos, position, mathSSE::sqrt(), LocalError::xx(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
virtual |
Reimplemented from DTSegmentCand.
Definition at line 40 of file DTSegmentExtendedCand.cc.
References DTSegmentCand::nHits().
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
private |
Definition at line 72 of file DTSegmentExtendedCand.h.
Referenced by addClus(), and clusters().