ATLAS Offline Software
Static Public Member Functions | List of all members
IdentifierToHash< T >::RecursiveIndexCall< N, K > Class Template Reference

Helper class for IdentifierToHash to automate recursive index call. More...

#include <IdentifierToHash.h>

Collaboration diagram for IdentifierToHash< T >::RecursiveIndexCall< N, K >:

Static Public Member Functions

static const K::ValueType & getConstRef (const K &obj, const T &indices)
 
static K::ValueType & getRef (K &obj, const T &indices)
 

Detailed Description

template<class T>
template<unsigned int N, class K>
class IdentifierToHash< T >::RecursiveIndexCall< N, K >

Helper class for IdentifierToHash to automate recursive index call.

Definition at line 69 of file IdentifierToHash.h.

Member Function Documentation

◆ getConstRef()

template<class T >
template<unsigned int N, class K >
static const K::ValueType& IdentifierToHash< T >::RecursiveIndexCall< N, K >::getConstRef ( const K &  obj,
const T &  indices 
)
inlinestatic

Definition at line 71 of file IdentifierToHash.h.

72  {
73  int idx = indices[N-1];
74 #ifdef IDENTIFIERTOHASH_DEBUG
75  log<<MSG::DEBUG<<"{" << idx << "}"<<endmsg;
76 #endif
78  }

◆ getRef()

template<class T >
template<unsigned int N, class K >
static K::ValueType& IdentifierToHash< T >::RecursiveIndexCall< N, K >::getRef ( K &  obj,
const T &  indices 
)
inlinestatic

Definition at line 79 of file IdentifierToHash.h.

83  {
84  public:
85  static const typename K::ValueType& getConstRef( const K& obj, const T& indices ) {

The documentation for this class was generated from the following file:
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
IdentifierToHash::RecursiveIndexCall::getConstRef
static const K::ValueType & getConstRef(const K &obj, const T &indices)
Definition: IdentifierToHash.h:71
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
IdentifierToHash::RecursiveIndexCall::getRef
static K::ValueType & getRef(K &obj, const T &indices)
Definition: IdentifierToHash.h:79
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
python.PyAthena.obj
obj
Definition: PyAthena.py:135
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35