BOSS 7.0.2
BESIII Offline Software System
|
#include <RODFragment.h>
Public Member Functions | |
RODFragment (const uint32_t *it, size_t size_word) | |
virtual | ~RODFragment () |
virtual bool | check () const |
uint32_t | marker () const |
uint32_t | fragment_size_word () const |
uint32_t | header_size_word () const |
uint32_t | trailer_size_word () const |
uint32_t | version () const |
uint32_t | source_id () const |
uint32_t | run_no () const |
uint32_t | lvl1_id () const |
uint32_t | bc_id () const |
uint32_t | lvl1_trigger_type () const |
uint32_t | detev_type () const |
uint32_t | nstatus () const |
const uint32_t * | status (void) const |
uint32_t | ndata () const |
const uint32_t * | data (void) const |
uint32_t | status_position () const |
RODFragment (const uint32_t *it, size_t size_word) | |
virtual | ~RODFragment () |
virtual bool | check () const |
uint32_t | marker () const |
uint32_t | fragment_size_word () const |
uint32_t | header_size_word () const |
uint32_t | trailer_size_word () const |
uint32_t | version () const |
uint32_t | source_id () const |
uint32_t | run_no () const |
uint32_t | lvl1_id () const |
uint32_t | bc_id () const |
uint32_t | lvl1_trigger_type () const |
uint32_t | detev_type () const |
uint32_t | nstatus () const |
const uint32_t * | status (void) const |
uint32_t | ndata () const |
const uint32_t * | data (void) const |
uint32_t | status_position () const |
Implements the access methods and checking for the ROD header object, present in the event format stream. Manipulating ROD's is a bit different than the other fragments, as one can't know its ending position. There are two ways to solve that: the first being to give a pointer and a size, but the second, a bit more elegant, to indicate the end of the ROD instead of its begin.
Definition at line 32 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
eformat::old::RODFragment::RODFragment | ( | const uint32_t * | it, |
size_t | size_word | ||
) |
To build a header given the containing buffer. I need to know where the header starts in order to do that.
it | The position pointing the first word of this fragment |
size_word | The size of this fragment, in words |
Definition at line 22 of file RODFragment24.cxx.
|
inlinevirtual |
Destructor virtualisation
Definition at line 48 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
eformat::old::RODFragment::RODFragment | ( | const uint32_t * | it, |
size_t | size_word | ||
) |
To build a header given the containing buffer. I need to know where the header starts in order to do that.
it | The position pointing the first word of this fragment |
size_word | The size of this fragment, in words |
|
inlinevirtual |
Destructor virtualisation
Definition at line 48 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the bunch crossing identifier
Definition at line 99 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the bunch crossing identifier
Definition at line 99 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
virtual |
Says if the the header is valid. This may throw exceptions.
Definition at line 47 of file RODFragment24.cxx.
Referenced by eformat::old::ROBFragment::check_tree(), and eformat::old::ROBFragment::rod().
|
virtual |
Says if the the header is valid. This may throw exceptions.
const uint32_t * eformat::old::RODFragment::data | ( | void | ) | const |
Returns a pointer to the first data word
Definition at line 41 of file RODFragment24.cxx.
Referenced by eformat::old::convert(), and convert_ros().
const uint32_t * eformat::old::RODFragment::data | ( | void | ) | const |
Returns a pointer to the first data word
|
inline |
Returns the detector event type
Definition at line 109 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the detector event type
Definition at line 109 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
uint32_t eformat::old::RODFragment::fragment_size_word | ( | ) | const |
Returns the total fragment size
Definition at line 30 of file RODFragment24.cxx.
uint32_t eformat::old::RODFragment::fragment_size_word | ( | ) | const |
Returns the total fragment size
|
inline |
Returns the size, in words, of the current header. That does not include the trailer.
Definition at line 69 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
|
inline |
Returns the size, in words, of the current header. That does not include the trailer.
Definition at line 69 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the lvl1 identifier
Definition at line 94 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the lvl1 identifier
Definition at line 94 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the lvl1 trigger type
Definition at line 104 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the lvl1 trigger type
Definition at line 104 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the fragment type.
Definition at line 58 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by RODFragment().
|
inline |
Returns the fragment type.
Definition at line 58 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the number of data words available
Definition at line 125 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the number of data words available
Definition at line 125 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the number of status words available
Definition at line 114 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the number of status words available
Definition at line 114 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the current run number.
Definition at line 89 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the current run number.
Definition at line 89 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the full source identifier.
Definition at line 84 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the full source identifier.
Definition at line 84 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
const uint32_t * eformat::old::RODFragment::status | ( | void | ) | const |
Returns the status words, as an iterator to the status words available.
Definition at line 35 of file RODFragment24.cxx.
Referenced by eformat::old::convert(), and convert_ros().
const uint32_t * eformat::old::RODFragment::status | ( | void | ) | const |
Returns the status words, as an iterator to the status words available.
|
inline |
Returns the status block position. A value of zero
indicates that the status block preceeds the data block. A value of one
means the contrary.
Definition at line 137 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the status block position. A value of zero
indicates that the status block preceeds the data block. A value of one
means the contrary.
Definition at line 137 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the size, in words, of the trailer
Definition at line 74 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
|
inline |
Returns the size, in words, of the trailer
Definition at line 74 of file InstallArea/include/eformat/eformat/old/RODFragment.h.
|
inline |
Returns the formatting version.
Definition at line 79 of file Event/eformat/eformat-00-00-04/eformat/old/RODFragment.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Returns the formatting version.
Definition at line 79 of file InstallArea/include/eformat/eformat/old/RODFragment.h.