CMS 3D CMS Logo

DTSegmentCleaner.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTSegmentCleaner_h
2 #define DTSegment_DTSegmentCleaner_h
3 
18 /* Base Class Headers */
19 
20 /* Collaborating Class Declarations */
23 
24 /* C++ Headers */
25 #include <vector>
26 
27 /* ====================================================================== */
28 
29 /* Class DTSegmentCleaner Interface */
30 
32 public:
33  typedef std::pair<DTHitPairForFit*, DTEnums::DTCellSide> AssPoint;
34  typedef std::set<AssPoint, DTSegmentCand::AssPointLessZ> AssPointCont;
35 
36  /* Constructor */
38 
39  /* Destructor */
41 
42  /* Operations */
44  std::vector<DTSegmentCand*> clean(const std::vector<DTSegmentCand*>& inputCands) const;
45 
46 private:
48  std::vector<DTSegmentCand*> solveConflict(const std::vector<DTSegmentCand*>& inputCands) const;
49 
51  std::vector<DTSegmentCand*> ghostBuster(const std::vector<DTSegmentCand*>& inputCands) const;
52 
59 };
60 #endif // DTSegment_DTSegmentCleaner_h
DTSegmentCleaner::AssPointCont
std::set< AssPoint, DTSegmentCand::AssPointLessZ > AssPointCont
Definition: DTSegmentCleaner.h:34
DTSegmentCleaner::DTSegmentCleaner
DTSegmentCleaner(const edm::ParameterSet &pset)
Definition: DTSegmentCleaner.cc:20
DTSegmentCleaner::~DTSegmentCleaner
~DTSegmentCleaner()
Definition: DTSegmentCleaner.cc:33
DTSegmentCleaner::segmCleanerMode
int segmCleanerMode
Definition: DTSegmentCleaner.h:58
DTSegmentCleaner::solveConflict
std::vector< DTSegmentCand * > solveConflict(const std::vector< DTSegmentCand * > &inputCands) const
solve the conflicts
Definition: DTSegmentCleaner.cc:48
DTSegmentCleaner::nSharedHitsMax
int nSharedHitsMax
Definition: DTSegmentCleaner.h:53
DTSegmentCand.h
DTSegmentCleaner
Definition: DTSegmentCleaner.h:31
DTSegmentCleaner::nUnSharedHitsMin
int nUnSharedHitsMin
Definition: DTSegmentCleaner.h:54
DTSegmentCleaner::ghostBuster
std::vector< DTSegmentCand * > ghostBuster(const std::vector< DTSegmentCand * > &inputCands) const
ghost suppression
Definition: DTSegmentCleaner.cc:129
edm::ParameterSet
Definition: ParameterSet.h:36
DTSegmentCleaner::clean
std::vector< DTSegmentCand * > clean(const std::vector< DTSegmentCand * > &inputCands) const
do the cleaning
Definition: DTSegmentCleaner.cc:36
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTSegmentCleaner::AssPoint
std::pair< DTHitPairForFit *, DTEnums::DTCellSide > AssPoint
Definition: DTSegmentCleaner.h:33