30 struct ReferenceCountedBuffer;
Defines a raw channel hit storage struct for Readout/sorting.
Provides a class for memory management in reference-counted buffers.
Definition: BufferArena.h:51
This class extends RawChannel to produce a raw channel that is zero-copied from a reference counted b...
Definition: ZeroCopyHit.h:55
virtual ~ZeroCopyHit()
Destructor.
Definition: ZeroCopyHit.cpp:86
void freeHit()
Free an existing hit.
Definition: ZeroCopyHit.cpp:134
ZeroCopyHit & operator=(const ZeroCopyHit &rhs)
Assignment operator.
Definition: ZeroCopyHit.cpp:70
void setHit(size_t nWords, void *pHitData, ReferenceCountedBuffer *pBuffer, BufferArena *pArena)
Sets a new hit.
Definition: ZeroCopyHit.cpp:99
ZeroCopyHit()
Default constructor.
Definition: ZeroCopyHit.cpp:37
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:53