CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
16  private:
17 
18  double fTemperature;
23 
24  // Number of terms for summation, if fNMax = 1 then
25  // Maxwell-Boltzmann distribution will be recovered
26  int fNMax;
28 
29  public:
31  GrandCanonical(int nmax, double temperature, double baryonPotential, double strangePotential, double electroPotential, double charmPotential);
33 
34  void Temperature(double value);
35  double Temperature() { return fTemperature; }
36  void BaryonPotential(double value);
37  double BaryonPotential() { return fBaryonPotential; }
38  void StrangePotential(double value);
39  double StrangePotential() { return fStrangePotential; }
40  void ElectroPotential(double value);
41  double ElectroPotential() { return fElectroPotential; }
42  void CharmPotential(double value);
43  double CharmPotential() { return fCharmPotential; }
44 
45  void NMax(int value);
46  int NMax() { return fNMax; }
47 
48  // compute of system baryon number, system strangeness, system charge and
49  // system energy
50  // calculate system energy density
51  double EnergyDensity(DatabasePDG* database);
52  // calculate system baryon density
53  double BaryonDensity(DatabasePDG* database);
54  // calculate system strangeness density
55  double StrangeDensity(DatabasePDG* database);
56  // calculate system electro density
57  double ElectroDensity(DatabasePDG* database);
58  // compute of particle number density
59  double CharmDensity(DatabasePDG* database);
60 
61  // compute of particle number density
62  double ParticleNumberDensity(ParticlePDG* particle);
63  // compute the particle energy density
64  double ParticleEnergyDensity(ParticlePDG* particle);
65 };
66 
67 #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()