Public Member Functions | |
SpillWrapper (std::size_t nfragments) | |
void | add (const art::Event &evt, const art::InputTag &tag) |
void | add (const artdaq::Fragment &frag) |
const uint8_t * | get () const |
std::size_t | size () const |
bool | ready () const |
Private Attributes | |
const std::size_t | nfragments_ |
std::vector< uint8_t > | buffer_ |
std::size_t | nfragments_processed_ |
std::size_t | size_ |
Definition at line 68 of file BeamlineUnpack.h.
|
inline |
Definition at line 72 of file BeamlineUnpack.h.
References add(), evt, and getGoodRuns4SAM::tag.
void daq2raw::SpillWrapper::add | ( | const art::Event & | evt, |
const art::InputTag & | tag | ||
) |
Definition at line 40 of file BeamlineUnpack.cxx.
References allTimeWatchdog::endl, art::DataViewImpl::getValidHandle(), and getGoodRuns4SAM::tag.
Referenced by daq2raw::BeamlineRawInputDriver::loadSpillFragments(), daq2raw::TestBeamRawInputDriver::loadSpillFragments(), and SpillWrapper().
void daq2raw::SpillWrapper::add | ( | const artdaq::Fragment & | frag | ) |
Definition at line 20 of file BeamlineUnpack.cxx.
References buffer_, nfragments_, nfragments_processed_, and size_.
|
inline |
Definition at line 82 of file BeamlineUnpack.h.
References buffer_.
Referenced by daq2raw::BeamlineRawInputDriver::getSpillFrag(), and daq2raw::TestBeamRawInputDriver::getSpillFrag().
|
inline |
Definition at line 86 of file BeamlineUnpack.h.
References nfragments_, and nfragments_processed_.
Referenced by daq2raw::BeamlineRawInputDriver::loadSpillFragments(), and daq2raw::TestBeamRawInputDriver::loadSpillFragments().
|
inline |
Definition at line 84 of file BeamlineUnpack.h.
References size_.
Referenced by daq2raw::BeamlineRawInputDriver::getSpillFrag(), and daq2raw::TestBeamRawInputDriver::getSpillFrag().
|
private |
Definition at line 91 of file BeamlineUnpack.h.
|
private |
Definition at line 90 of file BeamlineUnpack.h.
|
private |
Definition at line 93 of file BeamlineUnpack.h.
|
private |
Definition at line 94 of file BeamlineUnpack.h.