Main Page
Namespaces
Classes
Package Documentation
src
RecoTracker
CkfPattern
interface
TrajCandLess.h
Go to the documentation of this file.
1
#ifndef TrajCandLess_H
2
#define TrajCandLess_H
3
4
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
5
14
template
<
class
TR>
15
struct
TrajCandLess
{
16
17
TrajCandLess
(
float
p
=5) :
penalty
(
p
) {}
18
19
bool
operator()
(
const
TR&
a
,
const
TR&
b
)
const
{
20
return
a.chiSquared() + a.lostHits()*
penalty
<
21
b.chiSquared() + b.lostHits()*
penalty
;
22
}
23
24
private
:
25
26
float
penalty
;
27
28
};
29
30
#endif
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
TrajCandLess::TrajCandLess
TrajCandLess(float p=5)
Definition:
TrajCandLess.h:17
TrajCandLess::penalty
float penalty
Definition:
TrajCandLess.h:26
TrajCandLess
Definition:
TrajCandLess.h:15
Trajectory.h
b
double b
Definition:
hdecay.h:120
TrajCandLess::operator()
bool operator()(const TR &a, const TR &b) const
Definition:
TrajCandLess.h:19
a
double a
Definition:
hdecay.h:121
Generated for CMSSW Reference Manual by
1.8.11