ATLAS Offline Software
Loading...
Searching...
No Matches
VariableStruct.h File Reference

Define structures for fast filling of xAOD objects. More...

Include dependency graph for VariableStruct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xAOD::VariableStruct
 Define structures for fast filling of xAOD objects. More...

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.

Macros

#define AUXSTORE_VARSTRUCT_VAR(TYPE, NAME)
 Declare a member of an xAOD variable struct, giving the type and xAOD variable name.

Detailed Description

Define structures for fast filling of xAOD objects.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Feb, 2026

Definition in file VariableStruct.h.

Macro Definition Documentation

◆ AUXSTORE_VARSTRUCT_VAR

#define AUXSTORE_VARSTRUCT_VAR ( TYPE,
NAME )
Value:
static TYPE* getArr##NAME(xAOD::VariableStruct& vars) { \
static const SG::Accessor<TYPE> acc (#NAME); \
return acc.getDataArray (vars.m_cont); \
} \
TYPE* NAME = getArr##NAME(*this)
#define TYPE(CODE, TYP, IOTYP)
Helper class to provide type-safe access to aux data.
Define structures for fast filling of xAOD objects.
SG::AuxVectorData & m_cont

Declare a member of an xAOD variable struct, giving the type and xAOD variable name.

Definition at line 77 of file VariableStruct.h.

77#define AUXSTORE_VARSTRUCT_VAR(TYPE, NAME) \
78 static TYPE* getArr##NAME(xAOD::VariableStruct& vars) { \
79 static const SG::Accessor<TYPE> acc (#NAME); \
80 return acc.getDataArray (vars.m_cont); \
81 } \
82 TYPE* NAME = getArr##NAME(*this)