#ifndef _resonanceinfo_ #define _resonanceinfo_ #include "particleType.h" inline static int ParticleJTimes2(Particle_t locPID) { switch(locPID) { case Gamma: return 2; case Deuteron: return 2; case PiPlus: return 0; case PiMinus: return 0; case Rho0: return 2; default: return 0; } } inline static int ParticleParity(Particle_t locPID) { switch(locPID) { case Gamma: return -1; case Deuteron: return 1; case PiPlus: return -1; case PiMinus: return -1; case Rho0: return -1; default: return 0; } } inline static double ParticleWidth(Particle_t locPID) { switch(locPID) { case Rho0: return 0.1478; default: return 0.0; } } #endif //_resonanceinfo_