test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
Clustering1D
interface
TrackDistanceWeightEstimator.h
Go to the documentation of this file.
1
#ifndef _TrackDistanceWeightEstimator_H_
2
#define _TrackDistanceWeightEstimator_H_
3
4
#include "
CommonTools/Clustering1D/interface/WeightEstimator.h
"
5
10
template
<
class
T>
11
class
TrackDistanceWeightEstimator
:
public
WeightEstimator
<T>
12
{
13
public
:
14
double
operator()
(
const
T
* track )
const
15
{
16
return
1.;
17
};
18
19
TrackDistanceWeightEstimator
*
clone
()
const
20
{
21
return
new
TrackDistanceWeightEstimator
( *
this
);
22
};
23
};
24
25
#endif
WeightEstimator
Definition:
WeightEstimator.h:12
TrackDistanceWeightEstimator::operator()
double operator()(const T *track) const
Definition:
TrackDistanceWeightEstimator.h:14
WeightEstimator.h
TrackDistanceWeightEstimator
Definition:
TrackDistanceWeightEstimator.h:11
TrackDistanceWeightEstimator::clone
TrackDistanceWeightEstimator * clone() const
Definition:
TrackDistanceWeightEstimator.h:19
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5