![]() |
Project
|
Container class for time sampled digits to be sent to TRUs in true continuous readout. More...
#include <DigitsWriteoutBufferTRU.h>
Public Member Functions | |
DigitsWriteoutBufferTRU (unsigned int nTimeBins=15) | |
Default constructor. | |
~DigitsWriteoutBufferTRU ()=default | |
Destructor. | |
void | clear () |
clear the container | |
void | flush () |
clear DigitsVectorStream | |
void | init () |
void | reserve (int eventTimeBin) |
void | finish () |
This is for the readout window that was interrupted by the end of the run. | |
void | addDigits (unsigned int towerID, std::vector< o2::emcal::Digit > &digList) |
void | fillOutputContainer (bool isEndOfTimeFrame, InteractionRecord &nextInteractionRecord, std::vector< TRUElectronics > &patchesFromAllTRUs, LZEROElectronics &LZERO) |
void | setLiveTime (unsigned int liveTime) |
Setters for the live time, busy time, pre-trigger time. | |
void | setBusyTime (unsigned int busyTime) |
const std::deque< o2::emcal::DigitTimebinTRU > & | getTimeBins () const |
Container class for time sampled digits to be sent to TRUs in true continuous readout.
Definition at line 59 of file DigitsWriteoutBufferTRU.h.
DigitsWriteoutBufferTRU::DigitsWriteoutBufferTRU | ( | unsigned int | nTimeBins = 15 | ) |
Default constructor.
Definition at line 104 of file DigitsWriteoutBufferTRU.cxx.
|
default |
Destructor.
void DigitsWriteoutBufferTRU::addDigits | ( | unsigned int | towerID, |
std::vector< o2::emcal::Digit > & | digList | ||
) |
Add digit to the container
towerID | Cell ID |
dig | Labaled digit to add |
Definition at line 145 of file DigitsWriteoutBufferTRU.cxx.
void DigitsWriteoutBufferTRU::clear | ( | ) |
clear the container
Definition at line 132 of file DigitsWriteoutBufferTRU.cxx.
void DigitsWriteoutBufferTRU::fillOutputContainer | ( | bool | isEndOfTimeFrame, |
InteractionRecord & | nextInteractionRecord, | ||
std::vector< TRUElectronics > & | patchesFromAllTRUs, | ||
LZEROElectronics & | LZERO | ||
) |
Fill output streamer
isEndOfTimeFrame | End of Time Frame |
nextInteractionRecord | Next interaction record, to compute the amount of TimeBins to be saved |
Definition at line 28 of file DigitsWriteoutBufferTRU.cxx.
void DigitsWriteoutBufferTRU::finish | ( | ) |
This is for the readout window that was interrupted by the end of the run.
Definition at line 139 of file DigitsWriteoutBufferTRU.cxx.
|
inline |
clear DigitsVectorStream
Definition at line 72 of file DigitsWriteoutBufferTRU.h.
|
inline |
Definition at line 100 of file DigitsWriteoutBufferTRU.h.
void DigitsWriteoutBufferTRU::init | ( | ) |
Definition at line 120 of file DigitsWriteoutBufferTRU.cxx.
Reserve space for the future container
eventTimeBin | resize adding at the end |
Definition at line 112 of file DigitsWriteoutBufferTRU.cxx.
Definition at line 98 of file DigitsWriteoutBufferTRU.h.
Setters for the live time, busy time, pre-trigger time.
Definition at line 97 of file DigitsWriteoutBufferTRU.h.