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

Functions

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

Macro Definition Documentation

◆ DEFINE_DECORATOR

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

Helper macro for Accessor objects.

Definition at line 12 of file getIsolationDecorator.cxx.

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