The pld header contains information about the run including the date/time, the title, and the run number.
More...
#include <hribf_buffers.h>
The pld header contains information about the run including the date/time, the title, and the run number.
Definition at line 70 of file hribf_buffers.h.
§ PLD_header()
PLD_header::PLD_header |
( |
| ) |
|
§ ~PLD_header()
PLD_header::~PLD_header |
( |
| ) |
|
§ GetBufferLength()
unsigned int PLD_header::GetBufferLength |
( |
| ) |
|
§ GetEndDate()
char* PLD_header::GetEndDate |
( |
| ) |
|
|
inline |
§ GetFacility()
char* PLD_header::GetFacility |
( |
| ) |
|
|
inline |
Get the total length of the buffer (in bytes)
Definition at line 90 of file hribf_buffers.h.
§ GetFormat()
char* PLD_header::GetFormat |
( |
| ) |
|
|
inline |
§ GetMaxSpillSize()
unsigned int PLD_header::GetMaxSpillSize |
( |
| ) |
|
|
inline |
§ GetRunNumber()
unsigned int PLD_header::GetRunNumber |
( |
| ) |
|
|
inline |
§ GetRunTime()
float PLD_header::GetRunTime |
( |
| ) |
|
|
inline |
§ GetRunTitle()
char* PLD_header::GetRunTitle |
( |
| ) |
|
|
inline |
§ GetStartDate()
char* PLD_header::GetStartDate |
( |
| ) |
|
|
inline |
§ Print()
void PLD_header::Print |
( |
void |
| ) |
|
§ PrintDelimited()
void PLD_header::PrintDelimited |
( |
const char & |
delimiter_ = '\t' | ) |
|
§ Read()
bool PLD_header::Read |
( |
std::ifstream * |
file_ | ) |
|
|
virtual |
Read a HEAD buffer from a pld format file. Return false if buffer has the wrong header and return true otherwise.
Read a pld style header from a file.
Reimplemented from BufferType.
Definition at line 183 of file hribf_buffers.cpp.
§ Reset()
void PLD_header::Reset |
( |
void |
| ) |
|
|
virtual |
§ SetEndDateTime()
void PLD_header::SetEndDateTime |
( |
| ) |
|
§ SetFacility()
void PLD_header::SetFacility |
( |
std::string |
input_ | ) |
|
Set the facility of the output pld file (max length 16).
Definition at line 134 of file hribf_buffers.cpp.
§ SetMaxSpillSize()
void PLD_header::SetMaxSpillSize |
( |
unsigned int |
max_spill_size_ | ) |
|
|
inline |
§ SetRunNumber()
void PLD_header::SetRunNumber |
( |
unsigned int |
input_ | ) |
|
|
inline |
§ SetRunTime()
void PLD_header::SetRunTime |
( |
float |
time_ | ) |
|
|
inline |
§ SetStartDateTime()
void PLD_header::SetStartDateTime |
( |
| ) |
|
§ SetTitle()
void PLD_header::SetTitle |
( |
std::string |
input_ | ) |
|
Set the title of the output pld file (unlimited length).
Definition at line 139 of file hribf_buffers.cpp.
§ Write()
bool PLD_header::Write |
( |
std::ofstream * |
file_ | ) |
|
|
virtual |
Write a pld style header to a file.
HEAD buffer (1 word buffer type, 1 word run number, 1 word maximum spill size, 4 word format, 2 word facility, 6 word date, 1 word title length (x in bytes), x/4 word title, 1 word end of buffer
Reimplemented from BufferType.
Definition at line 149 of file hribf_buffers.cpp.
§ end_date
char PLD_header::end_date[25] |
|
private |
§ facility
char PLD_header::facility[17] |
|
private |
§ format
char PLD_header::format[17] |
|
private |
§ max_spill_size
unsigned int PLD_header::max_spill_size |
|
private |
§ run_num
unsigned int PLD_header::run_num |
|
private |
§ run_time
float PLD_header::run_time |
|
private |
§ run_title
char* PLD_header::run_title |
|
private |
§ runStartTime
time_t PLD_header::runStartTime |
|
private |
§ runStopTime
time_t PLD_header::runStopTime |
|
private |
§ start_date
char PLD_header::start_date[25] |
|
private |
The documentation for this class was generated from the following files: