![]() |
Belle II Software
release-08-02-04
|
Sample time calibration constants for all channels. More...
#include <TOPCalTimebase.h>


Public Member Functions | |
| TOPCalTimebase () | |
| Default constructor. | |
| TOPCalTimebase (double syncTimeBase) | |
| Useful constructor. More... | |
| TOPCalTimebase (const TOPCalTimebase &timeBase) | |
| Copy constructor (since class includes pointers in its cache) | |
| TOPCalTimebase & | operator= (const TOPCalTimebase &timeBase) |
| Assignment operator. | |
| ~TOPCalTimebase () | |
| Destructor. | |
| void | append (unsigned scrodID, unsigned channel, const std::vector< double > &sampleTimes, bool replace=true) |
| Appends calibration of a single ASIC channel. More... | |
| double | getSyncTimeBase () const |
| Returns sinchronization time base (width of 2 ASIC windows) More... | |
| const std::vector< TOPSampleTimes > & | getSampleTimes () const |
| Returns all calibration constants. More... | |
| const TOPSampleTimes * | getSampleTimes (unsigned scrodID, unsigned channel) const |
| Returns calibration constants for given SCROD and channel. More... | |
| bool | isAvailable (unsigned scrodID, unsigned channel) const |
| Checks if calibration is available. More... | |
Private Member Functions | |
| void | createMap () const |
| Creates a map in cache. | |
| ClassDef (TOPCalTimebase, 1) | |
| ClassDef. | |
Private Attributes | |
| double | m_syncTimeBase = 0 |
| synchronization time base (width of 2 ASIC windows) | |
| std::vector< TOPSampleTimes > | m_sampleTimes |
| calibration constants | |
| std::map< unsigned, size_t > | m_map |
| cache for a map | |
| TOPSampleTimes * | m_sampleTime = 0 |
| cache for default (equidistant) sample times | |
Sample time calibration constants for all channels.
Definition at line 27 of file TOPCalTimebase.h.
|
inlineexplicit |
Useful constructor.
| syncTimeBase | sinchronization time base (width of 2 ASIC windows) |
Definition at line 40 of file TOPCalTimebase.h.
|
inline |
Returns all calibration constants.
Definition at line 97 of file TOPCalTimebase.h.
|
inline |
Returns sinchronization time base (width of 2 ASIC windows)
Definition at line 91 of file TOPCalTimebase.h.