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 1018 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 1020 of file StoreGateSvc.h.

1020  {
1021  const T* obj = 0;
1022  if ( StatusCode::SUCCESS == psg->retrieve( obj ) )
1023  return obj;
1024  return 0;
1025  }

◆ retrieve() [2/2]

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

Definition at line 1028 of file StoreGateSvc.h.

1028  {
1029  const T* obj = 0;
1030  if ( StatusCode::SUCCESS == psg->retrieve( obj, key ) )
1031  return obj;
1032  return 0;
1033  }

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