30struct ReferenceCountedBuffer;
Defines a raw channel hit storage struct for Readout/sorting.
Provides a class for memory management in reference-counted buffers.
Definition: BufferArena.h:50
This class extends RawChannel to produce a raw channel that is zero-copied from a reference counted b...
Definition: ZeroCopyHit.h:54
virtual ~ZeroCopyHit()
Destructor.
Definition: ZeroCopyHit.cpp:76
void freeHit()
Free an existing hit.
Definition: ZeroCopyHit.cpp:118
ZeroCopyHit & operator=(const ZeroCopyHit &rhs)
Assignment operator.
Definition: ZeroCopyHit.cpp:61
void setHit(size_t nWords, void *pHitData, ReferenceCountedBuffer *pBuffer, BufferArena *pArena)
Sets a new hit.
Definition: ZeroCopyHit.cpp:87
ZeroCopyHit()
Default constructor.
Definition: ZeroCopyHit.cpp:35
Definition: BufferArena.cpp:29
A struct containing a pointer to a hit and its properties.
Definition: RawChannel.h:41
A reference-counted buffer with dynamic storage.
Definition: ReferenceCountedBuffer.h:52