ATLAS Offline Software
Namespaces | Macros | Functions
EventInfoAccessors_v1.cxx File Reference
#include <iostream>
#include "EventInfoAccessors_v1.h"
Include dependency graph for EventInfoAccessors_v1.cxx:

Go to the source code of this file.

Namespaces

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

Macros

#define DEFINE_ACCESSOR(ENUM_NAME, AUX_NAME)
 Helper macro for defining the different accessor objects. More...
 
#define DEFINE_CONST_ACCESSOR(ENUM_NAME, AUX_NAME)
 Helper macro for defining the different accessor objects. More...
 

Functions

const SG::AtomicDecorator< uint32_t > * xAOD::eventFlagsAccessorsV1 (EventInfo_v1::EventFlagSubDet subDet)
 Helper function for accessing event flag variables. More...
 
const SG::AtomicConstAccessor< uint32_t > * xAOD::eventFlagsConstAccessorsV1 (EventInfo_v1::EventFlagSubDet subDet)
 Helper function for accessing event flag variables, for const access. More...
 

Macro Definition Documentation

◆ DEFINE_ACCESSOR

#define DEFINE_ACCESSOR (   ENUM_NAME,
  AUX_NAME 
)
Value:
case EventInfo_v1::ENUM_NAME: \
{ \
static const SG::AtomicDecorator< uint32_t > a( #AUX_NAME ); \
return &a; \
} \
break

Helper macro for defining the different accessor objects.

Definition at line 15 of file EventInfoAccessors_v1.cxx.

◆ DEFINE_CONST_ACCESSOR

#define DEFINE_CONST_ACCESSOR (   ENUM_NAME,
  AUX_NAME 
)
Value:
case EventInfo_v1::ENUM_NAME: \
{ \
static const SG::AtomicConstAccessor< uint32_t > a( #AUX_NAME ); \
return &a; \
} \
break

Helper macro for defining the different accessor objects.

Definition at line 24 of file EventInfoAccessors_v1.cxx.

SG::AtomicConstAccessor
Access an auxiliary variable atomically.
Definition: AtomicConstAccessor.h:45
a
TList * a
Definition: liststreamerinfos.cxx:10
SG::AtomicDecorator
Access an auxiliary variable atomically.
Definition: AtomicDecorator.h:44