52 std::deque<DDASReadout::ZeroCopyHit*> m_sortedHits;
66 void addHits(std::deque<DDASReadout::ZeroCopyHit*>& newHits);
86 void sortHits(std::deque<DDASReadout::ZeroCopyHit*>& newHits);
92 void mergeHits(std::deque<DDASReadout::ZeroCopyHit*>& newHits);
Collect hits from modules and retains them in a sorted deque.
Definition: HitManager.h:49
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:40
bool haveHit()
Returns true if there's at least one hit that can be output.
Definition: HitManager.cpp:51
HitManager(uint64_t window)
Constructor.
Definition: HitManager.cpp:32
DDASReadout::ZeroCopyHit * nextHit()
Get the next hit from the queue.
Definition: HitManager.cpp:67
This class extends RawChannel to produce a raw channel that is zero-copied from a reference counted b...
Definition: ZeroCopyHit.h:55
Definition: BufferArena.cpp:29