PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
The DATA buffer contains all physics data within the .pld file. More...
#include <hribf_buffers.h>
Public Member Functions | |
PLD_data () | |
Default constructor. More... | |
virtual bool | Write (std::ofstream *file_, char *data_, unsigned int nWords_) |
0x41544144 "DATA" More... | |
virtual bool | Read (std::ifstream *file_, char *data_, unsigned int &nBytes, unsigned int max_bytes_, bool dry_run_mode=false) |
Read a data spill from a file. More... | |
virtual void | Reset () |
Set initial values. More... | |
![]() | |
unsigned int | GetBufferType () |
unsigned int | GetBufferSize () |
unsigned int | GetBufferEndFlag () |
bool | DebugMode () |
void | SetDebugMode (bool debug_=true) |
bool | ReadHeader (std::ifstream *file_) |
Return true if the first word of the current buffer is equal to this buffer type. More... | |
Additional Inherited Members | |
![]() | |
BufferType (unsigned int bufftype_, unsigned int buffsize_, unsigned int buffend_=0xFFFFFFFF) | |
Generic BufferType constructor. More... | |
virtual bool | Write (std::ofstream *file_) |
Returns only false if not overloaded. More... | |
virtual bool | Read (std::ifstream *file_) |
Returns only false if not overloaded. More... | |
![]() | |
unsigned int | bufftype |
unsigned int | buffsize |
unsigned int | buffend |
unsigned int | zero |
bool | debug_mode |
The DATA buffer contains all physics data within the .pld file.
Definition at line 138 of file hribf_buffers.h.
PLD_data::PLD_data | ( | ) |
Default constructor.
Definition at line 257 of file hribf_buffers.cpp.
|
virtual |
Read a data spill from a file.
Read a pld style data buffer from file.
Definition at line 277 of file hribf_buffers.cpp.
|
inlinevirtual |
Set initial values.
Reimplemented from BufferType.
Definition at line 151 of file hribf_buffers.h.
|
virtual |
0x41544144 "DATA"
Write a pld style data buffer to file.
Write a data spill to file
Definition at line 262 of file hribf_buffers.cpp.