#include <DTSegmentExtendedCand.h>
Classes | |
struct | DTSLRecClusterForFit |
Public Member Functions | |
void | addClus (const DTSegmentExtendedCand::DTSLRecClusterForFit &clus) |
std::vector< DTSegmentExtendedCand::DTSLRecClusterForFit > | clusters () const |
DTSegmentExtendedCand (DTSegmentCand *cand) | |
bool | good () const override |
bool | isCompatible (const DTSegmentExtendedCand::DTSLRecClusterForFit &clus) |
unsigned int | nHits () const override |
~DTSegmentExtendedCand () override | |
Public Member Functions inherited from DTSegmentCand | |
virtual void | add (AssPoint newHit) |
add hits to the hit list. More... | |
virtual void | add (std::shared_ptr< DTHitPairForFit > hit, DTEnums::DTCellSide code) |
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 (const AssPointCont &hits, LocalPoint &position, LocalVector &direction, double chi2, const AlgebraicSymMatrix &covMat, const DTSuperLayer *sl) | |
virtual const 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... | |
virtual void | sett0 (double &t0) |
set t0 More... | |
const DTSuperLayer * | superLayer () const |
the super layer on which relies More... | |
virtual double | t0 () const |
the t0 of the segment More... | |
virtual | ~DTSegmentCand () |
Destructor. More... | |
Private Attributes | |
std::vector< DTSLRecClusterForFit > | theClus |
Additional Inherited Members | |
Public Types inherited from DTSegmentCand | |
typedef std::pair< std::shared_ptr< DTHitPairForFit >, DTEnums::DTCellSide > | AssPoint |
typedef std::set< AssPoint, AssPointLessZ > | AssPointCont |
Static Protected Attributes inherited from DTSegmentCand | |
static const double | chi2max = 20. |
static const unsigned int | nHitsMin = 3 |
|
inline |
Definition at line 34 of file DTSegmentExtendedCand.h.
|
inlineoverride |
Definition at line 37 of file DTSegmentExtendedCand.h.
|
inline |
Definition at line 40 of file DTSegmentExtendedCand.h.
References theClus.
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
inline |
Definition at line 42 of file DTSegmentExtendedCand.h.
References theClus.
|
overridevirtual |
Reimplemented from DTSegmentCand.
Definition at line 40 of file DTSegmentExtendedCand.cc.
References nano_mu_local_reco_cff::chi2, HLT_2024v11_cff::chi2max, DTSegmentCand::nHits(), and nano_mu_digi_cff::superLayer.
Referenced by DTCombinatorialExtendedPatternReco::buildSegments().
bool DTSegmentExtendedCand::isCompatible | ( | const DTSegmentExtendedCand::DTSLRecClusterForFit & | clus | ) |
Definition at line 29 of file DTSegmentExtendedCand.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), funct::cos(), DTSegmentExtendedCand::DTSLRecClusterForFit::err, SiStripPI::max, DTSegmentExtendedCand::DTSLRecClusterForFit::pos, position, mathSSE::sqrt(), LocalError::xx(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
overridevirtual |
Reimplemented from DTSegmentCand.
Definition at line 38 of file DTSegmentExtendedCand.cc.
References DTSegmentCand::nHits().
Referenced by DTCombinatorialExtendedPatternReco::extendCandidates().
|
private |
Definition at line 62 of file DTSegmentExtendedCand.h.
Referenced by addClus(), and clusters().