Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TrackingTools
GsfTools
src
GaussianStateLessWeight.h
Go to the documentation of this file.
1
#ifndef GaussianStateLessWeight_h_
2
#define GaussianStateLessWeight_h_
3
4
#include "
TrackingTools/GsfTools/interface/RCSingleGaussianState.h
"
5
10
class
GaussianStateLessWeight
{
11
12
public
:
13
GaussianStateLessWeight
() {}
14
bool
operator()
(
const
RCSingleGaussianState
a
,
15
const
RCSingleGaussianState
b
)
const
16
{
17
// ThS: No validity for RCSingleGaussianState
18
// if ( !a.isValid() || !b.isValid() ) return false;
19
return
a->weight()>b->weight();
20
}
21
};
22
23
#endif
GaussianStateLessWeight::operator()
bool operator()(const RCSingleGaussianState a, const RCSingleGaussianState b) const
Definition:
GaussianStateLessWeight.h:14
GaussianStateLessWeight::GaussianStateLessWeight
GaussianStateLessWeight()
Definition:
GaussianStateLessWeight.h:13
RCSingleGaussianState.h
ReferenceCountingPointer
Definition:
ReferenceCounted.h:73
b
double b
Definition:
hdecay.h:120
a
double a
Definition:
hdecay.h:121
GaussianStateLessWeight
Definition:
GaussianStateLessWeight.h:12
Generated for CMSSW Reference Manual by
1.8.5