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 1033 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 1035 of file StoreGateSvc.h.

1035  {
1036  const T* obj = 0;
1037  if ( StatusCode::SUCCESS == psg->retrieve( obj ) )
1038  return obj;
1039  return 0;
1040  }

◆ retrieve() [2/2]

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

Definition at line 1043 of file StoreGateSvc.h.

1043  {
1044  const T* obj = 0;
1045  if ( StatusCode::SUCCESS == psg->retrieve( obj, key ) )
1046  return obj;
1047  return 0;
1048  }

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:135
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37