ATLAS Offline Software
Loading...
Searching...
No Matches
ByteStreamEventStorageInputSvc::EventCache Struct Reference
Collaboration diagram for ByteStreamEventStorageInputSvc::EventCache:

Public Member Functions

void releaseEvent ()
 deletes fragments and raw event
virtual ~EventCache ()
 calls releaseEvent

Public Attributes

std::unique_ptr< RawEventrawEvent = nullptr
 current event
char * data = nullptr
 take ownership of RawEvent content
unsigned int eventStatus = 0
 check_tree() status of the current event
long long int eventOffset = 0
 event offset within a file, can be -1

Detailed Description

Definition at line 72 of file ByteStreamEventStorageInputSvc.h.

Constructor & Destructor Documentation

◆ ~EventCache()

ByteStreamEventStorageInputSvc::EventCache::~EventCache ( )
virtual

calls releaseEvent

Definition at line 458 of file ByteStreamEventStorageInputSvc.cxx.

459{
460 releaseEvent();
461}

Member Function Documentation

◆ releaseEvent()

void ByteStreamEventStorageInputSvc::EventCache::releaseEvent ( )

deletes fragments and raw event

Definition at line 442 of file ByteStreamEventStorageInputSvc.cxx.

443{
444 // cleanup parts of previous event and re-init them
445 if (rawEvent) {
446 rawEvent.reset(nullptr);
447 eventStatus = 0;
448 }
449
450 if (data) {
451 delete [] data;
452 data = nullptr;
453 }
454}
unsigned int eventStatus
check_tree() status of the current event
std::unique_ptr< RawEvent > rawEvent
current event
char * data
take ownership of RawEvent content

Member Data Documentation

◆ data

char* ByteStreamEventStorageInputSvc::EventCache::data = nullptr

take ownership of RawEvent content

Definition at line 74 of file ByteStreamEventStorageInputSvc.h.

◆ eventOffset

long long int ByteStreamEventStorageInputSvc::EventCache::eventOffset = 0

event offset within a file, can be -1

Definition at line 76 of file ByteStreamEventStorageInputSvc.h.

◆ eventStatus

unsigned int ByteStreamEventStorageInputSvc::EventCache::eventStatus = 0

check_tree() status of the current event

Definition at line 75 of file ByteStreamEventStorageInputSvc.h.

◆ rawEvent

std::unique_ptr<RawEvent> ByteStreamEventStorageInputSvc::EventCache::rawEvent = nullptr

current event

Definition at line 73 of file ByteStreamEventStorageInputSvc.h.


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