BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
eformat::ROBFragment< TPointer > Class Template Reference

#include <ROBFragment.h>

Inheritance diagram for eformat::ROBFragment< TPointer >:

Public Member Functions

 ROBFragment (const TPointer &it)
 ROBFragment (const ROBFragment &other)
 ROBFragment ()
virtual ~ROBFragment ()
ROBFragmentoperator= (const ROBFragment &other)
ROBFragmentassign (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
 ROBFragment (const TPointer &it)
 ROBFragment (const ROBFragment &other)
 ROBFragment ()
virtual ~ROBFragment ()
ROBFragmentoperator= (const ROBFragment &other)
ROBFragmentassign (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
 ROBFragment (const TPointer &it)
 ROBFragment (const ROBFragment &other)
 ROBFragment ()
virtual ~ROBFragment ()
ROBFragmentoperator= (const ROBFragment &other)
ROBFragmentassign (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 ()
Headeroperator= (const Header &other)
Headerassign (const TPointer &it, uint32_t match)
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
 Header (const TPointer &it, uint32_t match)
 Header ()
 Header (const Header &other)
virtual ~Header ()
Headeroperator= (const Header &other)
Headerassign (const TPointer &it, uint32_t match)
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
 Header (const TPointer &it, uint32_t match)
 Header ()
 Header (const Header &other)
virtual ~Header ()
Headeroperator= (const Header &other)
Headerassign (const TPointer &it, uint32_t match)
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

Detailed Description

template<class TPointer>
class eformat::ROBFragment< TPointer >

Describes how to access the contents of a subdetector fragment, as prescribed by the event format note.

Definition at line 29 of file Event/eformat/include/eformat/ROBFragment.h.

Constructor & Destructor Documentation

◆ ROBFragment() [1/9]

template<class TPointer>
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.

Parameters
itThe exact position where this fragment should start.

Definition at line 191 of file Event/eformat/include/eformat/ROBFragment.h.

192 : eformat::Header<TPointer>( it, eformat::ROB ), m_start() {
193 ERS_DEBUG_3( "Building ROBFragment from pointer" );
195 ERS_DEBUG_1( "Initialized header with source identifier = %s",
197 ERS_DEBUG_3( "Building underlying RODFragment" );
199 ERS_DEBUG_1( "Initialized ROD header with source identifier = %s",
201}
#define EFORMAT_WRONG_MARKER(current, expected)
#define ERS_DEBUG_1(...)
#define ERS_DEBUG_3(...)
void specific_header(TPointer &it) const

Referenced by assign(), operator=(), and ROBFragment().

◆ ROBFragment() [2/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( const ROBFragment< TPointer > & other)
inline

Copy constructor

Parameters
otherThe fragment to be copied

Definition at line 45 of file Event/eformat/include/eformat/ROBFragment.h.

◆ ROBFragment() [3/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( )
inline

Builds an empty, otherwise useless ROBFragment

Definition at line 51 of file Event/eformat/include/eformat/ROBFragment.h.

51: Header<TPointer>(), m_start() {}

◆ ~ROBFragment() [1/3]

template<class TPointer>
virtual eformat::ROBFragment< TPointer >::~ROBFragment ( )
inlinevirtual

Destructor virtualisation

Definition at line 56 of file Event/eformat/include/eformat/ROBFragment.h.

56{}

◆ ROBFragment() [4/9]

template<class TPointer>
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.

Parameters
itThe exact position where this fragment should start.

◆ ROBFragment() [5/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( const ROBFragment< TPointer > & other)
inline

Copy constructor

Parameters
otherThe fragment to be copied

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

46 : Header<TPointer>( other ), m_start( other.m_start ) {}

◆ ROBFragment() [6/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( )
inline

Builds an empty, otherwise useless ROBFragment

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

51: Header<TPointer>(), m_start() {}

◆ ~ROBFragment() [2/3]

template<class TPointer>
virtual eformat::ROBFragment< TPointer >::~ROBFragment ( )
inlinevirtual

Destructor virtualisation

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

56{}

◆ ROBFragment() [7/9]

template<class TPointer>
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.

Parameters
itThe exact position where this fragment should start.

◆ ROBFragment() [8/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( const ROBFragment< TPointer > & other)
inline

Copy constructor

Parameters
otherThe fragment to be copied

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

46 : Header<TPointer>( other ), m_start( other.m_start ) {}

◆ ROBFragment() [9/9]

template<class TPointer>
eformat::ROBFragment< TPointer >::ROBFragment ( )
inline

Builds an empty, otherwise useless ROBFragment

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

51: Header<TPointer>(), m_start() {}

◆ ~ROBFragment() [3/3]

template<class TPointer>
virtual eformat::ROBFragment< TPointer >::~ROBFragment ( )
inlinevirtual

Destructor virtualisation

Definition at line 56 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

56{}

Member Function Documentation

◆ assign() [1/3]

template<class TPointer>
eformat::ROBFragment< TPointer > & eformat::ROBFragment< TPointer >::assign ( const TPointer & it)

Manual re-assignment

Parameters
itThe position pointing the first word of this fragment

Definition at line 204 of file Event/eformat/include/eformat/ROBFragment.h.

204 {
205 ERS_DEBUG_3( "Re-building ROBFragment from pointer" );
207 // maqm commentspecific_heademt::Header<TPointer>::(m_start);
208 ERS_DEBUG_1( "Initialized header with source identifier = %s",
210 ERS_DEBUG_3( "Re-building underlying RODFragment" );
212 ERS_DEBUG_1( "Reinitialized header with source identifier = %s",
214 return *this;
215}
Header & assign(const TPointer &it, uint32_t match)

◆ assign() [2/3]

template<class TPointer>
ROBFragment & eformat::ROBFragment< TPointer >::assign ( const TPointer & it)

Manual re-assignment

Parameters
itThe position pointing the first word of this fragment

◆ assign() [3/3]

template<class TPointer>
ROBFragment & eformat::ROBFragment< TPointer >::assign ( const TPointer & it)

Manual re-assignment

Parameters
itThe position pointing the first word of this fragment

◆ check() [1/3]

template<class TPointer>
bool eformat::ROBFragment< TPointer >::check ( ) const
virtual

Says if the the fragment is valid. This may throw exceptions.

Reimplemented from eformat::Header< TPointer >.

Definition at line 217 of file Event/eformat/include/eformat/ROBFragment.h.

217 {
218 // ROB checking
219 ERS_DEBUG_2( "Checking for consistency of ROBFragment [%s]",
221 eformat::Header<TPointer>::check(); //< first do a generic check
222 if ( eformat::Header<TPointer>::nspecific() != NSPECIFIC )
223 throw EFORMAT_SIZE_CHECK( NSPECIFIC, this->nspecific() );
224
225 // ROD checking
226 ERS_DEBUG_2( "Checking for consistency of RODFragment [%s]",
231 if ( rod_fragment_size_word() != 12 + rod_nstatus() + rod_ndata() )
233 return true;
234}
#define EFORMAT_BAD_VERSION(current, supported)
#define EFORMAT_SIZE_CHECK(actual, informed)
#define ERS_DEBUG_2(...)

Referenced by check_tree().

◆ check() [2/3]

template<class TPointer>
virtual bool eformat::ROBFragment< TPointer >::check ( ) const
virtual

Says if the the fragment is valid. This may throw exceptions.

Reimplemented from eformat::Header< TPointer >.

◆ check() [3/3]

template<class TPointer>
virtual bool eformat::ROBFragment< TPointer >::check ( ) const
virtual

Says if the the fragment is valid. This may throw exceptions.

Reimplemented from eformat::Header< TPointer >.

◆ check_tree() [1/3]

template<class TPointer>
bool eformat::ROBFragment< TPointer >::check_tree ( ) const
inline

Says if the the fragment is valid. This may throw exceptions.

Definition at line 84 of file Event/eformat/include/eformat/ROBFragment.h.

84 {
85 check();
86 return true;
87 }

◆ check_tree() [2/3]

template<class TPointer>
bool eformat::ROBFragment< TPointer >::check_tree ( ) const
inline

Says if the the fragment is valid. This may throw exceptions.

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

84 {
85 check();
86 return true;
87 }

◆ check_tree() [3/3]

template<class TPointer>
bool eformat::ROBFragment< TPointer >::check_tree ( ) const
inline

Says if the the fragment is valid. This may throw exceptions.

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

84 {
85 check();
86 return true;
87 }

◆ operator=() [1/3]

template<class TPointer>
ROBFragment & eformat::ROBFragment< TPointer >::operator= ( const ROBFragment< TPointer > & other)
inline

Assignment

Parameters
otherThe fragment to be copied

Definition at line 63 of file Event/eformat/include/eformat/ROBFragment.h.

63 {
65 m_start = other.m_start;
66 return *this;
67 }
Header & operator=(const Header &other)

◆ operator=() [2/3]

template<class TPointer>
ROBFragment & eformat::ROBFragment< TPointer >::operator= ( const ROBFragment< TPointer > & other)
inline

Assignment

Parameters
otherThe fragment to be copied

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

63 {
65 m_start = other.m_start;
66 return *this;
67 }

◆ operator=() [3/3]

template<class TPointer>
ROBFragment & eformat::ROBFragment< TPointer >::operator= ( const ROBFragment< TPointer > & other)
inline

Assignment

Parameters
otherThe fragment to be copied

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

63 {
65 m_start = other.m_start;
66 return *this;
67 }

◆ rod_bc_id() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_bc_id ( ) const
inline

Returns the bunch crossing identifier

Definition at line 133 of file Event/eformat/include/eformat/ROBFragment.h.

133{ return m_start[6]; }

◆ rod_bc_id() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_bc_id ( ) const
inline

Returns the bunch crossing identifier

Definition at line 133 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

133{ return m_start[6]; }

◆ rod_bc_id() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_bc_id ( ) const
inline

Returns the bunch crossing identifier

Definition at line 133 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

133{ return m_start[6]; }

◆ rod_data() [1/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_data ( TPointer & it) const

Returns a pointer to the first data word

Parameters
itAn updateable iterator you should provide.

Definition at line 243 of file Event/eformat/include/eformat/ROBFragment.h.

243 {
244 it = m_start;
245 it += 9;
246 if ( !rod_status_position() ) it += rod_nstatus();
247}

Referenced by EFEventLoopMgr::executeEvent(), main(), main(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

◆ rod_data() [2/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_data ( TPointer & it) const

Returns a pointer to the first data word

Parameters
itAn updateable iterator you should provide.

◆ rod_data() [3/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_data ( TPointer & it) const

Returns a pointer to the first data word

Parameters
itAn updateable iterator you should provide.

◆ rod_detev_type() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_detev_type ( ) const
inline

Returns the detector event type

Definition at line 143 of file Event/eformat/include/eformat/ROBFragment.h.

143{ return m_start[8]; }

Referenced by EFEventLoopMgr::executeEvent(), main(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

◆ rod_detev_type() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_detev_type ( ) const
inline

Returns the detector event type

Definition at line 143 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

143{ return m_start[8]; }

◆ rod_detev_type() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_detev_type ( ) const
inline

Returns the detector event type

Definition at line 143 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

143{ return m_start[8]; }

◆ rod_fragment_size_word() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_fragment_size_word ( ) const
inline

Returns the total fragment size

Definition at line 97 of file Event/eformat/include/eformat/ROBFragment.h.

97{ return this->payload_size_word(); }

Referenced by check().

◆ rod_fragment_size_word() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_fragment_size_word ( ) const
inline

Returns the total fragment size

Definition at line 97 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

97{ return this->payload_size_word(); }

◆ rod_fragment_size_word() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_fragment_size_word ( ) const
inline

Returns the total fragment size

Definition at line 97 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

97{ return this->payload_size_word(); }

◆ rod_header_size_word() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_header_size_word ( ) const
inline

Returns the size, in words, of the current header. That does not include the trailer.

Definition at line 103 of file Event/eformat/include/eformat/ROBFragment.h.

103{ return m_start[1]; }

Referenced by check().

◆ rod_header_size_word() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_header_size_word ( ) const
inline

Returns the size, in words, of the current header. That does not include the trailer.

Definition at line 103 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

103{ return m_start[1]; }

◆ rod_header_size_word() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_header_size_word ( ) const
inline

Returns the size, in words, of the current header. That does not include the trailer.

Definition at line 103 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

103{ return m_start[1]; }

◆ rod_lvl1_id() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_id ( ) const
inline

Returns the lvl1 identifier

Definition at line 128 of file Event/eformat/include/eformat/ROBFragment.h.

128{ return m_start[5]; }

Referenced by main().

◆ rod_lvl1_id() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_id ( ) const
inline

Returns the lvl1 identifier

Definition at line 128 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

128{ return m_start[5]; }

◆ rod_lvl1_id() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_id ( ) const
inline

Returns the lvl1 identifier

Definition at line 128 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

128{ return m_start[5]; }

◆ rod_lvl1_trigger_type() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_trigger_type ( ) const
inline

Returns the lvl1 trigger type

Definition at line 138 of file Event/eformat/include/eformat/ROBFragment.h.

138{ return m_start[7]; }

◆ rod_lvl1_trigger_type() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_trigger_type ( ) const
inline

Returns the lvl1 trigger type

Definition at line 138 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

138{ return m_start[7]; }

◆ rod_lvl1_trigger_type() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_lvl1_trigger_type ( ) const
inline

Returns the lvl1 trigger type

Definition at line 138 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

138{ return m_start[7]; }

◆ rod_marker() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_marker ( ) const
inline

Returns the fragment type.

Definition at line 92 of file Event/eformat/include/eformat/ROBFragment.h.

92{ return m_start[0]; }

Referenced by assign(), and ROBFragment().

◆ rod_marker() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_marker ( ) const
inline

Returns the fragment type.

Definition at line 92 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

92{ return m_start[0]; }

◆ rod_marker() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_marker ( ) const
inline

Returns the fragment type.

Definition at line 92 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

92{ return m_start[0]; }

◆ rod_ndata() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_ndata ( ) const
inline

Returns the number of data words available

Definition at line 161 of file Event/eformat/include/eformat/ROBFragment.h.

161{ return m_start[this->payload_size_word() - 2]; }

Referenced by check(), EFEventLoopMgr::executeEvent(), main(), main(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), RawEventReader::readEvent(), and rod_status().

◆ rod_ndata() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_ndata ( ) const
inline

Returns the number of data words available

Definition at line 161 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

161{ return m_start[this->payload_size_word() - 2]; }

◆ rod_ndata() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_ndata ( ) const
inline

Returns the number of data words available

Definition at line 161 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

161{ return m_start[this->payload_size_word() - 2]; }

◆ rod_nstatus() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_nstatus ( ) const
inline

Returns the number of status words available

Definition at line 148 of file Event/eformat/include/eformat/ROBFragment.h.

148{ return m_start[this->payload_size_word() - 3]; }

Referenced by check(), and rod_data().

◆ rod_nstatus() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_nstatus ( ) const
inline

Returns the number of status words available

Definition at line 148 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

148{ return m_start[this->payload_size_word() - 3]; }

◆ rod_nstatus() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_nstatus ( ) const
inline

Returns the number of status words available

Definition at line 148 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

148{ return m_start[this->payload_size_word() - 3]; }

◆ rod_run_no() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_run_no ( ) const
inline

Returns the current run number.

Definition at line 123 of file Event/eformat/include/eformat/ROBFragment.h.

123{ return m_start[4]; }

◆ rod_run_no() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_run_no ( ) const
inline

Returns the current run number.

Definition at line 123 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

123{ return m_start[4]; }

◆ rod_run_no() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_run_no ( ) const
inline

Returns the current run number.

Definition at line 123 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

123{ return m_start[4]; }

◆ rod_source_id() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_source_id ( ) const
inline

◆ rod_source_id() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_source_id ( ) const
inline

Returns the full source identifier.

Definition at line 118 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

118{ return m_start[3]; }

◆ rod_source_id() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_source_id ( ) const
inline

Returns the full source identifier.

Definition at line 118 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

118{ return m_start[3]; }

◆ rod_status() [1/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_status ( TPointer & it) const

Returns the status words, as an iterator to the status words available.

Parameters
itAn updateable iterator you should provide.

Definition at line 237 of file Event/eformat/include/eformat/ROBFragment.h.

237 {
238 it = m_start;
239 it += 9;
240 if ( rod_status_position() ) it += rod_ndata();
241}

◆ rod_status() [2/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_status ( TPointer & it) const

Returns the status words, as an iterator to the status words available.

Parameters
itAn updateable iterator you should provide.

◆ rod_status() [3/3]

template<class TPointer>
void eformat::ROBFragment< TPointer >::rod_status ( TPointer & it) const

Returns the status words, as an iterator to the status words available.

Parameters
itAn updateable iterator you should provide.

◆ rod_status_position() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_status_position ( ) const
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 175 of file Event/eformat/include/eformat/ROBFragment.h.

175 {
176 return m_start[this->payload_size_word() - 1];
177 }

Referenced by rod_data(), and rod_status().

◆ rod_status_position() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_status_position ( ) const
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 175 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

175 {
176 return m_start[this->payload_size_word() - 1];
177 }

◆ rod_status_position() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_status_position ( ) const
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 175 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

175 {
176 return m_start[this->payload_size_word() - 1];
177 }

◆ rod_trailer_size_word() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_trailer_size_word ( ) const
inline

Returns the size, in words, of the trailer

Definition at line 108 of file Event/eformat/include/eformat/ROBFragment.h.

108{ return 3; }

◆ rod_trailer_size_word() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_trailer_size_word ( ) const
inline

Returns the size, in words, of the trailer

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

108{ return 3; }

◆ rod_trailer_size_word() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_trailer_size_word ( ) const
inline

Returns the size, in words, of the trailer

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

108{ return 3; }

◆ rod_version() [1/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_version ( ) const
inline

Returns the formatting version.

Definition at line 113 of file Event/eformat/include/eformat/ROBFragment.h.

113{ return m_start[2]; }

Referenced by check().

◆ rod_version() [2/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_version ( ) const
inline

Returns the formatting version.

Definition at line 113 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/ROBFragment.h.

113{ return m_start[2]; }

◆ rod_version() [3/3]

template<class TPointer>
uint32_t eformat::ROBFragment< TPointer >::rod_version ( ) const
inline

Returns the formatting version.

Definition at line 113 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/ROBFragment.h.

113{ return m_start[2]; }

The documentation for this class was generated from the following files: