BOSS 7.0.3
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 |
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 Event/eformat/eformat-00-00-04/eformat/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 |
Destructor virtualisation
Definition at line 56 of file Event/eformat/eformat-00-00-04/eformat/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. |
|
inlinevirtual |
Destructor virtualisation
Definition at line 56 of file InstallArea/include/eformat/eformat/old/Header.h.
|
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, eformat::old::SubDetectorFragment, 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().
|
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, eformat::old::SubDetectorFragment, eformat::old::FullEventFragment, eformat::old::ROBFragment, eformat::old::ROSFragment, and eformat::old::SubDetectorFragment.
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().
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. |
|
inline |
Returns the size, in words, of the current fragment.
Definition at line 72 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
|
inline |
Returns the size, in words, of the current fragment.
Definition at line 72 of file InstallArea/include/eformat/eformat/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 Event/eformat/eformat-00-00-04/eformat/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 InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the fragment type.
Definition at line 67 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by Header().
|
inline |
Returns the fragment type.
Definition at line 67 of file InstallArea/include/eformat/eformat/old/Header.h.
|
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 Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), nspecific(), and specific_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 InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the number of specific words available in the specific header part
Definition at line 123 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
|
inline |
Returns the number of specific words available in the specific header part
Definition at line 123 of file InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the number of status words available
Definition at line 98 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), noffset(), nspecific(), offset(), and specific_header().
|
inline |
Returns the number of status words available
Definition at line 98 of file InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the offset words, as an iterator to the offset words available.
Definition at line 116 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
|
inline |
Returns the offset words, as an iterator to the offset words available.
Definition at line 116 of file InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the current run number.
Definition at line 93 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the current run number.
Definition at line 93 of file InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the full source identifier.
Definition at line 88 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the full source identifier.
Definition at line 88 of file InstallArea/include/eformat/eformat/old/Header.h.
|
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 Event/eformat/eformat-00-00-04/eformat/old/Header.h.
|
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 InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the status words, as an iterator to the status words available.
Definition at line 104 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the status words, as an iterator to the status words available.
Definition at line 104 of file InstallArea/include/eformat/eformat/old/Header.h.
|
inline |
Returns the formatting version.
Definition at line 83 of file Event/eformat/eformat-00-00-04/eformat/old/Header.h.
Referenced by eformat::old::convert(), convert_ros(), and main().
|
inline |
Returns the formatting version.
Definition at line 83 of file InstallArea/include/eformat/eformat/old/Header.h.