Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
TrajectoryStateOnSurface::weight
double weight() const
Definition:
TrajectoryStateOnSurface.h:80
a
double a
Definition:
hdecay.h:119
TrajectoryStateOnSurface.h
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition:
TrajectoryStateOnSurface.h:54
TrajectoryStateLessWeight::TrajectoryStateLessWeight
TrajectoryStateLessWeight()
Definition:
TrajectoryStateLessWeight.h:12
Generated for CMSSW Reference Manual by
1.8.5