Main Page
Namespaces
Classes
Package Documentation
src
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
12
public
:
13
TrajectoryStateLessWeight
() {}
14
bool
operator()
(
const
TrajectoryStateOnSurface
a
,
15
const
TrajectoryStateOnSurface
b
)
const
16
{
17
if
( !a.
isValid
() || !b.
isValid
() )
return
false
;
18
return
a.
weight
()>b.
weight
();
19
}
20
};
21
22
#endif
TrajectoryStateLessWeight
Definition:
TrajectoryStateLessWeight.h:10
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
TrajectoryStateLessWeight::operator()
bool operator()(const TrajectoryStateOnSurface a, const TrajectoryStateOnSurface b) const
Definition:
TrajectoryStateLessWeight.h:14
b
double b
Definition:
hdecay.h:120
TrajectoryStateOnSurface::weight
double weight() const
Definition:
TrajectoryStateOnSurface.h:126
a
double a
Definition:
hdecay.h:121
TrajectoryStateOnSurface.h
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition:
TrajectoryStateOnSurface.h:62
TrajectoryStateLessWeight::TrajectoryStateLessWeight
TrajectoryStateLessWeight()
Definition:
TrajectoryStateLessWeight.h:13
Generated for CMSSW Reference Manual by
1.8.11