Container class for time sampled digits.
More...
#include <DigitsWriteoutBuffer.h>
Container class for time sampled digits.
- Author
- Hadi Hassan, ORNL
-
Markus Fasel, ORNL
- Date
- 08/03/2021
Definition at line 38 of file DigitsWriteoutBuffer.h.
◆ DigitsWriteoutBuffer()
| DigitsWriteoutBuffer::DigitsWriteoutBuffer |
( |
unsigned int |
nTimeBins = 15 | ) |
|
◆ ~DigitsWriteoutBuffer()
| o2::emcal::DigitsWriteoutBuffer::~DigitsWriteoutBuffer |
( |
| ) |
|
|
default |
◆ addDigits()
| void DigitsWriteoutBuffer::addDigits |
( |
unsigned int |
towerID, |
|
|
std::vector< LabeledDigit > & |
digList |
|
) |
| |
Add digit to the container
- Parameters
-
| towerID | Cell ID |
| dig | Labaled digit to add |
| eventTime | The time of the event (w.r.t Tigger time) |
Definition at line 65 of file DigitsWriteoutBuffer.cxx.
◆ clear()
| void DigitsWriteoutBuffer::clear |
( |
| ) |
|
◆ finish()
| void DigitsWriteoutBuffer::finish |
( |
| ) |
|
This is for the readout window that was interrupted by the end of the run.
For the end of the run only write all the remaining digits into the streamer.
Definition at line 170 of file DigitsWriteoutBuffer.cxx.
◆ flush()
| void o2::emcal::DigitsWriteoutBuffer::flush |
( |
| ) |
|
|
inline |
◆ forwardMarker()
forward the marker for every 100 ns
This is to make the event time multiple of 100s
This is to make the event time multiple of 100s
Definition at line 84 of file DigitsWriteoutBuffer.cxx.
◆ getBufferSize()
| unsigned int o2::emcal::DigitsWriteoutBuffer::getBufferSize |
( |
| ) |
const |
|
inline |
◆ getDigits()
| const std::vector< o2::emcal::Digit > & o2::emcal::DigitsWriteoutBuffer::getDigits |
( |
| ) |
const |
|
inline |
◆ getEventTime()
| double o2::emcal::DigitsWriteoutBuffer::getEventTime |
( |
| ) |
const |
|
inline |
◆ getMCLabels()
◆ getPhase()
| unsigned int o2::emcal::DigitsWriteoutBuffer::getPhase |
( |
| ) |
const |
|
inline |
◆ getTriggerRecords()
◆ getTriggerTime()
| double o2::emcal::DigitsWriteoutBuffer::getTriggerTime |
( |
| ) |
const |
|
inline |
◆ init()
| void DigitsWriteoutBuffer::init |
( |
| ) |
|
◆ isCurrentEventTriggered()
| bool o2::emcal::DigitsWriteoutBuffer::isCurrentEventTriggered |
( |
| ) |
const |
|
inline |
Check if current collision was triggered
- Returns
- true if event was triggered
Definition at line 74 of file DigitsWriteoutBuffer.h.
◆ isLive() [1/2]
| bool o2::emcal::DigitsWriteoutBuffer::isLive |
( |
| ) |
const |
|
inline |
◆ isLive() [2/2]
| bool o2::emcal::DigitsWriteoutBuffer::isLive |
( |
double |
t | ) |
const |
|
inline |
◆ preTriggerCollision()
| bool o2::emcal::DigitsWriteoutBuffer::preTriggerCollision |
( |
| ) |
const |
|
inline |
◆ reserve()
| void DigitsWriteoutBuffer::reserve |
( |
| ) |
|
◆ setBufferSize()
| void o2::emcal::DigitsWriteoutBuffer::setBufferSize |
( |
unsigned int |
nsamples | ) |
|
|
inline |
◆ setBusyTime()
| void o2::emcal::DigitsWriteoutBuffer::setBusyTime |
( |
unsigned int |
busyTime | ) |
|
|
inline |
◆ setLiveTime()
| void o2::emcal::DigitsWriteoutBuffer::setLiveTime |
( |
unsigned int |
liveTime | ) |
|
|
inline |
◆ setPreTriggerTime()
| void o2::emcal::DigitsWriteoutBuffer::setPreTriggerTime |
( |
unsigned int |
pretriggerTime | ) |
|
|
inline |
◆ setSampledDigitsTime()
| void DigitsWriteoutBuffer::setSampledDigitsTime |
( |
| ) |
|
The documentation for this class was generated from the following files: