ATLAS Offline Software
Classes | Namespaces | Macros
TraitDefs.h File Reference
#include "AthContainers/DataVector.h"
#include "TrigObjectMatching/ClusterDistanceFunctor.h"
Include dependency graph for TraitDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TrigMatch::DirectAttached
 
struct  TrigMatch::AncestorAttached
 
struct  TrigMatch::ClassTraits< T >
 
struct  TrigMatch::MetricTraits< T, U >
 
struct  TrigMatch::MetricTraits< egamma, egamma >
 

Namespaces

 TrigMatch
 helper namespace for calculating deltaR for unknown object types
 
 Analysis
 The namespace of all packages in PhysicsAnalysis/JetTagging.
 

Macros

#define SPECIALIZE_CONTAINER_FOR_CLASS(x, y)
 
#define DECLARE_ATTACHED_CONTAINER(x, y)
 
#define DECLARE_ATTACHED_CONTAINER_NAMESPACE(a, x, y)
 
#define DECLARE_ATTACHED_CONTAINER_OBJECT_NAMESPACE(a, x, y)
 
#define DECLARE_ATTACHED_CONTAINER_TYPEDEF(a, x, y)
 
#define DECLARE_L1_TRIGGER_OBJECT(x)
 
#define DECLARE_DEFAULT_METRIC(x, y, z)
 
#define DECLARE_DEFAULT_METRIC_PAIR(x, y, z)
 
#define DECLARE_DEFALUT_METRIC_SINGLE(x, z)
 

Macro Definition Documentation

◆ DECLARE_ATTACHED_CONTAINER

#define DECLARE_ATTACHED_CONTAINER (   x,
  y 
)
Value:
class x; \
class y; \
SPECIALIZE_CONTAINER_FOR_CLASS(x,y)

Definition at line 59 of file TraitDefs.h.

◆ DECLARE_ATTACHED_CONTAINER_NAMESPACE

#define DECLARE_ATTACHED_CONTAINER_NAMESPACE (   a,
  x,
  y 
)
Value:
namespace a { \
class x; \
class y; \
} \
SPECIALIZE_CONTAINER_FOR_CLASS(a::x,a::y)

Definition at line 67 of file TraitDefs.h.

◆ DECLARE_ATTACHED_CONTAINER_OBJECT_NAMESPACE

#define DECLARE_ATTACHED_CONTAINER_OBJECT_NAMESPACE (   a,
  x,
  y 
)
Value:
namespace a { \
class x; \
} \
class y; \
SPECIALIZE_CONTAINER_FOR_CLASS(a::x,y)

Definition at line 77 of file TraitDefs.h.

◆ DECLARE_ATTACHED_CONTAINER_TYPEDEF

#define DECLARE_ATTACHED_CONTAINER_TYPEDEF (   a,
  x,
  y 
)
Value:
namespace a { \
class x; \
} \
SPECIALZE_CONTAINER_FOR_CLASS(a::x, y)

Definition at line 87 of file TraitDefs.h.

◆ DECLARE_DEFALUT_METRIC_SINGLE

#define DECLARE_DEFALUT_METRIC_SINGLE (   x,
  z 
)
Value:
namespace TrigMatch { \
template<> \
struct MetricTraits<x,x> { \
typedef z<x,x> type; \
}; \
}

Definition at line 187 of file TraitDefs.h.

◆ DECLARE_DEFAULT_METRIC

#define DECLARE_DEFAULT_METRIC (   x,
  y,
  z 
)
Value:
class x; \
namespace TrigMatch { \
template<typename U> \
struct MetricTraits<x,U> { \
typedef y<U> type; \
}; \
template<typename U> \
struct MetricTraits<U,x> {\
typedef z<U> type; \
}; \
}

Definition at line 158 of file TraitDefs.h.

◆ DECLARE_DEFAULT_METRIC_PAIR

#define DECLARE_DEFAULT_METRIC_PAIR (   x,
  y,
  z 
)
Value:
namespace TrigMatch { \
template<> \
struct MetricTraits<x,y> { \
typedef z<x,y> type; \
}; \
template<> \
struct MetricTraits<y,x> { \
typedef z<y,x> type; \
}; \
}

Definition at line 173 of file TraitDefs.h.

◆ DECLARE_L1_TRIGGER_OBJECT

#define DECLARE_L1_TRIGGER_OBJECT (   x)
Value:
class x; \
namespace TrigMatch { \
template<> \
struct ClassTraits<x> { \
typedef AncestorAttached type; \
}; \
}

Definition at line 127 of file TraitDefs.h.

◆ SPECIALIZE_CONTAINER_FOR_CLASS

#define SPECIALIZE_CONTAINER_FOR_CLASS (   x,
  y 
)
Value:
namespace TrigMatch { \
template<> \
struct ClassTraits<x> { \
typedef y type; \
}; \
}

Definition at line 49 of file TraitDefs.h.

x
#define x
TrigMatch
helper namespace for calculating deltaR for unknown object types
Definition: ClusterDistanceFunctor.h:20
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78