5#ifndef TRKVERTEXSEEDFINDERUTILS_FSMWMODE1DFINDERALGO_H
6#define TRKVERTEXSEEDFINDERUTILS_FSMWMODE1DFINDERALGO_H
41 FsmwMode1dFinder(
const std::string& t,
const std::string& n,
const IInterface* p);
47 virtual double getMode(std::vector<DoubleAndWeight>)
const override final;
49 virtual double getMode(std::vector<double>)
const override final;
59 return first.first < second.first;
64 int operator()(
const double& first,
const double& second)
const
66 return first < second;
virtual ~FsmwMode1dFinder()
FsmwMode1dFinder(const std::string &t, const std::string &n, const IInterface *p)
virtual double getMode(std::vector< DoubleAndWeight >) const override final
Interface class for the algotool which calculates the mode of a unidimensional distribution.
Ensure that the ATLAS eigen extensions are properly loaded.
std::pair< double, double > DoubleAndWeight
int operator()(const DoubleAndWeight &first, const DoubleAndWeight &second) const
int operator()(const double &first, const double &second) const