ATLAS Offline Software
Loading...
Searching...
No Matches
JetAccessorMap_v1.h File Reference
#include <iostream>
#include "xAODBase/IParticleContainer.h"
#include "AthContainers/AuxElement.h"
#include "xAODJet/JetAttributes.h"
#include "xAODJet/JetAccessors.h"
#include "xAODJet/JetTypes.h"
Include dependency graph for JetAccessorMap_v1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xAOD::JetAttributeAccessor::AccessorMap_v1< T >
 Define a template struct. More...
struct  xAOD::JetAttributeAccessor::ObjectAccessorMap_v1< T >

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
namespace  xAOD::JetAttributeAccessor

Macros

#define JET_DEFINE_ATT_ACCESSOR(NAME)
 This header defines functions to map an Attribute enum to a static accessor object for the corresponding attribute.
#define JET_DEFINE_ASSO_ACCESSOR(NAME)
#define JET_DEFINE_ASSOBJ_ACCESSOR(NAME)

Functions

std::string xAOD::JetAttributeAccessor::name_v1 (xAOD::JetAttribute::AttributeID id)
 Returns a name given the AttributeID.
std::string xAOD::JetAttributeAccessor::assoName_v1 (xAOD::JetAttribute::AssoParticlesID id)
 Returns a name given the AssoParticlesID.

Macro Definition Documentation

◆ JET_DEFINE_ASSO_ACCESSOR

#define JET_DEFINE_ASSO_ACCESSOR ( NAME)
Value:
case xAOD::JetAttribute::NAME: \
{ \
const static VectorIParticleAccessor_t a( #NAME ); \
return &a; \
} \
break
static Double_t a

Definition at line 36 of file JetAccessorMap_v1.h.

36#define JET_DEFINE_ASSO_ACCESSOR( NAME ) \
37 case xAOD::JetAttribute::NAME: \
38 { \
39 const static VectorIParticleAccessor_t a( #NAME ); \
40 return &a; \
41 } \
42 break

◆ JET_DEFINE_ASSOBJ_ACCESSOR

#define JET_DEFINE_ASSOBJ_ACCESSOR ( NAME)
Value:
case xAOD::JetAttribute::NAME: \
{ \
const static ObjectAccessorWrapper< T > a( #NAME ); \
return &a; \
} \
break

Definition at line 44 of file JetAccessorMap_v1.h.

44#define JET_DEFINE_ASSOBJ_ACCESSOR( NAME ) \
45 case xAOD::JetAttribute::NAME: \
46 { \
47 const static ObjectAccessorWrapper< T > a( #NAME ); \
48 return &a; \
49 } \
50 break

◆ JET_DEFINE_ATT_ACCESSOR

#define JET_DEFINE_ATT_ACCESSOR ( NAME)
Value:
case xAOD::JetAttribute::NAME: \
{ \
const static AccessorWrapper< T > a( #NAME ); \
return &a; \
} \
break

This header defines functions to map an Attribute enum to a static accessor object for the corresponding attribute.

This file contains and defines the implementation for the _v1 version of the attributes and associated object content of Jet.

Definition at line 26 of file JetAccessorMap_v1.h.

26#define JET_DEFINE_ATT_ACCESSOR( NAME ) \
27 case xAOD::JetAttribute::NAME: \
28 { \
29 const static AccessorWrapper< T > a( #NAME ); \
30 return &a; \
31 } \
32 break