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

Functions

template<>
const SG::AuxElement::Accessor< uint8_t > * xAOD::trackSummaryAccessorV1< uint8_t > (xAOD::SummaryType type)
template<>
const SG::AuxElement::Accessor< float > * xAOD::trackSummaryAccessorV1< float > (xAOD::SummaryType type)

Macro Definition Documentation

◆ DEFINE_ACCESSOR

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

Helper macro for Accessor objects.

Definition at line 15 of file TrackSummaryAccessors_v1.cxx.

15#define DEFINE_ACCESSOR(TYPE, NAME) \
16 case xAOD::NAME: { \
17 static const SG::AuxElement::Accessor<TYPE> a(#NAME); \
18 return &a; \
19 } break;