ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterAccessors_v1.cxx File Reference
#include <iostream>
#include "CaloClusterAccessors_v1.h"
Include dependency graph for CaloClusterAccessors_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(NAME, TYPE)
 Helper macro for managing cluster moment Accessor objects.

Functions

const SG::AuxElement::Accessor< float > * xAOD::momentAccessorV1 (xAOD::CaloCluster_v1::MomentType moment)
 Helper function for managing cluster moment Accessor objects.
const SG::AuxElement::Accessor< xAOD::CaloCluster_v1::ncells_store_t > * xAOD::momentContainerAccessorV1 (xAOD::CaloCluster_v1::MomentType moment)
 Helper function for managing cluster moment Accessor objects.

Macro Definition Documentation

◆ DEFINE_ACCESSOR

#define DEFINE_ACCESSOR ( NAME,
TYPE )
Value:
case xAOD::CaloCluster_v1::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 managing cluster moment Accessor objects.

Definition at line 14 of file CaloClusterAccessors_v1.cxx.

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