CMS 3D CMS Logo

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
FastTrajectoryCleaner::~FastTrajectoryCleaner
~FastTrajectoryCleaner() override
Definition: FastTrajectoryCleaner.h:29
TrajectoryCleaner::TempTrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
Definition: TrajectoryCleaner.h:22
FastTrajectoryCleaner::dismissSeed_
bool dismissSeed_
Definition: FastTrajectoryCleaner.h:37
electrons_cff.bool
bool
Definition: electrons_cff.py:366
FastTrajectoryCleaner::missingHitPenalty_
float missingHitPenalty_
Definition: FastTrajectoryCleaner.h:36
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
TrajectoryCleaner.h
FastTrajectoryCleaner::TrajectoryPointerContainer
TrajectoryCleaner::TrajectoryPointerContainer TrajectoryPointerContainer
Definition: FastTrajectoryCleaner.h:16
TrajectoryCleaner::TrajectoryPointerContainer
std::vector< Trajectory * > TrajectoryPointerContainer
Definition: TrajectoryCleaner.h:18
FastTrajectoryCleaner::validHitBonus_
float validHitBonus_
Definition: FastTrajectoryCleaner.h:35
FastTrajectoryCleaner::FastTrajectoryCleaner
FastTrajectoryCleaner(float bonus, float penalty, bool noSeed=true)
Definition: FastTrajectoryCleaner.h:21
FastTrajectoryCleaner::TempTrajectoryContainer
TrajectoryCleaner::TempTrajectoryContainer TempTrajectoryContainer
Definition: FastTrajectoryCleaner.h:17
funct::true
true
Definition: Factorize.h:173
FastTrajectoryCleaner::clean
void clean(TempTrajectoryContainer &) const override
Definition: FastTrajectoryCleaner.cc:7
edm::ParameterSet
Definition: ParameterSet.h:47
FastTrajectoryCleaner::FastTrajectoryCleaner
FastTrajectoryCleaner(const edm::ParameterSet &iConfig)
Definition: FastTrajectoryCleaner.h:24
FastTrajectoryCleaner
Definition: FastTrajectoryCleaner.h:14
FastTrajectoryCleaner::FastTrajectoryCleaner
FastTrajectoryCleaner()
Definition: FastTrajectoryCleaner.h:19
TrajectoryCleaner
Definition: TrajectoryCleaner.h:14