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 
23  class BaseFunction {
24 
25  public:
26  // Constructor and destructor
27  BaseFunction(void) {}
28  virtual ~BaseFunction(void) {}
29 
30  // Methods
31  virtual double value(const int & k, const double & x) const = 0;
32 
33  };
34 
35 }
36 
37 #endif
MuonCalib::BaseFunction::BaseFunction
BaseFunction(void)
default constructor
Definition: BaseFunction.h:27
x
#define x
MuonCalib::BaseFunction
Definition: BaseFunction.h:23
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::BaseFunction::~BaseFunction
virtual ~BaseFunction(void)
destructor
Definition: BaseFunction.h:28
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
fitman.k
k
Definition: fitman.py:528