ATLAS Offline Software
Loading...
Searching...
No Matches
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

namespace  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.
#define DEFINE_CONST_ACCESSOR(ENUM_NAME, AUX_NAME)
 Helper macro for defining the different accessor objects.

Functions

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

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
static Double_t a
Access an auxiliary variable atomically.

Helper macro for defining the different accessor objects.

Definition at line 14 of file EventInfoAccessors_v1.cxx.

14#define DEFINE_ACCESSOR( ENUM_NAME, AUX_NAME ) \
15 case EventInfo_v1::ENUM_NAME: \
16 { \
17 static const SG::AtomicDecorator< uint32_t > a( #AUX_NAME ); \
18 return &a; \
19 } \
20 break

◆ 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
Access an auxiliary variable atomically.

Helper macro for defining the different accessor objects.

Definition at line 23 of file EventInfoAccessors_v1.cxx.

23#define DEFINE_CONST_ACCESSOR( ENUM_NAME, AUX_NAME ) \
24 case EventInfo_v1::ENUM_NAME: \
25 { \
26 static const SG::AtomicConstAccessor< uint32_t > a( #AUX_NAME ); \
27 return &a; \
28 } \
29 break