Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
icGlauber.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file icGlauber.h
1 
2 class EoS;
3 class Fluid;
4 class TF1;
5 
6 // this class takes care of the initial conditions for hydrodynamic evolution
7 class ICGlauber {
8  TF1 *iff; // instance of TF1 class used for numerical integration relevant to
9  // the initial conditions from optical Glauber approach
10  double rho0, prms[4]; // relevant to the initial conditions from optical
11  // Glauber approach
12  double *_rphi;
13  void findRPhi(void);
14  double rPhi(double phi);
15 
16  double WoodSaxon(double *x, double *p); // Wood-Saxon profile
17  double Thickness(double *x, double *p); // nuclear thickness profile function
18  // for optical Glauber approach
19  // epsilon: normalization of the initial energy density
20  // alpha: parameter relevant to the initial transverse flow
21  // b: impact parameter (for optical Glauber)
22  double epsilon, b, tau0;
23 
24  public:
25  ICGlauber(double e, double impactPar, double _tau0);
26  ~ICGlauber(void);
27  // energy density profile at given point in transverse plane
28  double eProfile(double x, double y);
29  // setIC: initializes entire hydro grid at a given initial proper time tau
30  void setIC(Fluid *f, EoS *eos);
31 };