#include <SamplePoint.h>
|
| SamplePoint ()=default |
|
| SamplePoint (const std::array< double, 3 > &triplet) |
| constructor, triplet[0] = x1 coordinate of the sample point, triplet[1] = x2 coordinate of the sample point, triplet[2] = error of the x2 coordinate of the sample point More...
|
|
| SamplePoint (const double mx1, const double mx2, const double msigma) |
| constructor, mx1 = x1 coordinate of the sample point, mx2 = x2 coordinate of the sample point, msigma = error of the x2 coordinate of the sample point More...
|
|
double | x1 () const |
| < get the x1 coordinate of the sample point More...
|
|
double | x2 () const |
| get the error on the x2 coordinate of the sample point More...
|
|
double | error () const |
|
void | set_triplet (const std::array< double, 3 > &values) |
| set the sample point, x[0] = x1 coordinate of the sample point, x[1] = x2 coordinate of the sample point, x[2] = error of the x2 coordinate of the sample point More...
|
|
void | set_x1 (const double mx1) |
| set the x2 coordinate of the sample point to mx2 More...
|
|
void | set_x2 (const double mx2) |
| set the error of the x2 coordinate sample point to merror More...
|
|
void | set_error (const double merror) |
|
|
double | m_x1 {0.} |
| x1 coordinate of the sample point More...
|
|
double | m_x2 {0.} |
| x2 coordinate of the sample point More...
|
|
double | m_sigma {0.} |
| error of the x2 coordinate of the sample point More...
|
|
This class provides a sample point for the BaseFunctionFitter.
Definition at line 15 of file SamplePoint.h.
◆ SamplePoint() [1/3]
MuonCalib::SamplePoint::SamplePoint |
( |
| ) |
|
|
default |
◆ SamplePoint() [2/3]
MuonCalib::SamplePoint::SamplePoint |
( |
const std::array< double, 3 > & |
triplet | ) |
|
|
inline |
constructor, triplet[0] = x1 coordinate of the sample point, triplet[1] = x2 coordinate of the sample point, triplet[2] = error of the x2 coordinate of the sample point
Definition at line 28 of file SamplePoint.h.
◆ SamplePoint() [3/3]
MuonCalib::SamplePoint::SamplePoint |
( |
const double |
mx1, |
|
|
const double |
mx2, |
|
|
const double |
msigma |
|
) |
| |
|
inline |
constructor, mx1 = x1 coordinate of the sample point, mx2 = x2 coordinate of the sample point, msigma = error of the x2 coordinate of the sample point
Definition at line 35 of file SamplePoint.h.
◆ error()
double MuonCalib::SamplePoint::error |
( |
| ) |
const |
|
inline |
◆ set_error()
void MuonCalib::SamplePoint::set_error |
( |
const double |
merror | ) |
|
|
inline |
◆ set_triplet()
void MuonCalib::SamplePoint::set_triplet |
( |
const std::array< double, 3 > & |
values | ) |
|
|
inline |
set the sample point, x[0] = x1 coordinate of the sample point, x[1] = x2 coordinate of the sample point, x[2] = error of the x2 coordinate of the sample point
set the x1 coordinate of the sample point to mx1
Definition at line 52 of file SamplePoint.h.
◆ set_x1()
void MuonCalib::SamplePoint::set_x1 |
( |
const double |
mx1 | ) |
|
|
inline |
set the x2 coordinate of the sample point to mx2
Definition at line 58 of file SamplePoint.h.
◆ set_x2()
void MuonCalib::SamplePoint::set_x2 |
( |
const double |
mx2 | ) |
|
|
inline |
set the error of the x2 coordinate sample point to merror
Definition at line 60 of file SamplePoint.h.
◆ x1()
double MuonCalib::SamplePoint::x1 |
( |
| ) |
const |
|
inline |
< get the x1 coordinate of the sample point
get the x2 coordinate of the sample point
Definition at line 42 of file SamplePoint.h.
◆ x2()
double MuonCalib::SamplePoint::x2 |
( |
| ) |
const |
|
inline |
get the error on the x2 coordinate of the sample point
Definition at line 44 of file SamplePoint.h.
◆ m_sigma
double MuonCalib::SamplePoint::m_sigma {0.} |
|
private |
error of the x2 coordinate of the sample point
Definition at line 20 of file SamplePoint.h.
◆ m_x1
double MuonCalib::SamplePoint::m_x1 {0.} |
|
private |
x1 coordinate of the sample point
Definition at line 18 of file SamplePoint.h.
◆ m_x2
double MuonCalib::SamplePoint::m_x2 {0.} |
|
private |
x2 coordinate of the sample point
Definition at line 19 of file SamplePoint.h.
The documentation for this class was generated from the following file: