]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TTherminator/Therminator/Hypersurface.h
Add reaction plane to the header. Update the Lhyquid hypersurface parameterization...
[u/mrichter/AliRoot.git] / TTherminator / Therminator / Hypersurface.h
1 /***************************************************************************
2  *                             L H Y Q U I D                               *
3  *              reLativistic HYdrodynamics of Quark glUon fluID            *
4  *                                                                         *
5  *                         T H E R M I N A T O R                           *
6  *                      THERMal heavy-IoN generATOR                        *
7  *                                                                         *
8  *                              INTERFACE                                  *
9  *                                                                         *
10  * Author of LHYQUID THERMINATOR INTERFACE code:                           *
11  *   Miko�aj Chojnacki, e-mail: Mikolaj.Chojnacki@ifj.edu.pl               *
12  *                                                                         *
13  * About the interface:                                                    *
14  *   Code in the files "Hypersurface.h" and "Hypersurface.cxx" enables the *
15  * usage of a paramatrized hypersurface from LHYQUID (written in           *
16  * Mathematica).                                                           *
17  * Set the option FreezeOutModel = Lhyquid in the file "therminator.in".   *
18  * Modifications in the original files (Integrator.cxx, Integrator.h,      *
19  * therm_events, Makefile, therminator.in are marked by "MCH" comment      *
20  *                                                                         *
21  ***************************************************************************/
22
23
24 #ifndef _MCH_HYPERSURFACE_
25 #define _MCH_HYPERSURFACE_
26
27 #include <stdio.h>
28 #include <iostream>
29 #include <fstream>
30
31 using namespace std;
32
33 class Hypersurface {
34   public:
35     // constructor
36     Hypersurface(void);
37     // destructor
38     ~Hypersurface(void);
39     // variables
40     double TFO;
41     double tau0;
42     // functions
43     double fahs  (double p, double z);
44     double fvhs  (double p, double z);
45     double fdhs  (double p, double z);
46     double fDpdhs(double p, double z);
47     double fDzdhs(double p, double z);
48   private:
49     unsigned int i, j;
50     unsigned int Np, Nz;
51     double   ip, fp, dp, iz, fz, dz;
52     double   **aArr, **vArr, **dArr, **DpdArr, **DzdArr;
53     char     *FName;
54     char     buff[100];
55     ifstream *HSFile;
56 };
57
58
59 #endif /* _MCH_HYPERSURFACE_ */