49 std::deque<DDASReadout::ZeroCopyHit *> m_sortedHits;
63 void addHits(std::deque<DDASReadout::ZeroCopyHit *> &newHits);
83 void sortHits(std::deque<DDASReadout::ZeroCopyHit *> &newHits);
89 void mergeHits(std::deque<DDASReadout::ZeroCopyHit *> &newHits);
Collect hits from modules and retains them in a sorted deque.
Definition: HitManager.h:46
void addHits(std::deque< DDASReadout::ZeroCopyHit * > &newHits)
Adds a new set of hits to the m_sortedHits deque maintaining total ordering by calibrated timestamp.
Definition: HitManager.cpp:39
bool haveHit()
Returns true if there's at least one hit that can be output.
Definition: HitManager.cpp:48
HitManager(uint64_t window)
Constructor.
Definition: HitManager.cpp:33
DDASReadout::ZeroCopyHit * nextHit()
Get the next hit from the queue.
Definition: HitManager.cpp:62
This class extends RawChannel to produce a raw channel that is zero-copied from a reference counted b...
Definition: ZeroCopyHit.h:54
Definition: BufferArena.cpp:29