#include <RecoLocalMuon/DTSegment/src/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 (std::vector< DTSegmentCand * > inputCands) const |
do the cleaning | |
DTSegmentCleaner (const edm::ParameterSet &pset) | |
~DTSegmentCleaner () | |
Private Member Functions | |
std::vector< DTSegmentCand * > | ghostBuster (std::vector< DTSegmentCand * > inputCands) const |
ghost suppression | |
std::vector< DTSegmentCand * > | solveConflict (std::vector< DTSegmentCand * > inputCands) const |
solve the conflicts | |
Private Attributes | |
int | nSharedHitsMax |
int | nUnSharedHitsMin |
int | segmCleanerMode |
treatment of LR ambiguity cases: 1 chooses the best chi2 2 chooses the smaller angle 3 keeps both candidates |
Definition at line 33 of file DTSegmentCleaner.h.
typedef std::pair<DTHitPairForFit*, DTEnums::DTCellSide> DTSegmentCleaner::AssPoint |
Definition at line 37 of file DTSegmentCleaner.h.
typedef std::set<AssPoint, DTSegmentCand::AssPointLessZ> DTSegmentCleaner::AssPointCont |
Definition at line 38 of file DTSegmentCleaner.h.
DTSegmentCleaner::DTSegmentCleaner | ( | const edm::ParameterSet & | pset | ) |
Definition at line 22 of file DTSegmentCleaner.cc.
References edm::ParameterSet::getParameter(), nSharedHitsMax, nUnSharedHitsMin, and segmCleanerMode.
00022 { 00023 nSharedHitsMax = pset.getParameter<int>("nSharedHitsMax"); 00024 00025 nUnSharedHitsMin = pset.getParameter<int>("nUnSharedHitsMin"); 00026 00027 segmCleanerMode = pset.getParameter<int>("segmCleanerMode"); 00028 00029 if((segmCleanerMode!=1)&&(segmCleanerMode!=2)&&(segmCleanerMode!=3)) 00030 edm::LogError("Muon|RecoLocalMuon|DTSegmentCleaner") 00031 << "Wrong segmCleanerMode! It must be 1,2 or 3. The default is 1"; 00032 }
DTSegmentCleaner::~DTSegmentCleaner | ( | ) |
std::vector<DTSegmentCand*> DTSegmentCleaner::clean | ( | std::vector< DTSegmentCand * > | inputCands | ) | const |
do the cleaning
Referenced by DTCombinatorialPatternReco::buildSegments(), and DTMeantimerPatternReco::buildSegments().
std::vector<DTSegmentCand*> DTSegmentCleaner::ghostBuster | ( | std::vector< DTSegmentCand * > | inputCands | ) | const [private] |
ghost suppression
std::vector<DTSegmentCand*> DTSegmentCleaner::solveConflict | ( | std::vector< DTSegmentCand * > | inputCands | ) | const [private] |
solve the conflicts
int DTSegmentCleaner::nSharedHitsMax [private] |
int DTSegmentCleaner::nUnSharedHitsMin [private] |
int DTSegmentCleaner::segmCleanerMode [private] |
treatment of LR ambiguity cases: 1 chooses the best chi2 2 chooses the smaller angle 3 keeps both candidates
Definition at line 62 of file DTSegmentCleaner.h.
Referenced by DTSegmentCleaner().