CMS 3D CMS Logo

DTSegmentCleaner Class Reference

#include <RecoLocalMuon/DTSegment/src/DTSegmentCleaner.h>

List of all members.

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


Detailed Description

Definition at line 33 of file DTSegmentCleaner.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 35 of file DTSegmentCleaner.cc.

00035                                     {
00036 }


Member Function Documentation

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


Member Data Documentation

int DTSegmentCleaner::nSharedHitsMax [private]

Definition at line 57 of file DTSegmentCleaner.h.

Referenced by DTSegmentCleaner().

int DTSegmentCleaner::nUnSharedHitsMin [private]

Definition at line 58 of file DTSegmentCleaner.h.

Referenced by DTSegmentCleaner().

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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:06 2009 for CMSSW by  doxygen 1.5.4