ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CaloUtils::ToolConstantsContext Struct Reference

Context object for retrieving ToolConstant values. More...

#include <ToolWithConstants.h>

Collaboration diagram for CaloUtils::ToolConstantsContext:

Public Member Functions

const EventContext & ctx () const
 
 ToolConstantsContext (const CaloRec::ToolConstants *constants, const EventContext &ctx)
 

Public Attributes

const CaloRec::ToolConstantsm_constants
 
const EventContext & m_ctx
 

Detailed Description

Context object for retrieving ToolConstant values.

Should be treated as opaque by clients, except to call ctx().

Definition at line 60 of file ToolWithConstants.h.

Constructor & Destructor Documentation

◆ ToolConstantsContext()

CaloUtils::ToolConstantsContext::ToolConstantsContext ( const CaloRec::ToolConstants constants,
const EventContext &  ctx 
)
inline

Definition at line 65 of file ToolWithConstants.h.

68  m_ctx (ctx)
69  {
70  }

Member Function Documentation

◆ ctx()

const EventContext& CaloUtils::ToolConstantsContext::ctx ( ) const
inline

Definition at line 63 of file ToolWithConstants.h.

63 { return m_ctx; }

Member Data Documentation

◆ m_constants

const CaloRec::ToolConstants* CaloUtils::ToolConstantsContext::m_constants

Definition at line 71 of file ToolWithConstants.h.

◆ m_ctx

const EventContext& CaloUtils::ToolConstantsContext::m_ctx

Definition at line 72 of file ToolWithConstants.h.


The documentation for this struct was generated from the following file:
CaloUtils::ToolConstantsContext::ctx
const EventContext & ctx() const
Definition: ToolWithConstants.h:63
constants
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:1
CaloUtils::ToolConstantsContext::m_constants
const CaloRec::ToolConstants * m_constants
Definition: ToolWithConstants.h:71
CaloUtils::ToolConstantsContext::m_ctx
const EventContext & m_ctx
Definition: ToolWithConstants.h:72