Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
TrajCandLess
(
float
p
= 5) :
penalty
(
p
) {}
17
18
bool
operator()
(
const
TR&
a
,
const
TR&
b
)
const
{
19
return
a.chiSquared() + a.lostHits() *
penalty
< b.chiSquared() + b.lostHits() *
penalty
;
20
}
21
22
private
:
23
float
penalty
;
24
};
25
26
#endif
TrajCandLess::TrajCandLess
TrajCandLess(float p=5)
Definition:
TrajCandLess.h:16
TrajCandLess::penalty
float penalty
Definition:
TrajCandLess.h:23
TrajCandLess
Definition:
TrajCandLess.h:15
Trajectory.h
b
double b
Definition:
hdecay.h:118
TrajCandLess::operator()
bool operator()(const TR &a, const TR &b) const
Definition:
TrajCandLess.h:18
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
a
double a
Definition:
hdecay.h:119
Generated for CMSSW Reference Manual by
1.8.5