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
public
:
13
double
operator()
(
const
T
*
track
)
const
{
return
1.; };
14
15
TrackDistanceWeightEstimator
*
clone
()
const
{
return
new
TrackDistanceWeightEstimator
(*
this
); };
16
};
17
18
#endif
TrackDistanceWeightEstimator::operator()
double operator()(const T *track) const
Definition:
TrackDistanceWeightEstimator.h:13
WeightEstimator.h
TrackDistanceWeightEstimator
Definition:
TrackDistanceWeightEstimator.h:11
WeightEstimator
Definition:
WeightEstimator.h:12
TrackDistanceWeightEstimator::clone
TrackDistanceWeightEstimator * clone() const
Definition:
TrackDistanceWeightEstimator.h:15
T
long double T
Definition:
Basic3DVectorLD.h:48
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
Generated for CMSSW Reference Manual by
1.8.16