Definition at line 114 of file trigbs_orderedMerge.cxx.
◆ Buffer()
Buffer::Buffer |
( |
std::unique_ptr< EventStorage::DataReader > && |
reader, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Definition at line 140 of file trigbs_orderedMerge.cxx.
143 if (s_debugLogging) {
144 std::cout <<
"Constructed a Buffer with " <<
m_events.size() <<
" events loaded, global_id range: ["
145 <<
m_events.front().frag.global_id() <<
", " <<
m_events.back().frag.global_id() <<
"]" << std::endl;
◆ eventsInFile()
unsigned int Buffer::eventsInFile |
( |
| ) |
|
|
inline |
◆ fillBuffer()
EventStorage::DRError Buffer::fillBuffer |
( |
| ) |
|
|
inlineprivate |
Definition at line 124 of file trigbs_orderedMerge.cxx.
126 char* blobChars{
nullptr};
127 unsigned int blobCharsSize{0};
128 if (
const EventStorage::DRError err_code =
m_reader->getData(blobCharsSize, &blobChars); err_code != EventStorage::DRError::DROK) {
129 std::cerr <<
"Error code " << err_code <<
" from EventStorage::DataReader::getData" << std::endl;
136 return EventStorage::DRError::DROK;
◆ next()
◆ peek()
std::optional<std::reference_wrapper<const Event> > Buffer::peek |
( |
| ) |
const |
|
inline |
◆ reader()
const EventStorage::DataReader& Buffer::reader |
( |
| ) |
const |
|
inline |
◆ sort()
◆ m_events
std::vector<Event> Buffer::m_events |
|
private |
◆ m_reader
std::unique_ptr<EventStorage::DataReader> Buffer::m_reader |
|
private |
◆ m_size
size_t Buffer::m_size {0} |
|
private |
The documentation for this class was generated from the following file:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.