TrackingTools
GsfTools
src
TrajectoryStateLessWeight.h
Go to the documentation of this file.
1
#ifndef _TrackerReco_TrajectoryStateLessWeight_h_
2
#define _TrackerReco_TrajectoryStateLessWeight_h_
3
4
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
5
10
class
TrajectoryStateLessWeight
{
11
public
:
12
TrajectoryStateLessWeight
() {}
13
bool
operator()
(
const
TrajectoryStateOnSurface
a
,
const
TrajectoryStateOnSurface
b
)
const
{
14
if
(!
a
.isValid() || !
b
.isValid())
15
return
false
;
16
return
a
.weight() >
b
.weight();
17
}
18
};
19
20
#endif
TrajectoryStateLessWeight
Definition:
TrajectoryStateLessWeight.h:10
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TrajectoryStateLessWeight::operator()
bool operator()(const TrajectoryStateOnSurface a, const TrajectoryStateOnSurface b) const
Definition:
TrajectoryStateLessWeight.h:13
b
double b
Definition:
hdecay.h:118
a
double a
Definition:
hdecay.h:119
TrajectoryStateOnSurface.h
TrajectoryStateLessWeight::TrajectoryStateLessWeight
TrajectoryStateLessWeight()
Definition:
TrajectoryStateLessWeight.h:12
Generated for CMSSW Reference Manual by
1.8.14