CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FastTrajectoryCleaner.h
Go to the documentation of this file.
1 #ifndef TrajectoryCleaning_FastTrajectoryCleaner_h
2 #define TrajectoryCleaning_FastTrajectoryCleaner_h
3 
5 
15 public:
18 
20 
21  FastTrajectoryCleaner(float bonus, float penalty, bool noSeed = true)
22  : validHitBonus_(0.5f * bonus), missingHitPenalty_(penalty), dismissSeed_(noSeed) {}
23 
25  : validHitBonus_(0.5 * iConfig.getParameter<double>("ValidHitBonus")),
26  missingHitPenalty_(iConfig.getParameter<double>("MissingHitPenalty")),
27  dismissSeed_(iConfig.getParameter<bool>("dismissSeed")) {}
28 
29  ~FastTrajectoryCleaner() override {}
30 
31  void clean(TempTrajectoryContainer&) const override;
32  void clean(TrajectoryPointerContainer&) const override;
33 
34 private:
35  float validHitBonus_; // here per dof
38 };
39 
40 #endif
std::vector< TempTrajectory > TempTrajectoryContainer
FastTrajectoryCleaner(float bonus, float penalty, bool noSeed=true)
TrajectoryCleaner::TempTrajectoryContainer TempTrajectoryContainer
std::vector< Trajectory * > TrajectoryPointerContainer
TrajectoryCleaner::TrajectoryPointerContainer TrajectoryPointerContainer
FastTrajectoryCleaner(const edm::ParameterSet &iConfig)
void clean(TempTrajectoryContainer &) const override