ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ByteStreamErrorsTool::IDCCacheEntry Struct Reference
Collaboration diagram for SCT_ByteStreamErrorsTool::IDCCacheEntry:

Public Member Functions

void reset (EventContext::ContextEvt_t evtId, const IDCInDetBSErrContainer_Cache *cache)
bool needsUpdate (const EventContext &ctx) const

Public Attributes

EventContext::ContextEvt_t eventId {EventContext::INVALID_CONTEXT_EVT}
const IDCInDetBSErrContainer_CacheIDCCache {nullptr}
std::unordered_map< size_t, unsigned int > tempMaskedChips
std::unordered_map< size_t, unsigned int > abcdErrorChips
unsigned int m_set_number = 0

Detailed Description

Definition at line 108 of file SCT_ByteStreamErrorsTool.h.

Member Function Documentation

◆ needsUpdate()

bool SCT_ByteStreamErrorsTool::IDCCacheEntry::needsUpdate ( const EventContext & ctx) const
inline

Definition at line 131 of file SCT_ByteStreamErrorsTool.h.

131 {
132 return eventId != ctx.evt() or eventId == EventContext::INVALID_CONTEXT_EVT;
133 }

◆ reset()

void SCT_ByteStreamErrorsTool::IDCCacheEntry::reset ( EventContext::ContextEvt_t evtId,
const IDCInDetBSErrContainer_Cache * cache )
inline

Definition at line 123 of file SCT_ByteStreamErrorsTool.h.

123 {
124 eventId = evtId;
125 IDCCache = cache;
126 m_set_number = 0;
127 tempMaskedChips.clear();
128 abcdErrorChips.clear();
129 }
std::unordered_map< size_t, unsigned int > abcdErrorChips
std::unordered_map< size_t, unsigned int > tempMaskedChips
const IDCInDetBSErrContainer_Cache * IDCCache

Member Data Documentation

◆ abcdErrorChips

std::unordered_map<size_t, unsigned int> SCT_ByteStreamErrorsTool::IDCCacheEntry::abcdErrorChips

Definition at line 117 of file SCT_ByteStreamErrorsTool.h.

◆ eventId

EventContext::ContextEvt_t SCT_ByteStreamErrorsTool::IDCCacheEntry::eventId {EventContext::INVALID_CONTEXT_EVT}

Definition at line 109 of file SCT_ByteStreamErrorsTool.h.

109{EventContext::INVALID_CONTEXT_EVT}; // invalid event ID for the start

◆ IDCCache

const IDCInDetBSErrContainer_Cache* SCT_ByteStreamErrorsTool::IDCCacheEntry::IDCCache {nullptr}

Definition at line 110 of file SCT_ByteStreamErrorsTool.h.

110{nullptr};

◆ m_set_number

unsigned int SCT_ByteStreamErrorsTool::IDCCacheEntry::m_set_number = 0

Definition at line 121 of file SCT_ByteStreamErrorsTool.h.

◆ tempMaskedChips

std::unordered_map<size_t, unsigned int> SCT_ByteStreamErrorsTool::IDCCacheEntry::tempMaskedChips

Definition at line 116 of file SCT_ByteStreamErrorsTool.h.


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