CMS 3D CMS Logo

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
GrandCanonical::fCharmPotential
double fCharmPotential
Definition: GrandCanonical.h:20
GrandCanonical::fBaryonPotential
double fBaryonPotential
Definition: GrandCanonical.h:17
GrandCanonical::fElectroPotential
double fElectroPotential
Definition: GrandCanonical.h:19
GrandCanonical
Definition: GrandCanonical.h:14
ParticlePDG.h
GrandCanonical::BaryonPotential
double BaryonPotential()
Definition: GrandCanonical.h:40
GrandCanonical::CharmPotential
double CharmPotential()
Definition: GrandCanonical.h:46
GrandCanonical::fNMax
int fNMax
Definition: GrandCanonical.h:24
GrandCanonical::ParticleEnergyDensity
double ParticleEnergyDensity(ParticlePDG *particle)
Definition: GrandCanonical.cc:84
GrandCanonical::fStrangePotential
double fStrangePotential
Definition: GrandCanonical.h:18
ParticlePDG
Definition: ParticlePDG.h:24
GrandCanonical::CharmDensity
double CharmDensity(DatabasePDG *database)
Definition: GrandCanonical.cc:191
GrandCanonical::ParticleNumberDensity
double ParticleNumberDensity(ParticlePDG *particle)
Definition: GrandCanonical.cc:109
GrandCanonical::fTemperature
double fTemperature
Definition: GrandCanonical.h:16
GrandCanonical::EnergyDensity
double EnergyDensity(DatabasePDG *database)
Definition: GrandCanonical.cc:131
value
Definition: value.py:1
GrandCanonical::BaryonDensity
double BaryonDensity(DatabasePDG *database)
Definition: GrandCanonical.cc:146
GrandCanonical::StrangeDensity
double StrangeDensity(DatabasePDG *database)
Definition: GrandCanonical.cc:160
jvcParameters_cfi.temperature
temperature
Definition: jvcParameters_cfi.py:7
GrandCanonical::GrandCanonical
GrandCanonical()
Definition: GrandCanonical.cc:15
GrandCanonical::fInitialized
bool fInitialized
Definition: GrandCanonical.h:25
GrandCanonical::ElectroPotential
double ElectroPotential()
Definition: GrandCanonical.h:44
GrandCanonical::~GrandCanonical
~GrandCanonical()
Definition: GrandCanonical.cc:40
GrandCanonical::ElectroDensity
double ElectroDensity(DatabasePDG *database)
Definition: GrandCanonical.cc:175
DatabasePDG
Definition: DatabasePDG.h:34
GrandCanonical::NMax
int NMax()
Definition: GrandCanonical.h:49
GrandCanonical::StrangePotential
double StrangePotential()
Definition: GrandCanonical.h:42
GrandCanonical::Temperature
double Temperature()
Definition: GrandCanonical.h:38
DatabasePDG.h