]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TUHKMgen/UHKM/StrangeDensity.h
updated macros for making PPR plots
[u/mrichter/AliRoot.git] / TUHKMgen / UHKM / StrangeDensity.h
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 //This class is used to obtain grand canonical description  of strange density
10 //by means of the temperature and chemical potentials (input). As for output
11 //we get  strange density.
12
13 #ifndef NAStrangeDensity_h
14 #define NAStrangeDensity_h 1
15
16 #ifndef NAMathUtil_h
17 #include "MathUtil.h"
18 #endif
19 #ifndef HANKELFUNCTION_INCLUDED
20 #include "HankelFunction.h"
21 #endif
22 #ifndef PARTICLE_INCLUDED
23 #include "Particle.h"
24 #endif
25 #ifndef DATABASEPDG_H
26 #include "DatabasePDG.h"
27 #endif
28 #ifndef PARTICLE_PDG
29 #include "ParticlePDG.h"
30 #endif
31
32 class NAStrangeDensity {
33  public:
34   NAStrangeDensity();
35   ~NAStrangeDensity(){};
36
37   //for input
38   void SetTemperature(Double_t value) {fTemperature = value;}
39   void SetBaryonPotential(Double_t value) {fBaryonPotential = value;}
40   void SetStrangePotential(Double_t value) {fStrangePotential = value;}
41   void SetNMax(Int_t value) {
42     fNMax = value; 
43     if(fNMax < 1) fNMax = 1;
44   }
45   // compute hadron system strangeness density
46   Double_t StrangenessDensity(DatabasePDG* database);
47
48  private:
49   //input
50   Double_t fTemperature;
51   Double_t fBaryonPotential;    
52   Double_t fStrangePotential;
53   Int_t fNMax;   //number of terms for summation, if nMax = 1 then
54                 //Maxwell-Boltzmann distribution will be recovered      
55
56   Double_t ParticleNumberDensity(ParticlePDG* particle);
57 };
58
59 #endif