CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GrandCanonical.h
Go to the documentation of this file.
1 /*
2 
3 Nikolai Amelin, Ludmila Malinina, Timur Pocheptsov (C) JINR/Dubna
4 amelin@sunhe.jinr.ru, malinina@sunhe.jinr.ru, pocheptsov@sunhe.jinr.ru
5 November. 2, 2005
6 
7 */
8 
9 #ifndef GRANDCANONICAL_INCLUDED
10 #define GRANDCANONICAL_INCLUDED
11 #include "ParticlePDG.h"
12 #include "DatabasePDG.h"
13 
15 private:
16  double fTemperature;
21 
22  // Number of terms for summation, if fNMax = 1 then
23  // Maxwell-Boltzmann distribution will be recovered
24  int fNMax;
26 
27 public:
29  GrandCanonical(int nmax,
30  double temperature,
31  double baryonPotential,
32  double strangePotential,
33  double electroPotential,
34  double charmPotential);
36 
37  void Temperature(double value);
38  double Temperature() { return fTemperature; }
39  void BaryonPotential(double value);
40  double BaryonPotential() { return fBaryonPotential; }
41  void StrangePotential(double value);
42  double StrangePotential() { return fStrangePotential; }
43  void ElectroPotential(double value);
44  double ElectroPotential() { return fElectroPotential; }
45  void CharmPotential(double value);
46  double CharmPotential() { return fCharmPotential; }
47 
48  void NMax(int value);
49  int NMax() { return fNMax; }
50 
51  // compute of system baryon number, system strangeness, system charge and
52  // system energy
53  // calculate system energy density
54  double EnergyDensity(DatabasePDG* database);
55  // calculate system baryon density
56  double BaryonDensity(DatabasePDG* database);
57  // calculate system strangeness density
58  double StrangeDensity(DatabasePDG* database);
59  // calculate system electro density
60  double ElectroDensity(DatabasePDG* database);
61  // compute of particle number density
62  double CharmDensity(DatabasePDG* database);
63 
64  // compute of particle number density
65  double ParticleNumberDensity(ParticlePDG* particle);
66  // compute the particle energy density
67  double ParticleEnergyDensity(ParticlePDG* particle);
68 };
69 
70 #endif
double ParticleEnergyDensity(ParticlePDG *particle)
double ParticleNumberDensity(ParticlePDG *particle)
double ElectroPotential()
double EnergyDensity(DatabasePDG *database)
double fStrangePotential
double BaryonDensity(DatabasePDG *database)
double CharmPotential()
double fBaryonPotential
double BaryonPotential()
double CharmDensity(DatabasePDG *database)
double fElectroPotential
double fCharmPotential
double Temperature()
double StrangeDensity(DatabasePDG *database)
double ElectroDensity(DatabasePDG *database)
double StrangePotential()