src
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
WeightEstimator
Definition:
WeightEstimator.h:12
WeightEstimator.h
TrackDistanceWeightEstimator
Definition:
TrackDistanceWeightEstimator.h:11
TrackDistanceWeightEstimator::operator()
double operator()(const T *track) const
Definition:
TrackDistanceWeightEstimator.h:13
HLT_2022v15_cff.track
track
Definition:
HLT_2022v15_cff.py:9644
T
long double T
Definition:
Basic3DVectorLD.h:48
TrackDistanceWeightEstimator::clone
TrackDistanceWeightEstimator * clone() const
Definition:
TrackDistanceWeightEstimator.h:15
Generated for CMSSW Reference Manual by
1.8.14