CMS 3D CMS Logo

TrajectoryCleanerBySharedHits.h
Go to the documentation of this file.
1 #ifndef TrajectoryCleaning_TrajectoryCleanerBySharedHits_h
2 #define TrajectoryCleaning_TrajectoryCleanerBySharedHits_h
3 
5 
16 public:
17  typedef std::vector<Trajectory*> TrajectoryPointerContainer;
18 
22  : theFraction(iConfig.getParameter<double>("fractionShared")),
23  validHitBonus_(iConfig.getParameter<double>("ValidHitBonus")),
24  missingHitPenalty_(iConfig.getParameter<double>("MissingHitPenalty")),
25  allowSharedFirstHit(iConfig.getParameter<bool>("allowSharedFirstHit")) {}
26 
28 
30  void clean(TrajectoryPointerContainer&) const override;
31 
32 private:
33  float theFraction;
37 };
38 
39 #endif
TrajectoryCleanerBySharedHits
Definition: TrajectoryCleanerBySharedHits.h:15
electrons_cff.bool
bool
Definition: electrons_cff.py:393
TrajectoryCleaner.h
TrajectoryCleanerBySharedHits::~TrajectoryCleanerBySharedHits
~TrajectoryCleanerBySharedHits() override
Definition: TrajectoryCleanerBySharedHits.h:27
TrajectoryCleanerBySharedHits::allowSharedFirstHit
bool allowSharedFirstHit
Definition: TrajectoryCleanerBySharedHits.h:36
TrajectoryCleaner::clean
virtual void clean(TempTrajectoryContainer &) const
Definition: TrajectoryCleaner.cc:5
TrajectoryCleanerBySharedHits::clean
void clean(TrajectoryPointerContainer &) const override
Definition: TrajectoryCleanerBySharedHits.cc:42
TrajectoryCleanerBySharedHits::theFraction
float theFraction
Definition: TrajectoryCleanerBySharedHits.h:33
TrajectoryCleanerBySharedHits::TrajectoryPointerContainer
std::vector< Trajectory * > TrajectoryPointerContainer
Definition: TrajectoryCleanerBySharedHits.h:17
funct::true
true
Definition: Factorize.h:173
edm::ParameterSet
Definition: ParameterSet.h:47
TrajectoryCleanerBySharedHits::missingHitPenalty_
float missingHitPenalty_
Definition: TrajectoryCleanerBySharedHits.h:35
TrajectoryCleanerBySharedHits::TrajectoryCleanerBySharedHits
TrajectoryCleanerBySharedHits()
Definition: TrajectoryCleanerBySharedHits.h:19
TrajectoryCleanerBySharedHits::validHitBonus_
float validHitBonus_
Definition: TrajectoryCleanerBySharedHits.h:34
TrajectoryCleanerBySharedHits::TrajectoryCleanerBySharedHits
TrajectoryCleanerBySharedHits(const edm::ParameterSet &iConfig)
Definition: TrajectoryCleanerBySharedHits.h:21
TrajectoryCleaner
Definition: TrajectoryCleaner.h:14