CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrajectoryCleanerBySharedHits.h
Go to the documentation of this file.
1 #ifndef TrajectoryCleaning_TrajectoryCleanerBySharedHits_h
2 #define TrajectoryCleaning_TrajectoryCleanerBySharedHits_h
3 
5 
17 
18  public:
19 
20  typedef std::vector<Trajectory*> TrajectoryPointerContainer;
21 
23  theFraction(0.19),
24  validHitBonus_(5.0),
25  missingHitPenalty_(20.0),
28  theFraction(iConfig.getParameter<double>("fractionShared")),
29  validHitBonus_(iConfig.getParameter<double>("ValidHitBonus")),
30  missingHitPenalty_(iConfig.getParameter<double>("MissingHitPenalty")),
31  allowSharedFirstHit(iConfig.getParameter<bool>("allowSharedFirstHit")){}
32 
34 
36  virtual void clean( TrajectoryPointerContainer&) const;
37 
38  private:
39  double theFraction;
43 
44 };
45 
46 #endif
virtual void clean(TrajectoryPointerContainer &) const
std::vector< Trajectory * > TrajectoryPointerContainer
virtual void clean(TrajectoryContainer &) const
TrajectoryCleanerBySharedHits(const edm::ParameterSet &iConfig)