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 1014 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 1016 of file StoreGateSvc.h.

1016  {
1017  const T* obj = 0;
1018  if ( StatusCode::SUCCESS == psg->retrieve( obj ) )
1019  return obj;
1020  return 0;
1021  }

◆ retrieve() [2/2]

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

Definition at line 1024 of file StoreGateSvc.h.

1024  {
1025  const T* obj = 0;
1026  if ( StatusCode::SUCCESS == psg->retrieve( obj, key ) )
1027  return obj;
1028  return 0;
1029  }

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