Sample time calibration constants for all channels.
More...
#include <TOPCalTimebase.h>
Sample time calibration constants for all channels.
Definition at line 27 of file TOPCalTimebase.h.
◆ TOPCalTimebase() [1/3]
◆ TOPCalTimebase() [2/3]
Useful constructor.
- Parameters
-
syncTimeBase | sinchronization time base (width of 2 ASIC windows) |
Definition at line 40 of file TOPCalTimebase.h.
40 : m_syncTimeBase(syncTimeBase)
41 {}
◆ TOPCalTimebase() [3/3]
Copy constructor (since class includes pointers in its cache)
Definition at line 46 of file TOPCalTimebase.h.
46 : TObject()
47 {
48 *this = timeBase;
49 m_map.clear();
50 m_sampleTime = 0;
51 }
◆ ~TOPCalTimebase()
Destructor.
Definition at line 71 of file TOPCalTimebase.h.
72 {
73 if (m_sampleTime) delete m_sampleTime;
74 }
◆ getSampleTimes()
Returns all calibration constants.
- Returns
- vector of calibration constants
Definition at line 97 of file TOPCalTimebase.h.
97{return m_sampleTimes;}
◆ getSyncTimeBase()
double getSyncTimeBase |
( |
| ) |
const |
|
inline |
Returns sinchronization time base (width of 2 ASIC windows)
- Returns
- sinchronization time base
Definition at line 91 of file TOPCalTimebase.h.
91{return m_syncTimeBase;}
◆ operator=()
Assignment operator.
Definition at line 56 of file TOPCalTimebase.h.
57 {
58 if (this != &timeBase) {
59 m_syncTimeBase = timeBase.getSyncTimeBase();
60 m_sampleTimes = timeBase.getSampleTimes();
61 m_map.clear();
62 if (m_sampleTime) delete m_sampleTime;
63 m_sampleTime = 0;
64 }
65 return *this;
66 }
◆ m_map
std::map<unsigned, size_t> m_map |
|
mutableprivate |
◆ m_sampleTime
◆ m_sampleTimes
◆ m_syncTimeBase
double m_syncTimeBase = 0 |
|
private |
synchronization time base (width of 2 ASIC windows)
Definition at line 125 of file TOPCalTimebase.h.
The documentation for this class was generated from the following files: