ATLAS Offline Software
Loading...
Searching...
No Matches
RingerKnownParticles.h File Reference
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.

Namespaces

namespace  Ringer
 Namespace dedicated for Ringer utilities.

Macros

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

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; \
};\
}
Namespace dedicated for Ringer utilities.

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 42 of file RingerKnownParticles.h.

42#define DECLARE_RINGER_KNOWN_PARTICLE( _name, _hasCluster ) \
43 namespace Ringer { \
44 template < > struct GetParticleProp< _name > { \
45 static constexpr const char *name = #_name; \
46 static constexpr bool hasCluster = _hasCluster; \
47 };\
48 }