ATLAS Offline Software
BaseFunction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef MUONCALIB_BASEFUNCTION_H
7 #define MUONCALIB_BASEFUNCTION_H
8 
9 namespace MuonCalib {
10 
16  class BaseFunction {
17 
18  public:
19  // Constructor and destructor
20  BaseFunction() = default;
21  virtual ~BaseFunction() = default;
22 
23  // Methods
24  virtual double value(const int k, const double x) const = 0;
25 
26  };
27 
28 }
29 
30 #endif
MuonCalib::BaseFunction::BaseFunction
BaseFunction()=default
default constructor
MuonCalib::BaseFunction::value
virtual double value(const int k, const double x) const =0
get the value of the k-th base function at x
MuonCalib::BaseFunction::~BaseFunction
virtual ~BaseFunction()=default
destructor
x
#define x
MuonCalib::BaseFunction
Definition: BaseFunction.h:16
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
fitman.k
k
Definition: fitman.py:528