#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 HLT_2018_cff::nSharedHitsMax, HLT_2018_cff::nUnSharedHitsMin, muonDTDigis_cfi::pset, and HLT_2018_cff::segmCleanerMode.
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 createfilelist::int, HLT_2018_cff::nSharedHitsMax, HLT_2018_cff::nUnSharedHitsMin, mps_fire::result, and HLT_2018_cff::segmCleanerMode.
|
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 L1TDiffHarvesting_cfi::dir1, L1TDiffHarvesting_cfi::dir2, listHistos::IP, DTSegmentCand::removeHit(), mps_fire::result, HLT_2018_cff::segmCleanerMode, and PV3DBase< T, PVType, FrameType >::theta().
|
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.