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

Member Function Documentation

◆ needsUpdate()

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

Definition at line 41 of file IInDetConditionsTool.h.

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

◆ reset()

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

Definition at line 36 of file IInDetConditionsTool.h.

36 {
37 eventId = evtId;
38 IDCCache = cache;
39 }
const IDCInDetBSErrContainer_Cache * IDCCache

Member Data Documentation

◆ eventId

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

Definition at line 33 of file IInDetConditionsTool.h.

◆ IDCCache

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

Definition at line 34 of file IInDetConditionsTool.h.


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