BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
eformat::write::FullEventFragment Class Reference

#include <FullEventFragment.h>

Public Member Functions

 FullEventFragment (uint32_t source_id, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t source_id, uint32_t use_time, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t *fe)
 FullEventFragment (eformat::write::node_t *fe)
 FullEventFragment ()
 FullEventFragment (const FullEventFragment &other)
virtual ~FullEventFragment ()
FullEventFragmentoperator= (const FullEventFragment &other)
void status (uint32_t n, const uint32_t *status)
uint32_t nstatus (void) const
const uint32_t * status (void) const
void minor_version (uint16_t v)
uint16_t minor_version (void) const
void source_id (uint32_t s)
uint32_t source_id (void) const
void time (uint32_t s)
uint32_t time (void) const
void global_id (uint32_t s)
uint32_t global_id (void) const
void run_no (uint32_t s)
uint32_t run_no (void) const
void lvl1_id (uint32_t s)
uint32_t lvl1_id (void) const
void lvl1_trigger_type (uint32_t s)
uint32_t lvl1_trigger_type (void) const
void lvl2_trigger_info (uint32_t s)
uint32_t lvl2_trigger_info (void) const
void event_filter_info (const uint32_t *s)
const uint32_t * event_filter_info (void) const
uint32_t meta_size_word (void) const
uint32_t size_word (void) const
void append (eformat::write::SubDetectorFragment *sd)
const SubDetectorFragmentfirst_child (void) const
void size_change (uint32_t o, uint32_t n)
uint32_t page_count (void) const
const eformat::write::node_tbind (void)
const eformat::write::node_trebind (void)
 FullEventFragment (uint32_t source_id, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t source_id, uint32_t use_time, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t *fe)
 FullEventFragment (eformat::write::node_t *fe)
 FullEventFragment ()
 FullEventFragment (const FullEventFragment &other)
virtual ~FullEventFragment ()
FullEventFragmentoperator= (const FullEventFragment &other)
void status (uint32_t n, const uint32_t *status)
uint32_t nstatus (void) const
const uint32_t * status (void) const
void minor_version (uint16_t v)
uint16_t minor_version (void) const
void source_id (uint32_t s)
uint32_t source_id (void) const
void time (uint32_t s)
uint32_t time (void) const
void global_id (uint32_t s)
uint32_t global_id (void) const
void run_no (uint32_t s)
uint32_t run_no (void) const
void lvl1_id (uint32_t s)
uint32_t lvl1_id (void) const
void lvl1_trigger_type (uint32_t s)
uint32_t lvl1_trigger_type (void) const
void lvl2_trigger_info (uint32_t s)
uint32_t lvl2_trigger_info (void) const
void event_filter_info (const uint32_t *s)
const uint32_t * event_filter_info (void) const
uint32_t meta_size_word (void) const
uint32_t size_word (void) const
void append (eformat::write::SubDetectorFragment *sd)
const SubDetectorFragmentfirst_child (void) const
void size_change (uint32_t o, uint32_t n)
uint32_t page_count (void) const
const eformat::write::node_tbind (void)
const eformat::write::node_trebind (void)
 FullEventFragment (uint32_t source_id, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t source_id, uint32_t use_time, uint32_t global_id, uint32_t run_no, uint32_t lvl1_id, uint32_t lvl1_type, uint32_t lvl2_info, const uint32_t *ef_info)
 FullEventFragment (uint32_t *fe)
 FullEventFragment (eformat::write::node_t *fe)
 FullEventFragment ()
 FullEventFragment (const FullEventFragment &other)
virtual ~FullEventFragment ()
FullEventFragmentoperator= (const FullEventFragment &other)
void status (uint32_t n, const uint32_t *status)
uint32_t nstatus (void) const
const uint32_t * status (void) const
void minor_version (uint16_t v)
uint16_t minor_version (void) const
void source_id (uint32_t s)
uint32_t source_id (void) const
void time (uint32_t s)
uint32_t time (void) const
void global_id (uint32_t s)
uint32_t global_id (void) const
void run_no (uint32_t s)
uint32_t run_no (void) const
void lvl1_id (uint32_t s)
uint32_t lvl1_id (void) const
void lvl1_trigger_type (uint32_t s)
uint32_t lvl1_trigger_type (void) const
void lvl2_trigger_info (uint32_t s)
uint32_t lvl2_trigger_info (void) const
void event_filter_info (const uint32_t *s)
const uint32_t * event_filter_info (void) const
uint32_t meta_size_word (void) const
uint32_t size_word (void) const
void append (eformat::write::SubDetectorFragment *sd)
const SubDetectorFragmentfirst_child (void) const
void size_change (uint32_t o, uint32_t n)
uint32_t page_count (void) const
const eformat::write::node_tbind (void)
const eformat::write::node_trebind (void)

Detailed Description

Defines a helper class to aid the creation of FullEvent fragments.

Definition at line 26 of file Event/eformat/include/eformat/write/FullEventFragment.h.

Constructor & Destructor Documentation

◆ FullEventFragment() [1/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch, using the current time as the time label.

Parameters
source_idThe source identifier to be using for this FullEvent
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

Definition at line 50 of file FullEventFragment.cxx.

54 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
55 m_header[0] = eformat::FULL_EVENT; // marker
56 m_header[1] = 18; // this header size + status size
57 m_header[2] = 18; // this header size + status size
58 m_header[3] = eformat::DEFAULT_VERSION; // format version
59 m_header[4] = source_id;
60 m_header[5] = 1; // number of status
61 m_header[6] = 10; // number of fragment specific
62 m_header[7] = std::time( 0 );
63 m_header[8] = global_id;
64 m_header[9] = run_no;
65 m_header[10] = lvl1_id;
66 m_header[11] = lvl1_type;
67 m_header[12] = lvl2_info;
68 memcpy( &m_header[13], ef_info, 4 * sizeof( uint32_t ) );
69
70 // now initialize pages
71 set( m_node[0], m_header, 6, &m_node[1] );
72 set( m_node[1], &eformat::DEFAULT_STATUS, 1, &m_node[2] );
73 set( m_node[2], &m_header[6], 11, 0 );
74 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
75 "Built (write) full event from scratch, with", FullEventFragment::source_id(),
77}
#define ERS_DEBUG_3(...)
void set(node_t &i, const uint32_t *b, size_t l, node_t *n=0)
Definition node.cxx:16

Referenced by FullEventFragment(), and operator=().

◆ FullEventFragment() [2/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t use_time,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch

Parameters
source_idThe source identifier to be using for this FullEvent
use_timeThe creation time in seconds since 1/1/1970 00:00 UTC for this fragment
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

Definition at line 20 of file FullEventFragment.cxx.

25 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
26 m_header[0] = eformat::FULL_EVENT; // marker
27 m_header[1] = 18; // this header size + status size
28 m_header[2] = 18; // this header size + status size
29 m_header[3] = eformat::DEFAULT_VERSION; // format version
30 m_header[4] = source_id;
31 m_header[5] = 1; // number of status
32 m_header[6] = 10; // number of fragment specific
33 m_header[7] = use_time;
34 m_header[8] = global_id;
35 m_header[9] = run_no;
36 m_header[10] = lvl1_id;
37 m_header[11] = lvl1_type;
38 m_header[12] = lvl2_info;
39 memcpy( &m_header[13], ef_info, 4 * sizeof( uint32_t ) );
40
41 // now initialize pages
42 set( m_node[0], m_header, 6, &m_node[1] );
43 set( m_node[1], &eformat::DEFAULT_STATUS, 1, &m_node[2] );
44 set( m_node[2], &m_header[6], 11, 0 );
45 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
46 "Built (write) full event from scratch, with", FullEventFragment::source_id(),
48}

◆ FullEventFragment() [3/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in contiguous memory.

Parameters
feThe existing FullEvent fragment

Definition at line 79 of file FullEventFragment.cxx.

80 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
81 // now initialize pages
82 set( m_node[0], fe, 6, &m_node[1] );
83 set( m_node[1], &fe[6], fe[5], &m_node[2] );
84 set( m_node[2], &fe[6 + fe[5]], 11, 0 );
85 eformat::write::set( m_extra, &fe[17 + fe[5]], fe[1] - fe[2], 0 );
86 ++m_extra_count;
87 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
88 "Built (write) full event from contiguos memory, with", source_id(), lvl1_id(),
89 run_no() );
90}

◆ FullEventFragment() [4/18]

eformat::write::FullEventFragment::FullEventFragment ( eformat::write::node_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in non-contiguous memory. The top-level fragment header is expected to be on a contiguous area of memory, together with the first word of the first child fragment (i.e. the ROS header marker). The following data can be spread around.

Parameters
feThe existing FullEvent fragment, as a list of nodes, pre-concatenated by the caller.

Definition at line 92 of file FullEventFragment.cxx.

93 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
94 // now initialize pages
95 set( m_node[0], fe->base, 6, &m_node[1] );
96 set( m_node[1], &fe->base[6], fe->base[5], &m_node[2] );
97 set( m_node[2], &fe->base[6 + fe->base[5]], 11, 0 );
98 eformat::write::set( m_extra, &fe->base[17 + fe->base[5]], fe->size_word - fe->base[2],
99 fe->next );
100 m_extra_count += eformat::write::count( m_extra );
101 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
102 "Built (write) full event from paged memory, with", source_id(), lvl1_id(),
103 run_no() );
104}
uint32_t count(const node_t &list)
Definition node.cxx:38
uint32_t * base
The base address for this page.
size_t size_word
The size, in 4-byte words for this page.

◆ FullEventFragment() [5/18]

eformat::write::FullEventFragment::FullEventFragment ( )

Builds a new empty FullEventFragment, otherwise invalid. This is useful for array builds and standard containers.

Definition at line 106 of file FullEventFragment.cxx.

107 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
108 m_header[0] = eformat::FULL_EVENT; // marker
109 m_header[1] = 18; // this header size + status size
110 m_header[2] = 18; // this header size + status size
111 m_header[3] = eformat::DEFAULT_VERSION; // format version
112 m_header[4] = 0; // source identifier
113 m_header[5] = 1; // number of status
114 m_header[6] = 10; // number of fragment specific
115 m_header[7] = std::time( 0 );
116 m_header[8] = 0; // global identifier
117 m_header[9] = 0; // run number
118 m_header[10] = 0; // LVL1 identifier
119 m_header[11] = 0; // LVL1 type
120 m_header[12] = 0; // LVL2 info
121 m_header[13] = 0; // EF info [0]
122 m_header[14] = 0; // EF info [1]
123 m_header[15] = 0; // EF info [2]
124 m_header[16] = 0; // EF info [3]
125
126 // now initialize pages
127 set( m_node[0], m_header, 6, &m_node[1] );
128 set( m_node[1], &eformat::DEFAULT_STATUS, 1, &m_node[2] );
129 set( m_node[2], &m_header[6], 11, 0 );
130 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
131 "Built empty (write) full event from scratch, with",
134}

◆ FullEventFragment() [6/18]

eformat::write::FullEventFragment::FullEventFragment ( const FullEventFragment & other)

Copy constructor. This will only copy the meta data, not the fragment relationships and block-data (children and status block) contained in the to-be-copied fragment. If you wish this fragment has the same children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

Definition at line 136 of file FullEventFragment.cxx.

138 : m_child( 0 ), m_last( 0 ), m_extra_count( 0 ) {
139 *this = other;
140 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
141 "Built (write) full event from copy, with", FullEventFragment::source_id(),
143}
Index other(Index i, Index j)

◆ ~FullEventFragment() [1/3]

virtual eformat::write::FullEventFragment::~FullEventFragment ( )
inlinevirtual

Base destructor

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

108{}

◆ FullEventFragment() [7/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch, using the current time as the time label.

Parameters
source_idThe source identifier to be using for this FullEvent
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

◆ FullEventFragment() [8/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t use_time,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch

Parameters
source_idThe source identifier to be using for this FullEvent
use_timeThe creation time in seconds since 1/1/1970 00:00 UTC for this fragment
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

◆ FullEventFragment() [9/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in contiguous memory.

Parameters
feThe existing FullEvent fragment

◆ FullEventFragment() [10/18]

eformat::write::FullEventFragment::FullEventFragment ( eformat::write::node_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in non-contiguous memory. The top-level fragment header is expected to be on a contiguous area of memory, together with the first word of the first child fragment (i.e. the ROS header marker). The following data can be spread around.

Parameters
feThe existing FullEvent fragment, as a list of nodes, pre-concatenated by the caller.

◆ FullEventFragment() [11/18]

eformat::write::FullEventFragment::FullEventFragment ( )

Builds a new empty FullEventFragment, otherwise invalid. This is useful for array builds and standard containers.

◆ FullEventFragment() [12/18]

eformat::write::FullEventFragment::FullEventFragment ( const FullEventFragment & other)

Copy constructor. This will only copy the meta data, not the fragment relationships and block-data (children and status block) contained in the to-be-copied fragment. If you wish this fragment has the same children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

◆ ~FullEventFragment() [2/3]

virtual eformat::write::FullEventFragment::~FullEventFragment ( )
inlinevirtual

Base destructor

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

108{}

◆ FullEventFragment() [13/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch, using the current time as the time label.

Parameters
source_idThe source identifier to be using for this FullEvent
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

◆ FullEventFragment() [14/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t source_id,
uint32_t use_time,
uint32_t global_id,
uint32_t run_no,
uint32_t lvl1_id,
uint32_t lvl1_type,
uint32_t lvl2_info,
const uint32_t * ef_info )

Builds a new FullEvent fragment from scratch

Parameters
source_idThe source identifier to be using for this FullEvent
use_timeThe creation time in seconds since 1/1/1970 00:00 UTC for this fragment
global_idThe global identifier for this fragment
run_noThe run number for this fragment
lvl1_idThe LVL1 trigger identifier for this fragment
lvl1_typeThe LVL1 trigger type for this fragment
lvl2_infoThe LVL2 trigger info for this fragment @parma ef_info The Event Filter info for this fragment: a pointer to 4 pre-allocated words.

◆ FullEventFragment() [15/18]

eformat::write::FullEventFragment::FullEventFragment ( uint32_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in contiguous memory.

Parameters
feThe existing FullEvent fragment

◆ FullEventFragment() [16/18]

eformat::write::FullEventFragment::FullEventFragment ( eformat::write::node_t * fe)

Builds a new FullEvent fragment from an existing FullEvent fragment in non-contiguous memory. The top-level fragment header is expected to be on a contiguous area of memory, together with the first word of the first child fragment (i.e. the ROS header marker). The following data can be spread around.

Parameters
feThe existing FullEvent fragment, as a list of nodes, pre-concatenated by the caller.

◆ FullEventFragment() [17/18]

eformat::write::FullEventFragment::FullEventFragment ( )

Builds a new empty FullEventFragment, otherwise invalid. This is useful for array builds and standard containers.

◆ FullEventFragment() [18/18]

eformat::write::FullEventFragment::FullEventFragment ( const FullEventFragment & other)

Copy constructor. This will only copy the meta data, not the fragment relationships and block-data (children and status block) contained in the to-be-copied fragment. If you wish this fragment has the same children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

◆ ~FullEventFragment() [3/3]

virtual eformat::write::FullEventFragment::~FullEventFragment ( )
inlinevirtual

Base destructor

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

108{}

Member Function Documentation

◆ append() [1/3]

void eformat::write::FullEventFragment::append ( eformat::write::SubDetectorFragment * sd)

Appends a new SubDetector fragment to this FullEvent fragment.

Warning
This will change the page structure of the last ROS fragment inserted here, in order to concatenate the ROS fragments together. Please note that this operation is not compatible with multiple threads of operation, if you would like to share eformat::write::Fragment's between threads. A better strategy would be create, for every thread of operation, a proper ROSFragment instead.
Parameters
sdThe SubDetector fragment to be appended to myself

Definition at line 171 of file FullEventFragment.cxx.

171 {
172 ERS_DEBUG_3( "%s Source Id. = 0x%x to full event with Source Id. = 0x%x",
173 "Appending subdetector with", sd->source_id(), source_id() );
174 sd->parent( this );
175 m_node[0].base[1] += sd->size_word();
176
177 // adjust `m_last' and `m_child' to point to the new last ROB
178 if ( m_last ) m_last->next( sd );
179 else m_child = sd;
180 m_last = sd;
181}

Referenced by Builder::append2event(), eformat::old::convert(), and main().

◆ append() [2/3]

void eformat::write::FullEventFragment::append ( eformat::write::SubDetectorFragment * sd)

Appends a new SubDetector fragment to this FullEvent fragment.

Warning
This will change the page structure of the last ROS fragment inserted here, in order to concatenate the ROS fragments together. Please note that this operation is not compatible with multiple threads of operation, if you would like to share eformat::write::Fragment's between threads. A better strategy would be create, for every thread of operation, a proper ROSFragment instead.
Parameters
sdThe SubDetector fragment to be appended to myself

◆ append() [3/3]

void eformat::write::FullEventFragment::append ( eformat::write::SubDetectorFragment * sd)

Appends a new SubDetector fragment to this FullEvent fragment.

Warning
This will change the page structure of the last ROS fragment inserted here, in order to concatenate the ROS fragments together. Please note that this operation is not compatible with multiple threads of operation, if you would like to share eformat::write::Fragment's between threads. A better strategy would be create, for every thread of operation, a proper ROSFragment instead.
Parameters
sdThe SubDetector fragment to be appended to myself

◆ bind() [1/3]

const eformat::write::node_t * eformat::write::FullEventFragment::bind ( void )

Returns the first node of a list of nodes that represent the fragment you have constructed. To make use of it, just browse the list as defined in node.h

Definition at line 190 of file FullEventFragment.cxx.

190 {
191 // the header is already concatenated by construction
192 eformat::write::node_t* last = &m_node[2];
193 if ( m_extra_count )
194 {
195 last = &m_extra;
196 while ( last->next ) last = last->next;
197 }
198 for ( SubDetectorFragment* curr = m_child; curr;
199 curr = const_cast<SubDetectorFragment*>( curr->next() ) )
200 {
201 last->next = const_cast<eformat::write::node_t*>( curr->bind() );
202 while ( last->next ) last = last->next; // advance until end
203 }
204 return m_node;
205}
struct eformat::write::node_t node_t

Referenced by eformat::old::convert(), main(), and RawDataOutputSvc::putEvent().

◆ bind() [2/3]

const eformat::write::node_t * eformat::write::FullEventFragment::bind ( void )

Returns the first node of a list of nodes that represent the fragment you have constructed. To make use of it, just browse the list as defined in node.h

◆ bind() [3/3]

const eformat::write::node_t * eformat::write::FullEventFragment::bind ( void )

Returns the first node of a list of nodes that represent the fragment you have constructed. To make use of it, just browse the list as defined in node.h

◆ event_filter_info() [1/6]

void eformat::write::FullEventFragment::event_filter_info ( const uint32_t * s)
inline

Changes the event filter trigger info in this fragment

Parameters
sThe new value to set: a pointer with 4 word pre-allocated

Definition at line 246 of file Event/eformat/include/eformat/write/FullEventFragment.h.

246 {
247 memcpy( &m_node[2].base[7], s, 4 * sizeof( uint32_t ) );
248 }
XmlRpcServer s

Referenced by HltBuilder::pack().

◆ event_filter_info() [2/6]

void eformat::write::FullEventFragment::event_filter_info ( const uint32_t * s)
inline

Changes the event filter trigger info in this fragment

Parameters
sThe new value to set: a pointer with 4 word pre-allocated

Definition at line 246 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

246 {
247 memcpy( &m_node[2].base[7], s, 4 * sizeof( uint32_t ) );
248 }

◆ event_filter_info() [3/6]

void eformat::write::FullEventFragment::event_filter_info ( const uint32_t * s)
inline

Changes the event filter trigger info in this fragment

Parameters
sThe new value to set: a pointer with 4 word pre-allocated

Definition at line 246 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

246 {
247 memcpy( &m_node[2].base[7], s, 4 * sizeof( uint32_t ) );
248 }

◆ event_filter_info() [4/6]

const uint32_t * eformat::write::FullEventFragment::event_filter_info ( void ) const
inline

Returns the event filter trigger info for this fragment

Definition at line 253 of file Event/eformat/include/eformat/write/FullEventFragment.h.

253{ return &m_node[2].base[7]; }

◆ event_filter_info() [5/6]

const uint32_t * eformat::write::FullEventFragment::event_filter_info ( void ) const
inline

Returns the event filter trigger info for this fragment

Definition at line 253 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

253{ return &m_node[2].base[7]; }

◆ event_filter_info() [6/6]

const uint32_t * eformat::write::FullEventFragment::event_filter_info ( void ) const
inline

Returns the event filter trigger info for this fragment

Definition at line 253 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

253{ return &m_node[2].base[7]; }

◆ first_child() [1/3]

const SubDetectorFragment * eformat::write::FullEventFragment::first_child ( void ) const
inline

This returns the first child of this fragment. The system operates as a concatenated list of fragments. From this child you can get to the next.

Definition at line 287 of file Event/eformat/include/eformat/write/FullEventFragment.h.

287{ return m_child; }

◆ first_child() [2/3]

const SubDetectorFragment * eformat::write::FullEventFragment::first_child ( void ) const
inline

This returns the first child of this fragment. The system operates as a concatenated list of fragments. From this child you can get to the next.

Definition at line 287 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

287{ return m_child; }

◆ first_child() [3/3]

const SubDetectorFragment * eformat::write::FullEventFragment::first_child ( void ) const
inline

This returns the first child of this fragment. The system operates as a concatenated list of fragments. From this child you can get to the next.

Definition at line 287 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

287{ return m_child; }

◆ global_id() [1/6]

void eformat::write::FullEventFragment::global_id ( uint32_t s)
inline

Changes the global identifier for this event

Parameters
sThe new value to set

Definition at line 186 of file Event/eformat/include/eformat/write/FullEventFragment.h.

186{ m_node[2].base[2] = s; }

Referenced by FullEventFragment(), and FullEventFragment().

◆ global_id() [2/6]

void eformat::write::FullEventFragment::global_id ( uint32_t s)
inline

Changes the global identifier for this event

Parameters
sThe new value to set

Definition at line 186 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

186{ m_node[2].base[2] = s; }

◆ global_id() [3/6]

void eformat::write::FullEventFragment::global_id ( uint32_t s)
inline

Changes the global identifier for this event

Parameters
sThe new value to set

Definition at line 186 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

186{ m_node[2].base[2] = s; }

◆ global_id() [4/6]

uint32_t eformat::write::FullEventFragment::global_id ( void ) const
inline

Returns the global identifier for this event

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

191{ return m_node[2].base[2]; }

◆ global_id() [5/6]

uint32_t eformat::write::FullEventFragment::global_id ( void ) const
inline

Returns the global identifier for this event

Definition at line 191 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

191{ return m_node[2].base[2]; }

◆ global_id() [6/6]

uint32_t eformat::write::FullEventFragment::global_id ( void ) const
inline

Returns the global identifier for this event

Definition at line 191 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

191{ return m_node[2].base[2]; }

◆ lvl1_id() [1/6]

void eformat::write::FullEventFragment::lvl1_id ( uint32_t s)
inline

Changes the lvl1 identifier in this fragment

Parameters
sThe new value to set

Definition at line 210 of file Event/eformat/include/eformat/write/FullEventFragment.h.

210{ m_node[2].base[4] = s; }

Referenced by Builder::append2event(), FullEventFragment(), FullEventFragment(), FullEventFragment(), FullEventFragment(), and operator=().

◆ lvl1_id() [2/6]

void eformat::write::FullEventFragment::lvl1_id ( uint32_t s)
inline

Changes the lvl1 identifier in this fragment

Parameters
sThe new value to set

Definition at line 210 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

210{ m_node[2].base[4] = s; }

◆ lvl1_id() [3/6]

void eformat::write::FullEventFragment::lvl1_id ( uint32_t s)
inline

Changes the lvl1 identifier in this fragment

Parameters
sThe new value to set

Definition at line 210 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

210{ m_node[2].base[4] = s; }

◆ lvl1_id() [4/6]

uint32_t eformat::write::FullEventFragment::lvl1_id ( void ) const
inline

Returns the lvl1 identifier for this fragment

Definition at line 215 of file Event/eformat/include/eformat/write/FullEventFragment.h.

215{ return m_node[2].base[4]; }

Referenced by FullEventFragment(), and FullEventFragment().

◆ lvl1_id() [5/6]

uint32_t eformat::write::FullEventFragment::lvl1_id ( void ) const
inline

Returns the lvl1 identifier for this fragment

Definition at line 215 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

215{ return m_node[2].base[4]; }

◆ lvl1_id() [6/6]

uint32_t eformat::write::FullEventFragment::lvl1_id ( void ) const
inline

Returns the lvl1 identifier for this fragment

Definition at line 215 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

215{ return m_node[2].base[4]; }

◆ lvl1_trigger_type() [1/6]

void eformat::write::FullEventFragment::lvl1_trigger_type ( uint32_t s)
inline

Changes the lvl1 trigger type in this fragment

Parameters
sThe new value to set

Definition at line 222 of file Event/eformat/include/eformat/write/FullEventFragment.h.

222{ m_node[2].base[5] = s; }

◆ lvl1_trigger_type() [2/6]

void eformat::write::FullEventFragment::lvl1_trigger_type ( uint32_t s)
inline

Changes the lvl1 trigger type in this fragment

Parameters
sThe new value to set

Definition at line 222 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

222{ m_node[2].base[5] = s; }

◆ lvl1_trigger_type() [3/6]

void eformat::write::FullEventFragment::lvl1_trigger_type ( uint32_t s)
inline

Changes the lvl1 trigger type in this fragment

Parameters
sThe new value to set

Definition at line 222 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

222{ m_node[2].base[5] = s; }

◆ lvl1_trigger_type() [4/6]

uint32_t eformat::write::FullEventFragment::lvl1_trigger_type ( void ) const
inline

Returns the lvl1 trigger type for this fragment

Definition at line 227 of file Event/eformat/include/eformat/write/FullEventFragment.h.

227{ return m_node[2].base[5]; }

◆ lvl1_trigger_type() [5/6]

uint32_t eformat::write::FullEventFragment::lvl1_trigger_type ( void ) const
inline

Returns the lvl1 trigger type for this fragment

Definition at line 227 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

227{ return m_node[2].base[5]; }

◆ lvl1_trigger_type() [6/6]

uint32_t eformat::write::FullEventFragment::lvl1_trigger_type ( void ) const
inline

Returns the lvl1 trigger type for this fragment

Definition at line 227 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

227{ return m_node[2].base[5]; }

◆ lvl2_trigger_info() [1/6]

void eformat::write::FullEventFragment::lvl2_trigger_info ( uint32_t s)
inline

Changes the lvl2 trigger info in this fragment

Parameters
sThe new value to set

Definition at line 234 of file Event/eformat/include/eformat/write/FullEventFragment.h.

234{ m_node[2].base[6] = s; }

◆ lvl2_trigger_info() [2/6]

void eformat::write::FullEventFragment::lvl2_trigger_info ( uint32_t s)
inline

Changes the lvl2 trigger info in this fragment

Parameters
sThe new value to set

Definition at line 234 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

234{ m_node[2].base[6] = s; }

◆ lvl2_trigger_info() [3/6]

void eformat::write::FullEventFragment::lvl2_trigger_info ( uint32_t s)
inline

Changes the lvl2 trigger info in this fragment

Parameters
sThe new value to set

Definition at line 234 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

234{ m_node[2].base[6] = s; }

◆ lvl2_trigger_info() [4/6]

uint32_t eformat::write::FullEventFragment::lvl2_trigger_info ( void ) const
inline

Returns the lvl2 trigger info for this fragment

Definition at line 239 of file Event/eformat/include/eformat/write/FullEventFragment.h.

239{ return m_node[2].base[6]; }

◆ lvl2_trigger_info() [5/6]

uint32_t eformat::write::FullEventFragment::lvl2_trigger_info ( void ) const
inline

Returns the lvl2 trigger info for this fragment

Definition at line 239 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

239{ return m_node[2].base[6]; }

◆ lvl2_trigger_info() [6/6]

uint32_t eformat::write::FullEventFragment::lvl2_trigger_info ( void ) const
inline

Returns the lvl2 trigger info for this fragment

Definition at line 239 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

239{ return m_node[2].base[6]; }

◆ meta_size_word() [1/3]

uint32_t eformat::write::FullEventFragment::meta_size_word ( void ) const
inline

Returns the total size for the meta data (everything that does not encompass the contents of the m_data pointer in the private representation of this class) in the fragment, in words

Definition at line 260 of file Event/eformat/include/eformat/write/FullEventFragment.h.

260{ return m_node[0].base[2]; }

◆ meta_size_word() [2/3]

uint32_t eformat::write::FullEventFragment::meta_size_word ( void ) const
inline

Returns the total size for the meta data (everything that does not encompass the contents of the m_data pointer in the private representation of this class) in the fragment, in words

Definition at line 260 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

260{ return m_node[0].base[2]; }

◆ meta_size_word() [3/3]

uint32_t eformat::write::FullEventFragment::meta_size_word ( void ) const
inline

Returns the total size for the meta data (everything that does not encompass the contents of the m_data pointer in the private representation of this class) in the fragment, in words

Definition at line 260 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

260{ return m_node[0].base[2]; }

◆ minor_version() [1/6]

void eformat::write::FullEventFragment::minor_version ( uint16_t v)
inline

Changes the minor version number of the fragment

Parameters
vThe new minor version for this header

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

148 {
149 m_node[0].base[3] = eformat::DEFAULT_VERSION | v;
150 }
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition KarLud.h:35

Referenced by eformat::old::convert().

◆ minor_version() [2/6]

void eformat::write::FullEventFragment::minor_version ( uint16_t v)
inline

Changes the minor version number of the fragment

Parameters
vThe new minor version for this header

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

148 {
149 m_node[0].base[3] = eformat::DEFAULT_VERSION | v;
150 }

◆ minor_version() [3/6]

void eformat::write::FullEventFragment::minor_version ( uint16_t v)
inline

Changes the minor version number of the fragment

Parameters
vThe new minor version for this header

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

148 {
149 m_node[0].base[3] = eformat::DEFAULT_VERSION | v;
150 }

◆ minor_version() [4/6]

uint16_t eformat::write::FullEventFragment::minor_version ( void ) const
inline

Returns the minor version number of the fragment

Definition at line 155 of file Event/eformat/include/eformat/write/FullEventFragment.h.

155{ return 0xffff & m_node[0].base[3]; }

◆ minor_version() [5/6]

uint16_t eformat::write::FullEventFragment::minor_version ( void ) const
inline

Returns the minor version number of the fragment

Definition at line 155 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

155{ return 0xffff & m_node[0].base[3]; }

◆ minor_version() [6/6]

uint16_t eformat::write::FullEventFragment::minor_version ( void ) const
inline

Returns the minor version number of the fragment

Definition at line 155 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

155{ return 0xffff & m_node[0].base[3]; }

◆ nstatus() [1/3]

uint32_t eformat::write::FullEventFragment::nstatus ( void ) const
inline

Returns the number of status wors in this fragment

Definition at line 136 of file Event/eformat/include/eformat/write/FullEventFragment.h.

136{ return m_node[0].base[5]; }

◆ nstatus() [2/3]

uint32_t eformat::write::FullEventFragment::nstatus ( void ) const
inline

Returns the number of status wors in this fragment

Definition at line 136 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

136{ return m_node[0].base[5]; }

◆ nstatus() [3/3]

uint32_t eformat::write::FullEventFragment::nstatus ( void ) const
inline

Returns the number of status wors in this fragment

Definition at line 136 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

136{ return m_node[0].base[5]; }

◆ operator=() [1/3]

eformat::write::FullEventFragment & eformat::write::FullEventFragment::operator= ( const FullEventFragment & other)

Assigment operator. This will only copy the meta data, not the fragment relationships and block-data (children and parent and status block) contained in the to-be-copied fragment. If you wish this fragment has the same parents, and children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

Definition at line 145 of file FullEventFragment.cxx.

146 {
147 memcpy( reinterpret_cast<void*>( m_header ),
148 reinterpret_cast<const void*>( other.m_node[0].base ), 6 * sizeof( uint32_t ) );
149 memcpy( reinterpret_cast<void*>( m_header + 6 ),
150 reinterpret_cast<const void*>( other.m_node[2].base ), 11 * sizeof( uint32_t ) );
151
152 // now initialize pages
153 set( m_node[0], m_header, 6, &m_node[1] );
154 set( m_node[1], other.m_node[1].base, other.m_node[1].size_word, &m_node[2] );
155 set( m_node[2], &m_header[6], 11, 0 );
156 ERS_DEBUG_3( "%s Source Id. = 0x%x, LVL1 Id. = %d and Run Number = %d",
157 "Copied (write) full event, with", FullEventFragment::source_id(),
159 return *this;
160}

◆ operator=() [2/3]

FullEventFragment & eformat::write::FullEventFragment::operator= ( const FullEventFragment & other)

Assigment operator. This will only copy the meta data, not the fragment relationships and block-data (children and parent and status block) contained in the to-be-copied fragment. If you wish this fragment has the same parents, and children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

◆ operator=() [3/3]

FullEventFragment & eformat::write::FullEventFragment::operator= ( const FullEventFragment & other)

Assigment operator. This will only copy the meta data, not the fragment relationships and block-data (children and parent and status block) contained in the to-be-copied fragment. If you wish this fragment has the same parents, and children of the copied fragment, you have to do this operation manually, after copying. If you wish to make a copy of the status as well, do it manually and then assign it to this fragment using the status() method.

Parameters
otherThe other fragment to take the meta data from.

◆ page_count() [1/3]

uint32_t eformat::write::FullEventFragment::page_count ( void ) const

Returns the total number of (raw memory) pages this fragment is composed of.

Warning
This operation navigates at a potentially large list of child page nodes (for a full ATLAS event this should be bigger than 2,000 pages when built from scratch). If you don't do your bookkeeping, avoid calling this too often.

Definition at line 183 of file FullEventFragment.cxx.

183 {
184 uint32_t retval = 3 + m_extra_count;
185 for ( const SubDetectorFragment* curr = m_child; curr; curr = curr->next() )
186 retval += curr->page_count();
187 return retval;
188}

◆ page_count() [2/3]

uint32_t eformat::write::FullEventFragment::page_count ( void ) const

Returns the total number of (raw memory) pages this fragment is composed of.

Warning
This operation navigates at a potentially large list of child page nodes (for a full ATLAS event this should be bigger than 2,000 pages when built from scratch). If you don't do your bookkeeping, avoid calling this too often.

◆ page_count() [3/3]

uint32_t eformat::write::FullEventFragment::page_count ( void ) const

Returns the total number of (raw memory) pages this fragment is composed of.

Warning
This operation navigates at a potentially large list of child page nodes (for a full ATLAS event this should be bigger than 2,000 pages when built from scratch). If you don't do your bookkeeping, avoid calling this too often.

◆ rebind() [1/3]

const eformat::write::node_t * eformat::write::FullEventFragment::rebind ( void )
inline

Definition at line 319 of file Event/eformat/include/eformat/write/FullEventFragment.h.

319{ return m_node; };

◆ rebind() [2/3]

const eformat::write::node_t * eformat::write::FullEventFragment::rebind ( void )
inline

Definition at line 319 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

319{ return m_node; };

◆ rebind() [3/3]

const eformat::write::node_t * eformat::write::FullEventFragment::rebind ( void )
inline

Definition at line 319 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

319{ return m_node; };

◆ run_no() [1/6]

void eformat::write::FullEventFragment::run_no ( uint32_t s)
inline

Changes the run number

Parameters
sThe new value to set

Definition at line 198 of file Event/eformat/include/eformat/write/FullEventFragment.h.

198{ m_node[2].base[3] = s; }

Referenced by Builder::append2event(), FullEventFragment(), FullEventFragment(), FullEventFragment(), FullEventFragment(), and operator=().

◆ run_no() [2/6]

void eformat::write::FullEventFragment::run_no ( uint32_t s)
inline

Changes the run number

Parameters
sThe new value to set

Definition at line 198 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

198{ m_node[2].base[3] = s; }

◆ run_no() [3/6]

void eformat::write::FullEventFragment::run_no ( uint32_t s)
inline

Changes the run number

Parameters
sThe new value to set

Definition at line 198 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

198{ m_node[2].base[3] = s; }

◆ run_no() [4/6]

uint32_t eformat::write::FullEventFragment::run_no ( void ) const
inline

Returns the run number for this fragment

Definition at line 203 of file Event/eformat/include/eformat/write/FullEventFragment.h.

203{ return m_node[2].base[3]; }

Referenced by FullEventFragment(), and FullEventFragment().

◆ run_no() [5/6]

uint32_t eformat::write::FullEventFragment::run_no ( void ) const
inline

Returns the run number for this fragment

Definition at line 203 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

203{ return m_node[2].base[3]; }

◆ run_no() [6/6]

uint32_t eformat::write::FullEventFragment::run_no ( void ) const
inline

Returns the run number for this fragment

Definition at line 203 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

203{ return m_node[2].base[3]; }

◆ size_change() [1/3]

void eformat::write::FullEventFragment::size_change ( uint32_t o,
uint32_t n )
inline

This method is used by children of this fragment to notify fragment size changes.

Parameters
oThe old size, in 32-bit words
nThe new size, in 32-bit words

Definition at line 296 of file Event/eformat/include/eformat/write/FullEventFragment.h.

296 {
297 m_node[0].base[1] -= o;
298 m_node[0].base[1] += n;
299 }
const Int_t n

◆ size_change() [2/3]

void eformat::write::FullEventFragment::size_change ( uint32_t o,
uint32_t n )
inline

This method is used by children of this fragment to notify fragment size changes.

Parameters
oThe old size, in 32-bit words
nThe new size, in 32-bit words

Definition at line 296 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

296 {
297 m_node[0].base[1] -= o;
298 m_node[0].base[1] += n;
299 }

◆ size_change() [3/3]

void eformat::write::FullEventFragment::size_change ( uint32_t o,
uint32_t n )
inline

This method is used by children of this fragment to notify fragment size changes.

Parameters
oThe old size, in 32-bit words
nThe new size, in 32-bit words

Definition at line 296 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

296 {
297 m_node[0].base[1] -= o;
298 m_node[0].base[1] += n;
299 }

◆ size_word() [1/3]

uint32_t eformat::write::FullEventFragment::size_word ( void ) const
inline

Returns the total size for this fragment, in words

Definition at line 265 of file Event/eformat/include/eformat/write/FullEventFragment.h.

265{ return m_node[0].base[1]; }

◆ size_word() [2/3]

uint32_t eformat::write::FullEventFragment::size_word ( void ) const
inline

Returns the total size for this fragment, in words

Definition at line 265 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

265{ return m_node[0].base[1]; }

◆ size_word() [3/3]

uint32_t eformat::write::FullEventFragment::size_word ( void ) const
inline

Returns the total size for this fragment, in words

Definition at line 265 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

265{ return m_node[0].base[1]; }

◆ source_id() [1/6]

void eformat::write::FullEventFragment::source_id ( uint32_t s)
inline

Changes the source identifier for this fragment

Parameters
sThe new value to set

Definition at line 162 of file Event/eformat/include/eformat/write/FullEventFragment.h.

162{ m_node[0].base[4] = s; }

Referenced by append(), FullEventFragment(), FullEventFragment(), FullEventFragment(), FullEventFragment(), and operator=().

◆ source_id() [2/6]

void eformat::write::FullEventFragment::source_id ( uint32_t s)
inline

Changes the source identifier for this fragment

Parameters
sThe new value to set

Definition at line 162 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

162{ m_node[0].base[4] = s; }

◆ source_id() [3/6]

void eformat::write::FullEventFragment::source_id ( uint32_t s)
inline

Changes the source identifier for this fragment

Parameters
sThe new value to set

Definition at line 162 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

162{ m_node[0].base[4] = s; }

◆ source_id() [4/6]

uint32_t eformat::write::FullEventFragment::source_id ( void ) const
inline

Returns the source identifier of this fragment

Definition at line 167 of file Event/eformat/include/eformat/write/FullEventFragment.h.

167{ return m_node[0].base[4]; }

Referenced by FullEventFragment(), and FullEventFragment().

◆ source_id() [5/6]

uint32_t eformat::write::FullEventFragment::source_id ( void ) const
inline

Returns the source identifier of this fragment

Definition at line 167 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

167{ return m_node[0].base[4]; }

◆ source_id() [6/6]

uint32_t eformat::write::FullEventFragment::source_id ( void ) const
inline

Returns the source identifier of this fragment

Definition at line 167 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

167{ return m_node[0].base[4]; }

◆ status() [1/6]

void eformat::write::FullEventFragment::status ( uint32_t n,
const uint32_t * status )

Changes the number of status words and the status words themselves from the fragment

Parameters
nHow many status words the underlying FullEventFragment fragment supposed to have.
statusA pointer to n pre-allocated words

Definition at line 162 of file FullEventFragment.cxx.

162 {
163 m_node[0].base[1] -= m_node[0].base[5]; // remove count from previous status
164 m_node[0].base[2] -= m_node[0].base[5]; // remove count from previous status
165 m_node[1].size_word = m_node[0].base[5] = n; // set new values
166 m_node[0].base[1] += n;
167 m_node[0].base[2] += n;
168 m_node[1].base = const_cast<uint32_t*>( status );
169}
void status(uint32_t n, const uint32_t *status)

Referenced by eformat::old::convert(), and status().

◆ status() [2/6]

void eformat::write::FullEventFragment::status ( uint32_t n,
const uint32_t * status )

Changes the number of status words and the status words themselves from the fragment

Parameters
nHow many status words the underlying FullEventFragment fragment supposed to have.
statusA pointer to n pre-allocated words

◆ status() [3/6]

void eformat::write::FullEventFragment::status ( uint32_t n,
const uint32_t * status )

Changes the number of status words and the status words themselves from the fragment

Parameters
nHow many status words the underlying FullEventFragment fragment supposed to have.
statusA pointer to n pre-allocated words

◆ status() [4/6]

const uint32_t * eformat::write::FullEventFragment::status ( void ) const
inline

Returns a pointer to the first status word to be used by this fragment

Definition at line 141 of file Event/eformat/include/eformat/write/FullEventFragment.h.

141{ return m_node[1].base; }

◆ status() [5/6]

const uint32_t * eformat::write::FullEventFragment::status ( void ) const
inline

Returns a pointer to the first status word to be used by this fragment

Definition at line 141 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

141{ return m_node[1].base; }

◆ status() [6/6]

const uint32_t * eformat::write::FullEventFragment::status ( void ) const
inline

Returns a pointer to the first status word to be used by this fragment

Definition at line 141 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

141{ return m_node[1].base; }

◆ time() [1/6]

void eformat::write::FullEventFragment::time ( uint32_t s)
inline

Changes the time this fragment was produced at

Parameters
sThe new value to set

Definition at line 174 of file Event/eformat/include/eformat/write/FullEventFragment.h.

174{ m_node[2].base[1] = s; }

◆ time() [2/6]

void eformat::write::FullEventFragment::time ( uint32_t s)
inline

Changes the time this fragment was produced at

Parameters
sThe new value to set

Definition at line 174 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

174{ m_node[2].base[1] = s; }

◆ time() [3/6]

void eformat::write::FullEventFragment::time ( uint32_t s)
inline

Changes the time this fragment was produced at

Parameters
sThe new value to set

Definition at line 174 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

174{ m_node[2].base[1] = s; }

◆ time() [4/6]

uint32_t eformat::write::FullEventFragment::time ( void ) const
inline

Returns the time for this fragment

Definition at line 179 of file Event/eformat/include/eformat/write/FullEventFragment.h.

179{ return m_node[2].base[1]; }

◆ time() [5/6]

uint32_t eformat::write::FullEventFragment::time ( void ) const
inline

Returns the time for this fragment

Definition at line 179 of file InstallArea/x86_64-el9-gcc13-dbg/include/eformat/write/FullEventFragment.h.

179{ return m_node[2].base[1]; }

◆ time() [6/6]

uint32_t eformat::write::FullEventFragment::time ( void ) const
inline

Returns the time for this fragment

Definition at line 179 of file InstallArea/x86_64-el9-gcc13-opt/include/eformat/write/FullEventFragment.h.

179{ return m_node[2].base[1]; }

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