ATLAS Offline Software
Classes | Namespaces | Macros
RingerKnownParticles.h File Reference
#include "xAODEgamma/Electron.h"
#include "xAODEgamma/Photon.h"
Include dependency graph for RingerKnownParticles.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Ringer::GetParticleProp< particle_t >
 template to get particle_t name and if it has cluster access. More...
 

Namespaces

 Ringer
 Namespace dedicated for Ringer utilities.
 

Macros

#define DECLARE_RINGER_KNOWN_PARTICLE(_name, _hasCluster)
 macro for declaring particles known to Ringer algorithm. More...
 

Macro Definition Documentation

◆ DECLARE_RINGER_KNOWN_PARTICLE

#define DECLARE_RINGER_KNOWN_PARTICLE (   _name,
  _hasCluster 
)
Value:
namespace Ringer { \
template < > struct GetParticleProp< _name > { \
static constexpr const char *name = #_name; \
static constexpr bool hasCluster = _hasCluster; \
};\
}

macro for declaring particles known to Ringer algorithm.

Use GetParticleName< particle_t >::name to retrieve the particle name. The particle must have its class name declared using DECLARE_NAMED_CLASS macro.

Definition at line 43 of file RingerKnownParticles.h.

name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Ringer
Namespace dedicated for Ringer utilities.
Definition: CaloRingsDefs.h:9