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();
30 double particleDegFactor = 2*pDef->
GetSpin() + 1.;
32 if(
int(2*pDef->
GetSpin())%2 == 0)
37 prefactor = (particleDegFactor*particleMass*particleMass*
45 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)