ATLAS Offline Software
Loading...
Searching...
No Matches
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 128 of file IL1TriggerByteStreamTool.h.

Constructor & Destructor Documentation

◆ ~Cache()

IL1TriggerByteStreamTool::Cache::~Cache ( )
inline

Member Function Documentation

◆ clear()

void IL1TriggerByteStreamTool::Cache::clear ( )
inline

Definition at line 132 of file IL1TriggerByteStreamTool.h.

132 {
133 rodData.clear();
134 robFragments.clear();
135 }
std::vector< std::unique_ptr< uint32_t[]> > rodData
std::vector< std::unique_ptr< OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment > > robFragments

Member Data Documentation

◆ robFragments

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

Definition at line 130 of file IL1TriggerByteStreamTool.h.

◆ rodData

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

Definition at line 129 of file IL1TriggerByteStreamTool.h.


The documentation for this struct was generated from the following file: