TrackingTools
TrajectoryCleaning
interface
FastTrajectoryCleaner.h
Go to the documentation of this file.
1
#ifndef TrajectoryCleaning_FastTrajectoryCleaner_h
2
#define TrajectoryCleaning_FastTrajectoryCleaner_h
3
4
#include "
TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h
"
5
14
class
FastTrajectoryCleaner
final :
public
TrajectoryCleaner
{
15
public
:
16
using
TrajectoryPointerContainer
=
TrajectoryCleaner::TrajectoryPointerContainer
;
17
using
TempTrajectoryContainer
=
TrajectoryCleaner::TempTrajectoryContainer
;
18
19
FastTrajectoryCleaner
() :
validHitBonus_
(0.5
f
* 5.0
f
),
missingHitPenalty_
(20.0
f
),
dismissSeed_
(
true
) {}
20
21
FastTrajectoryCleaner
(
float
bonus,
float
penalty,
bool
noSeed =
true
)
22
:
validHitBonus_
(0.5
f
* bonus),
missingHitPenalty_
(penalty),
dismissSeed_
(noSeed) {}
23
24
FastTrajectoryCleaner
(
const
edm::ParameterSet
& iConfig)
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
36
float
missingHitPenalty_
;
37
bool
dismissSeed_
;
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:393
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
Generated for CMSSW Reference Manual by
1.8.16