![]() |
ATLAS Offline Software
|
#include <ShapeInfo.h>
Public Member Functions | |
| ShapeInfo (unsigned char nSamples=5, unsigned char binSize=3, unsigned char nPhases=8, float shift=0) | |
| Constructor. | |
| ShapeInfo (const ShapeInfo &other) | |
| ~ShapeInfo () | |
| unsigned int | nPoints () const |
| unsigned char | binSize () const |
| unsigned char | nSamples () const |
| unsigned char | nPhases () const |
| unsigned int | nIntervals () const |
| float | shift () const |
| double | value (unsigned int i) const |
| unsigned char | phase (unsigned int i) const |
| void | set (unsigned char iSample, unsigned char iPhase, float value) |
| bool | isValid () const |
| double | footprint () const |
Static Public Member Functions | |
| static double | timeShift () |
| static void | setTimeShift (double shift=0) |
Static Public Attributes | |
| static constexpr unsigned int | nBuckets = 24 |
Private Member Functions | |
| ShapeInfo & | operator= (const ShapeInfo &) |
Private Attributes | |
| std::vector< short > | m_values |
| unsigned char | m_nSamples |
| unsigned char | m_binSize |
| unsigned char | m_nPhases |
| float | m_shift |
Static Private Attributes | |
| static double | m_timeShift = 0 |
Definition at line 24 of file ShapeInfo.h.
| ShapeInfo::ShapeInfo | ( | unsigned char | nSamples = 5, |
| unsigned char | binSize = 3, | ||
| unsigned char | nPhases = 8, | ||
| float | shift = 0 ) |
Constructor.
Definition at line 28 of file ShapeInfo.cxx.
| ShapeInfo::ShapeInfo | ( | const ShapeInfo & | other | ) |
Definition at line 37 of file ShapeInfo.cxx.
| ShapeInfo::~ShapeInfo | ( | ) |
Definition at line 46 of file ShapeInfo.cxx.
|
inline |
Definition at line 38 of file ShapeInfo.h.
|
inline |
Definition at line 55 of file ShapeInfo.h.
| bool ShapeInfo::isValid | ( | ) | const |
Definition at line 52 of file ShapeInfo.cxx.
|
inline |
Definition at line 41 of file ShapeInfo.h.
|
inline |
Definition at line 40 of file ShapeInfo.h.
|
inline |
|
inline |
Definition at line 39 of file ShapeInfo.h.
| unsigned char ShapeInfo::phase | ( | unsigned int | i | ) | const |
Definition at line 66 of file ShapeInfo.cxx.
| void ShapeInfo::set | ( | unsigned char | iSample, |
| unsigned char | iPhase, | ||
| float | value ) |
Definition at line 72 of file ShapeInfo.cxx.
|
inlinestatic |
Definition at line 65 of file ShapeInfo.h.
|
inline |
Definition at line 42 of file ShapeInfo.h.
|
inlinestatic |
Definition at line 64 of file ShapeInfo.h.
| double ShapeInfo::value | ( | unsigned int | i | ) | const |
|
private |
Definition at line 70 of file ShapeInfo.h.
|
private |
Definition at line 70 of file ShapeInfo.h.
|
private |
Definition at line 70 of file ShapeInfo.h.
|
private |
Definition at line 71 of file ShapeInfo.h.
|
staticprivate |
Definition at line 72 of file ShapeInfo.h.
|
private |
Definition at line 69 of file ShapeInfo.h.
|
staticconstexpr |
Definition at line 62 of file ShapeInfo.h.