ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibUtils
MuonCalibMath
MuonCalibMath
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
16
namespace
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 //
37
#include "
MuonCalibMath/BaseFunction.h
"
38
39
40
namespace
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
MuonCalib::PolygonBase::PolygonBase
PolygonBase(const std::vector< double > &x)
Constructor: the vector x contains the abscissae of the base points of the polygon.
Definition:
PolygonBase.cxx:11
x
#define x
MuonCalib::BaseFunction
Definition:
BaseFunction.h:16
MuonCalib::PolygonBase::value
double value(const int k, const double x) const
get the value of the k-th base function at x
Definition:
PolygonBase.cxx:22
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
BaseFunction.h
MuonCalib::PolygonBase::m_x
std::vector< double > m_x
Definition:
PolygonBase.h:54
MuonCalib::PolygonBase
Definition:
PolygonBase.h:42
fitman.k
k
Definition:
fitman.py:528
Generated on Mon Sep 1 2025 21:17:20 for ATLAS Offline Software by
1.8.18