ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
IL1TriggerByteStreamTool::Cache Struct Reference

Cache which tracks memory allocated for ByteStream data representation in the convertToBS method. More...

Collaboration diagram for IL1TriggerByteStreamTool::Cache:

Public Member Functions

 ~Cache ()
 
void clear ()
 

Public Attributes

std::vector< std::unique_ptr< uint32_t[]> > rodData
 
std::vector< std::unique_ptr< OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment > > robFragments
 

Detailed Description

Cache which tracks memory allocated for ByteStream data representation in the convertToBS method.

The raw ROD data and the ROBFragment object need to remain valid until they are packed into the output full event at the very end of event processing. Due to this requirement, the cache is cleared only on the next event by calling the clearCache method.

Definition at line 123 of file IL1TriggerByteStreamTool.h.

Constructor & Destructor Documentation

◆ ~Cache()

IL1TriggerByteStreamTool::Cache::~Cache ( )
inline

Definition at line 126 of file IL1TriggerByteStreamTool.h.

126 {clear();}

Member Function Documentation

◆ clear()

void IL1TriggerByteStreamTool::Cache::clear ( )
inline

Definition at line 127 of file IL1TriggerByteStreamTool.h.

127  {
128  rodData.clear();
129  robFragments.clear();
130  }

Member Data Documentation

◆ robFragments

std::vector<std::unique_ptr<OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment> > IL1TriggerByteStreamTool::Cache::robFragments

Definition at line 125 of file IL1TriggerByteStreamTool.h.

◆ rodData

std::vector<std::unique_ptr<uint32_t[]> > IL1TriggerByteStreamTool::Cache::rodData

Definition at line 124 of file IL1TriggerByteStreamTool.h.


The documentation for this struct was generated from the following file:
IL1TriggerByteStreamTool::Cache::robFragments
std::vector< std::unique_ptr< OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment > > robFragments
Definition: IL1TriggerByteStreamTool.h:125
IL1TriggerByteStreamTool::Cache::clear
void clear()
Definition: IL1TriggerByteStreamTool.h:127
IL1TriggerByteStreamTool::Cache::rodData
std::vector< std::unique_ptr< uint32_t[]> > rodData
Definition: IL1TriggerByteStreamTool.h:124