BOSS 7.0.7
BESIII Offline Software System
|
#include <Header.h>
Public Member Functions | |
Header (const uint32_t *it, uint32_t match) | |
virtual | ~Header () |
virtual bool | check () const |
uint32_t | marker () const |
uint32_t | fragment_size_word () const |
uint32_t | header_size_word () const |
uint32_t | version () const |
uint32_t | source_id () const |
uint32_t | run_no () const |
uint32_t | nstatus () const |
const uint32_t * | status () const |
uint32_t | noffset () const |
const uint32_t * | offset (void) const |
uint32_t | nspecific () const |
const uint32_t * | specific_header (void) const |
const uint32_t * | child (size_t n) const |
Contains the information on the Header of a fragment as described by the original note. The header is a composite entity, build from two parts:
Definition at line 40 of file old/Header.h.
eformat::old::Header::Header | ( | const uint32_t * | it, |
uint32_t | match | ||
) |
To build a header given the containing buffer. I need to know where the header starts in order to do that.
it | The exact position where this header should start. |
match | The word that this header should match. |
Definition at line 21 of file Header24.cxx.
|
inlinevirtual |
|
virtual |
Says if the generic part of the header is valid. This may throw exceptions.
Reimplemented in eformat::old::FullEventFragment, eformat::old::ROBFragment, eformat::old::ROSFragment, and eformat::old::SubDetectorFragment.
Definition at line 29 of file Header24.cxx.
Referenced by eformat::old::FullEventFragment::check(), eformat::old::ROBFragment::check(), eformat::old::ROSFragment::check(), and eformat::old::SubDetectorFragment::check().
const uint32_t * eformat::old::Header::child | ( | size_t | n | ) | const |
Returns the nth child fragment. If the nth fragment doesn't exist, an exception is thrown.
n | The fragment position, starting at zero, of the child fragment you would like to get. |
Definition at line 39 of file Header24.cxx.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the size, in words, of the current fragment.
Definition at line 72 of file old/Header.h.
|
inline |
Returns the size, in words, of the current header. That does include the specific part of the header.
Definition at line 78 of file old/Header.h.
|
inline |
Returns the fragment type.
Definition at line 67 of file old/Header.h.
Referenced by Header().
|
inline |
Returns the number of offset words available. This will also determine the number of child fragments available to this super-fragment.
Definition at line 110 of file old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), nspecific(), and specific_header().
|
inline |
Returns the number of specific words available in the specific header part
Definition at line 123 of file old/Header.h.
|
inline |
Returns the number of status words available
Definition at line 98 of file old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), noffset(), nspecific(), offset(), and specific_header().
|
inline |
Returns the offset words, as an iterator to the offset words available.
Definition at line 116 of file old/Header.h.
|
inline |
Returns the current run number.
Definition at line 93 of file old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the full source identifier.
Definition at line 88 of file old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns an iterator to the start of the specific header part (this includes the number of specific header fragments)
Definition at line 130 of file old/Header.h.
|
inline |
Returns the status words, as an iterator to the status words available.
Definition at line 104 of file old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the formatting version.
Definition at line 83 of file old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), and main().