ATLAS Offline Software
Loading...
Searching...
No Matches
getIsolationAccessor.cxx File Reference
#include "xAODPrimitives/tools/getIsolationAccessor.h"
#include <iostream>
Include dependency graph for getIsolationAccessor.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(TYPE)
 Helper macro for Accessor objects.

Functions

const SG::AuxElement::Accessor< float > * xAOD::getIsolationAccessor (Iso::IsolationType type)
 Get the Accessor object for a given isolation type.

Macro Definition Documentation

◆ DEFINE_ACCESSOR

#define DEFINE_ACCESSOR ( TYPE)
Value:
case xAOD::Iso::TYPE: \
{ \
return &a; \
} \
break;
static Double_t a
#define TYPE(CODE, TYP, IOTYP)
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572

Helper macro for Accessor objects.

Definition at line 12 of file getIsolationAccessor.cxx.

12#define DEFINE_ACCESSOR(TYPE) \
13 case xAOD::Iso::TYPE: \
14{ \
15 static const SG::AuxElement::Accessor< float > a( #TYPE); \
16 return &a; \
17} \
18break;