Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JShowerFitParameters_t.hh
Go to the documentation of this file.
1 #ifndef JSHOWERFITPARAMETERS_t_INCLUDE
2 #define JSHOWERFITPARAMETERS_t_INCLUDE
3 
4 #include <limits>
5 
6 #include <TROOT.h>
7 #include <TObject.h>
8 
9 
10 /**
11  * \author adomi, gmaggi
12  */
13 
14 namespace JFIT
15 {
16 /**
17  * struct that holds the Parameters used for JORCAShowerFit
18  */
20  public TObject
21  {
22  double Tmax_ns ;
23  double Dmax_m ;
24  double R_Hz ;
25  std::size_t numberOfPrefits ;
26 
28 
30 
31  void reset()
32  {
33  Tmax_ns = 20;
34  Dmax_m = 80;
35  R_Hz = 10.0e3;
36  numberOfPrefits = 1;
37  }
38 
39  bool equals(const JShowerFitParameters_t &parameters) const
40  {
41  return (this->Tmax_ns == parameters.Tmax_ns and
42  this->numberOfPrefits == parameters.numberOfPrefits and
43  this->Dmax_m == parameters.Dmax_m and
44  this->R_Hz == parameters.R_Hz);
45  }
46 
47 
49 
50  };
51 
52 }
53 
54 #endif
Definition: JRoot.hh:19
bool equals(const JShowerFitParameters_t &parameters) const
struct that holds the Parameters used for JORCAShowerFit
ClassDef(JShowerFitParameters_t, 1)