GaisserHillasTypes.h
Go to the documentation of this file.
1 #ifndef _evt_GaisserHillasTypes_h_
2 #define _evt_GaisserHillasTypes_h_
3 
4 #include <string>
5 
6 // USP: Andringa S, Conceição R and Pimenta M 2011 Astropart.Phys. 34 360-367
7 
8 namespace evt {
9 
10  namespace gh {
11 
13  eClassic = 0,
16  };
17 
19  eX0,
25  };
26 
27  inline
28  std::string
30  {
31  switch (type) {
32  case eClassic:
33  return "Classic";
34  case eWidth:
35  return "Width";
36  case eUSP:
37  return "USP";
38  default:
39  return "Unknown";
40  }
41  }
42 
43  inline
44  std::string
46  {
47  switch (par) {
48  case eX0:
49  return "X0";
50  case eLambda:
51  return "lambda";
52  case eFWHM:
53  return "FWHM";
54  case eAsym:
55  return "asymmetry";
56  case eUSP_L:
57  return "L_{USP}";
58  case eUSP_R:
59  return "R_{USP}";
60  default:
61  return "Unknown";
62  }
63  }
64 
65  }
66 
67 }
68 
69 
70 #endif
std::string GetFunctionTypeName(const EFunctionType type)
std::string GetShapeParameterName(const EShapeParameter par)

, generated on Tue Sep 26 2023.