ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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  }

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.

◆ IDCCache

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

Definition at line 110 of file SCT_ByteStreamErrorsTool.h.

◆ 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:
SCT_ByteStreamErrorsTool::IDCCacheEntry::m_set_number
unsigned int m_set_number
Definition: SCT_ByteStreamErrorsTool.h:121
SCT_ByteStreamErrorsTool::IDCCacheEntry::IDCCache
const IDCInDetBSErrContainer_Cache * IDCCache
Definition: SCT_ByteStreamErrorsTool.h:110
SCT_ByteStreamErrorsTool::IDCCacheEntry::eventId
EventContext::ContextEvt_t eventId
Definition: SCT_ByteStreamErrorsTool.h:109
SCT_ByteStreamErrorsTool::IDCCacheEntry::abcdErrorChips
std::unordered_map< size_t, unsigned int > abcdErrorChips
Definition: SCT_ByteStreamErrorsTool.h:117
SCT_ByteStreamErrorsTool::IDCCacheEntry::tempMaskedChips
std::unordered_map< size_t, unsigned int > tempMaskedChips
Definition: SCT_ByteStreamErrorsTool.h:116