#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 35 of file DTSegmentCleaner.h.
typedef std::set<AssPoint, DTSegmentCand::AssPointLessZ> DTSegmentCleaner::AssPointCont |
Definition at line 36 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 37 of file DTSegmentCleaner.cc.
References query::result.
Referenced by DTCombinatorialPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::buildSegments(), and DTMeantimerPatternReco::buildSegments().
|
private |
ghost suppression
cout << "Sharing " << (**cand) << " " << (**cand2) << " " << nSharedHits
Definition at line 135 of file DTSegmentCleaner.cc.
References query::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(), query::result, PV3DBase< T, PVType, FrameType >::theta(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 55 of file DTSegmentCleaner.h.
|
private |
Definition at line 56 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 60 of file DTSegmentCleaner.h.