ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
IInDetConditionsTool::IDCCacheEntry Struct Reference

#include <IInDetConditionsTool.h>

Collaboration diagram for IInDetConditionsTool::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
 

Detailed Description

Definition at line 33 of file IInDetConditionsTool.h.

Member Function Documentation

◆ needsUpdate()

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

Definition at line 42 of file IInDetConditionsTool.h.

42  {
43  return eventId != ctx.evt() or eventId == EventContext::INVALID_CONTEXT_EVT;
44  }

◆ reset()

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

Definition at line 37 of file IInDetConditionsTool.h.

37  {
38  eventId = evtId;
39  IDCCache = cache;
40  }

Member Data Documentation

◆ eventId

EventContext::ContextEvt_t IInDetConditionsTool::IDCCacheEntry::eventId = EventContext::INVALID_CONTEXT_EVT

Definition at line 34 of file IInDetConditionsTool.h.

◆ IDCCache

const IDCInDetBSErrContainer_Cache* IInDetConditionsTool::IDCCacheEntry::IDCCache = nullptr

Definition at line 35 of file IInDetConditionsTool.h.


The documentation for this struct was generated from the following file:
IInDetConditionsTool::IDCCacheEntry::eventId
EventContext::ContextEvt_t eventId
Definition: IInDetConditionsTool.h:34
IInDetConditionsTool::IDCCacheEntry::IDCCache
const IDCInDetBSErrContainer_Cache * IDCCache
Definition: IInDetConditionsTool.h:35