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
std::vector< DTSegmentCand * > clean(const std::vector< DTSegmentCand *> &inputCands) const
do the cleaning
std::set< AssPoint, DTSegmentCand::AssPointLessZ > AssPointCont
DTSegmentCleaner(const edm::ParameterSet &pset)
std::vector< DTSegmentCand * > solveConflict(const std::vector< DTSegmentCand *> &inputCands) const
solve the conflicts
std::pair< DTHitPairForFit *, DTEnums::DTCellSide > AssPoint
std::vector< DTSegmentCand * > ghostBuster(const std::vector< DTSegmentCand *> &inputCands) const
ghost suppression