Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SurfaceFinder.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SurfaceFinder.h
1 // Copyright Chun Shen @ 2015
2 #ifndef SRC_SurfaceFinder_H_
3 #define SRC_SurfaceFinder_H_
4 
5 #ifdef USE_HDF5
6 #include "./Hydroinfo_h5.h"
7 #endif
8 
9 #include "./Hydroinfo_MUSIC.h"
10 #include "./ParameterReader.h"
11 
12 #include <fstream>
13 
14 // using namespace std;
15 using std::string;
16 using std::vector;
17 using std::ofstream;
18 using std::ifstream;
19 using std::abs;
20 
22  private:
24 #ifdef USE_HDF5
25  HydroinfoH5 *hydroinfo_ptr;
26 #endif
29  double T_cut;
30 
31  public:
32  SurfaceFinder(void* hydroinfo_ptr_in, ParameterReader* paraRdr_in);
33  SurfaceFinder(void* hydroinfo_ptr_in, ParameterReader* paraRdr_in,
34  double T_cut_in);
36 
37  bool check_intersect(double T_cut, double tau, double x, double y,
38  double dt, double dx, double dy, double ***cube);
40 };
41 
42 #endif // SRC_SurfaceFinder_H_