Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FluidcellStatistic.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FluidcellStatistic.h
1 // Copyright Chun Shen @ 2015
2 #ifndef SRC_FLUIDCELLSTATISTIC_H_
3 #define SRC_FLUIDCELLSTATISTIC_H_
4 
5 #include <iostream>
6 #include <sstream>
7 #include <fstream>
8 #include <cmath>
9 #include <iomanip>
10 #include <string>
11 #include <fstream>
12 
13 #ifdef USE_HDF5
14 #include "./Hydroinfo_h5.h"
15 #endif
16 
17 #include "./Hydroinfo_MUSIC.h"
18 #include "./ParameterReader.h"
19 
20 // using namespace std;
21 using std::string;
22 using std::vector;
23 using std::ofstream;
24 using std::ifstream;
25 using std::abs;
26 
28  private:
30 #ifdef USE_HDF5
31  HydroinfoH5 *hydroinfo_ptr;
32 #endif
35  double T_dec;
36  double hbarC;
39  double grid_x0, grid_y0;
40 
41  public:
42  FluidcellStatistic(void* hydroinfo_ptr_in, ParameterReader* paraRdr_in);
44  void checkFreezeoutSurface(double Tdec);
45  double compute_local_expansion_rate(double tau_local, double x_local,
46  double y_local);
51  void outputTempasTauvsX();
55  void analysis_hydro_volume_for_photon(double T_cut);
56  double calculate_spacetime_4volume(double T_cut);
57  double calculate_average_tau(double T_cut);
58  double calculate_average_temperature4(double T_cut);
60  double T_cut);
61  double calculate_hypersurface_3volume(double T_cut);
62 };
63 
64 #endif // SRC_FLUIDCELLSTATISTIC_H_