rivet is hosted by Hepforge, IPPP Durham
ParticleUtils.hh File Reference
Include dependency graph for ParticleUtils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HasPID
 Is this particle species charged? More...

Namespaces

namespace  Rivet

Defines

#define PARTICLE_TO_PID_BOOLFN(fname)   inline bool fname (const Particle& p) { return PID:: fname (p.pid()); }
#define PARTICLE_TO_PID_INTFN(fname)   inline int fname (const Particle& p) { return PID:: fname (p.pid()); }
#define PARTICLE_TO_PID_DBLFN(fname)   inline double fname (const Particle& p) { return PID:: fname (p.pid()); }

Define Documentation

#define PARTICLE_TO_PID_BOOLFN (   fname)    inline bool fname (const Particle& p) { return PID:: fname (p.pid()); }
Todo:
Can leave return type out of the macro and put that on each line where it's used?

Definition at line 9 of file ParticleUtils.hh.

#define PARTICLE_TO_PID_DBLFN (   fname)    inline double fname (const Particle& p) { return PID:: fname (p.pid()); }

Definition at line 11 of file ParticleUtils.hh.

#define PARTICLE_TO_PID_INTFN (   fname)    inline int fname (const Particle& p) { return PID:: fname (p.pid()); }

Definition at line 10 of file ParticleUtils.hh.