12 double meanStrangenessDensity = 0.;
13 for (
int particleIndex = 0; particleIndex < database->
GetNParticles(); particleIndex++) {
16 meanStrangenessDensity += particleDensity * particle->
GetStrangeness();
18 return meanStrangenessDensity;
23 double particleMass = pDef->
GetMass();
29 double particleDegFactor = 2 * pDef->
GetSpin() + 1.;
31 if (
int(2 * pDef->
GetSpin()) % 2 == 0)
44 return prefactor * postfactor;
int GetNParticles(bool all=kFALSE)
double ParticleNumberDensity(ParticlePDG *particle)
double HankelKn(int n, double x)
ParticlePDG * GetPDGParticleByIndex(int index)
double StrangenessDensity(DatabasePDG *database)
Power< A, B >::type pow(const A &a, const B &b)