Auxiliary class for defining an oscillogram axis.
More...
#include <JOscillogram.hh>
Auxiliary class for defining an oscillogram axis.
Definition at line 39 of file JOscillogram.hh.
◆ JGrid_t
◆ JAbstractHistogram_t
◆ abscissa_type
template<class JAbscissa_t >
| JAbstractCollection<JAbscissa_t>::abscissa_type JTOOLS::JGrid< JAbscissa_t >::abscissa_type |
|
inherited |
◆ JOscillogramAxis() [1/3]
| JOSCPROB::JOscillogramAxis::JOscillogramAxis |
( |
const int | type, |
|
|
const JGrid_t & | grid ) |
|
inline |
Constructor.
- Parameters
-
| type | oscillation variable type |
| grid | oscillation variable evaluation point grid |
Definition at line 52 of file JOscillogram.hh.
◆ JOscillogramAxis() [2/3]
| JOSCPROB::JOscillogramAxis::JOscillogramAxis |
( |
const int | type, |
|
|
const JAbstractHistogram_t & | binning ) |
|
inline |
Constructor.
- Parameters
-
| type | oscillation variable type |
| binning | oscillation variable binning |
Definition at line 65 of file JOscillogram.hh.
66 :
67 JGrid_t(binning.getNumberOfBins(),
68 binning.getLowerLimit() + binning.getBinWidth() / 2.,
69 binning.getUpperLimit() - binning.getBinWidth() / 2.),
71 {}
◆ JOscillogramAxis() [3/3]
| JOSCPROB::JOscillogramAxis::JOscillogramAxis |
( |
const int | type, |
|
|
const int | N, |
|
|
const double | min, |
|
|
const double | max ) |
|
inline |
Constructor.
- Parameters
-
| type | oscillogram variable type |
| N | number of bins |
| min | minimum axis value |
| max | maximum axis value |
Definition at line 82 of file JOscillogram.hh.
◆ getSize()
template<class JAbscissa_t >
|
|
inlineoverridevirtualinherited |
◆ getX()
template<class JAbscissa_t >
|
|
inlineoverridevirtualinherited |
◆ getXmin()
template<class JAbscissa_t >
|
|
inlineoverridevirtualinherited |
◆ getXmax()
template<class JAbscissa_t >
|
|
inlineoverridevirtualinherited |
◆ getIndex()
template<class JAbscissa_t >
Get index of given abscissa value.
- Parameters
-
- Returns
- index
Definition at line 121 of file JGrid.hh.
◆ operator()()
template<class JAbscissa_t >
template<class JElement_t , class JDistance_t >
Configure collection.
- Parameters
-
- Returns
- this grid
Definition at line 134 of file JGrid.hh.
135 {
136 collection.configure(*this);
137
138 return *this;
139 }
◆ is_equal()
template<class JAbscissa_t >
Test whether abstract collections are equal.
- Parameters
-
| collection | abstract collection |
- Returns
- true if collections are equals; else false
Definition at line 72 of file JAbstractCollection.hh.
73 {
74 if (this->
getSize() == collection.getSize()) {
75
76 for (
int i = 0; i != this->
getSize(); ++i) {
77
78 if (this->
getX(i) != collection.getX(i)) {
79 return false;
80 }
81 }
82
83 return true;
84 }
85
86 return false;
87 }
◆ type
| int JOSCPROB::JOscillogramAxis::type |
◆ size
template<class JAbscissa_t >
◆ xmin
template<class JAbscissa_t >
◆ xmax
template<class JAbscissa_t >
The documentation for this struct was generated from the following file: