ATLAS Offline Software
Loading...
Searching...
No Matches
IMode1dFinder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// IMode1dFinder.h, (c) ATLAS Detector software 2006
8
9#ifndef TRKVERTEXSEEDFINDERUTILS_IMODE1DFINDER_H
10#define TRKVERTEXSEEDFINDERUTILS_IMODE1DFINDER_H
11
12#include "GaudiKernel/IAlgTool.h"
14#include <vector>
15
16
17namespace Trk
18{
19
20 static const InterfaceID IID_IMODE1DFINDER("IMode1dFinder", 1, 0);
21
31
32
33 class IMode1dFinder : virtual public IAlgTool {
34
35 public:
37 virtual ~IMode1dFinder(){};
38
40 static const InterfaceID& interfaceID() { return IID_IMODE1DFINDER; };
41
42 virtual double getMode(std::vector<Trk::DoubleAndWeight>) const =0;
43
44 virtual double getMode(std::vector<double>) const = 0;
45
46
47 };
48}
49
50#endif
51
Interface class for the algotool which calculates the mode of a unidimensional distribution.
static const InterfaceID & interfaceID()
AlgTool interface methods.
virtual double getMode(std::vector< Trk::DoubleAndWeight >) const =0
virtual double getMode(std::vector< double >) const =0
virtual ~IMode1dFinder()
Virtual destructor.
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_IMODE1DFINDER("IMode1dFinder", 1, 0)