CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
33  public:
34 
35  typedef std::pair<DTHitPairForFit*, DTEnums::DTCellSide> AssPoint;
36  typedef std::set<AssPoint, DTSegmentCand::AssPointLessZ> AssPointCont;
37 
38  /* Constructor */
39  DTSegmentCleaner(const edm::ParameterSet& pset) ;
40 
41  /* Destructor */
43 
44  /* Operations */
46  std::vector<DTSegmentCand*> clean(const std::vector<DTSegmentCand*>& inputCands) const ;
47 
48  private:
50  std::vector<DTSegmentCand*> solveConflict(const std::vector<DTSegmentCand*>& inputCands) const ;
51 
53  std::vector<DTSegmentCand*> ghostBuster(const std::vector<DTSegmentCand*>& inputCands) const ;
54 
61 
62 };
63 #endif // DTSegment_DTSegmentCleaner_h
std::vector< DTSegmentCand * > solveConflict(const std::vector< DTSegmentCand * > &inputCands) const
solve the conflicts
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::pair< DTHitPairForFit *, DTEnums::DTCellSide > AssPoint
std::vector< DTSegmentCand * > ghostBuster(const std::vector< DTSegmentCand * > &inputCands) const
ghost suppression