ATLAS Offline Software
Static Public Member Functions | List of all members
PyGate< T > Struct Template Reference

#include <StoreGateSvc.h>

Collaboration diagram for PyGate< T >:

Static Public Member Functions

static const T * retrieve (StoreGateSvc *psg)
 
static const T * retrieve (StoreGateSvc *psg, const std::string &key)
 

Detailed Description

template<class T>
struct PyGate< T >

Definition at line 1029 of file StoreGateSvc.h.

Member Function Documentation

◆ retrieve() [1/2]

template<class T >
static const T* PyGate< T >::retrieve ( StoreGateSvc psg)
inlinestatic

Definition at line 1031 of file StoreGateSvc.h.

1031  {
1032  const T* obj = 0;
1033  if ( StatusCode::SUCCESS == psg->retrieve( obj ) )
1034  return obj;
1035  return 0;
1036  }

◆ retrieve() [2/2]

template<class T >
static const T* PyGate< T >::retrieve ( StoreGateSvc psg,
const std::string &  key 
)
inlinestatic

Definition at line 1039 of file StoreGateSvc.h.

1039  {
1040  const T* obj = 0;
1041  if ( StatusCode::SUCCESS == psg->retrieve( obj, key ) )
1042  return obj;
1043  return 0;
1044  }

The documentation for this struct was generated from the following file:
StoreGateSvc::retrieve
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
python.PyAthena.obj
obj
Definition: PyAthena.py:132
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37