#include <DTSegmentCleaner.h>
Public Types | |
typedef std::pair < DTHitPairForFit *, DTEnums::DTCellSide > | AssPoint |
typedef std::set< AssPoint, DTSegmentCand::AssPointLessZ > | AssPointCont |
Public Member Functions | |
std::vector< DTSegmentCand * > | clean (const std::vector< DTSegmentCand * > &inputCands) const |
do the cleaning More... | |
DTSegmentCleaner (const edm::ParameterSet &pset) | |
~DTSegmentCleaner () | |
Private Member Functions | |
std::vector< DTSegmentCand * > | ghostBuster (const std::vector< DTSegmentCand * > &inputCands) const |
ghost suppression More... | |
std::vector< DTSegmentCand * > | solveConflict (const std::vector< DTSegmentCand * > &inputCands) const |
solve the conflicts More... | |
Private Attributes | |
int | nSharedHitsMax |
int | nUnSharedHitsMin |
int | segmCleanerMode |
Definition at line 31 of file DTSegmentCleaner.h.
typedef std::pair<DTHitPairForFit*, DTEnums::DTCellSide> DTSegmentCleaner::AssPoint |
Definition at line 33 of file DTSegmentCleaner.h.
typedef std::set<AssPoint, DTSegmentCand::AssPointLessZ> DTSegmentCleaner::AssPointCont |
Definition at line 34 of file DTSegmentCleaner.h.
DTSegmentCleaner::DTSegmentCleaner | ( | const edm::ParameterSet & | pset | ) |
Definition at line 20 of file DTSegmentCleaner.cc.
References edm::ParameterSet::getParameter().
DTSegmentCleaner::~DTSegmentCleaner | ( | ) |
Definition at line 33 of file DTSegmentCleaner.cc.
vector< DTSegmentCand * > DTSegmentCleaner::clean | ( | const std::vector< DTSegmentCand * > & | inputCands | ) | const |
do the cleaning
Definition at line 36 of file DTSegmentCleaner.cc.
References mps_fire::result.
Referenced by DTCombinatorialExtendedPatternReco::buildSegments(), DTCombinatorialPatternReco::buildSegments(), and DTMeantimerPatternReco::buildSegments().
|
private |
ghost suppression
cout << "Sharing " << (**cand) << " " << (**cand2) << " " << nSharedHits
Definition at line 129 of file DTSegmentCleaner.cc.
References mps_fire::result.
|
private |
solve the conflicts
treatment of LR ambiguity cases: 1 chooses the best chi2 2 chooses the smaller angle 3 keeps both candidates
Definition at line 48 of file DTSegmentCleaner.cc.
References GetRecoTauVFromDQM_MC_cff::dir2, listHistos::IP, DTSegmentCand::removeHit(), mps_fire::result, PV3DBase< T, PVType, FrameType >::theta(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 53 of file DTSegmentCleaner.h.
|
private |
Definition at line 54 of file DTSegmentCleaner.h.
|
private |
treatment of LR ambiguity cases: 1 chooses the best chi2 2 chooses the smaller angle 3 keeps both candidates
Definition at line 58 of file DTSegmentCleaner.h.