ATLAS Offline Software
Loading...
Searching...
No Matches
PolygonBase.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// 29.06.2006, AUTHOR: OLIVER KORTNER
7//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8
9#ifndef PolygonBaseH
10#define PolygonBaseH
11
12//:::::::::::::::::::::::
13//:: CLASS PolygonBase ::
14//:::::::::::::::::::::::
15
16namespace MuonCalib {
24}
25
26//::::::::::::::::::
27//:: HEADER FILES ::
28//::::::::::::::::::
29
30// standard C++ //
31#include "math.h"
32
33// STL //
34#include <vector>
35
36// MuonCalib //
38
39
40namespace MuonCalib {
41
42 class PolygonBase : public BaseFunction {
43
44 public:
45 PolygonBase(const std::vector<double> & x);
49
51 double value(const int k, const double x) const;
52
53 private:
54 std::vector<double> m_x{}; // vector containing the abscissae of the base
55 // points of the polygon
56 };
57}
58
59#endif
#define x
BaseFunction()=default
default constructor
double value(const int k, const double x) const
get the value of the k-th base function at x
std::vector< double > m_x
Definition PolygonBase.h:54
PolygonBase(const std::vector< double > &x)
Constructor: the vector x contains the abscissae of the base points of the polygon.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.