BOSS 7.0.6
BESIII Offline Software System
|
#include <ROBFragment.h>
Public Member Functions | |
ROBFragment (const TPointer &it) | |
ROBFragment (const ROBFragment &other) | |
ROBFragment () | |
virtual | ~ROBFragment () |
ROBFragment & | operator= (const ROBFragment &other) |
ROBFragment & | assign (const TPointer &it) |
virtual bool | check () const |
bool | check_tree () const |
uint32_t | rod_marker () const |
uint32_t | rod_fragment_size_word () const |
uint32_t | rod_header_size_word () const |
uint32_t | rod_trailer_size_word () const |
uint32_t | rod_version () const |
uint32_t | rod_source_id () const |
uint32_t | rod_run_no () const |
uint32_t | rod_lvl1_id () const |
uint32_t | rod_bc_id () const |
uint32_t | rod_lvl1_trigger_type () const |
uint32_t | rod_detev_type () const |
uint32_t | rod_nstatus () const |
void | rod_status (TPointer &it) const |
uint32_t | rod_ndata () const |
void | rod_data (TPointer &it) const |
uint32_t | rod_status_position () const |
Public Member Functions inherited from eformat::Header< TPointer > | |
Header (const TPointer &it, uint32_t match) | |
Header () | |
Header (const Header &other) | |
virtual | ~Header () |
Header & | operator= (const Header &other) |
Header & | assign (const TPointer &it, uint32_t match) |
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 | nstatus () const |
void | start (TPointer &it) const |
void | payload (TPointer &it) const |
void | end (TPointer &it) const |
uint32_t | payload_size_word (void) const |
void | status (TPointer &it) const |
uint32_t | nspecific () const |
void | specific_header (TPointer &it) const |
virtual uint32_t | nchildren () const |
virtual void | child (TPointer &p, size_t n) const |
virtual void | child_check (TPointer &p, size_t n) const |
virtual uint32_t | children (TPointer *p, size_t max) const |
Describes how to access the contents of a subdetector fragment, as prescribed by the event format note.
Definition at line 30 of file ROBFragment.h.
eformat::ROBFragment< TPointer >::ROBFragment | ( | const TPointer & | it | ) |
To build a fragment given the containing buffer. I need to know where the fragment starts in order to do that.
it | The exact position where this fragment should start. |
Definition at line 193 of file ROBFragment.h.
|
inline |
Copy constructor
other | The fragment to be copied |
Definition at line 47 of file ROBFragment.h.
|
inline |
Builds an empty, otherwise useless ROBFragment
Definition at line 53 of file ROBFragment.h.
|
inlinevirtual |
eformat::ROBFragment< TPointer > & eformat::ROBFragment< TPointer >::assign | ( | const TPointer & | it | ) |
Manual re-assignment
it | The position pointing the first word of this fragment |
Definition at line 209 of file ROBFragment.h.
|
virtual |
Says if the the fragment is valid. This may throw exceptions.
Reimplemented from eformat::Header< TPointer >.
Definition at line 225 of file ROBFragment.h.
Referenced by eformat::ROBFragment< TPointer >::check_tree().
|
inline |
Says if the the fragment is valid. This may throw exceptions.
Definition at line 83 of file ROBFragment.h.
|
inline |
|
inline |
Returns the bunch crossing identifier
Definition at line 130 of file ROBFragment.h.
void eformat::ROBFragment< TPointer >::rod_data | ( | TPointer & | it | ) | const |
Returns a pointer to the first data word
it | An updateable iterator you should provide. |
Definition at line 257 of file ROBFragment.h.
Referenced by EFEventLoopMgr::executeEvent(), main(), RawDataInputSvc::nextEvent(), MixerAlg::nextEvent(), and RawEventReader::readEvent().
|
inline |
Returns the detector event type
Definition at line 140 of file ROBFragment.h.
Referenced by EFEventLoopMgr::executeEvent(), main(), RawDataInputSvc::nextEvent(), MixerAlg::nextEvent(), and RawEventReader::readEvent().
|
inline |
|
inline |
Returns the size, in words, of the current header. That does not include the trailer.
Definition at line 100 of file ROBFragment.h.
|
inline |
Returns the lvl1 identifier
Definition at line 125 of file ROBFragment.h.
Referenced by main().
|
inline |
Returns the lvl1 trigger type
Definition at line 135 of file ROBFragment.h.
|
inline |
Returns the fragment type.
Definition at line 88 of file ROBFragment.h.
Referenced by eformat::ROBFragment< TPointer >::ROBFragment().
|
inline |
Returns the number of data words available
Definition at line 159 of file ROBFragment.h.
Referenced by EFEventLoopMgr::executeEvent(), main(), RawDataInputSvc::nextEvent(), MixerAlg::nextEvent(), and RawEventReader::readEvent().
|
inline |
|
inline |
Returns the current run number.
Definition at line 120 of file ROBFragment.h.
|
inline |
Returns the full source identifier.
Definition at line 115 of file ROBFragment.h.
Referenced by cmp_source_id(), EFEventLoopMgr::executeEvent(), main(), RawDataInputSvc::nextEvent(), MixerAlg::nextEvent(), RawEventReader::readEvent(), and eformat::ROBFragment< TPointer >::ROBFragment().
void eformat::ROBFragment< TPointer >::rod_status | ( | TPointer & | it | ) | const |
Returns the status words, as an iterator to the status words available.
it | An updateable iterator you should provide. |
Definition at line 249 of file ROBFragment.h.
|
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 174 of file ROBFragment.h.
|
inline |
Returns the size, in words, of the trailer
Definition at line 105 of file ROBFragment.h.
|
inline |
Returns the formatting version.
Definition at line 110 of file ROBFragment.h.