Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JMuonSimplexParameters_t.hh
Go to the documentation of this file.
1 #ifndef JMUONSIMPLEXPARAMETERS_t_INCLUDE
2 #define JMUONSIMPLEXPARAMETERS_t_INCLUDE
3 
4 #include <TROOT.h>
5 #include <TObject.h>
6 
7 /**
8  * \author gmaggi
9  */
10 
11 namespace JFIT
12 {
14  public TObject
15  {
16  double sigma_ns;
17  bool useL0;
19  double Tmax_ns;
20  double ctMin;
21  double roadWidth_m;
22  bool reprocess;
23 
25 
27 
28  void reset()
29  {
30  sigma_ns = 3;
31  useL0 = true;
32  numberOfPrefits = 0;
33  Tmax_ns = 15;
34  ctMin = 0;
35  roadWidth_m = 200;
36  reprocess = false;
37  }
38 
39  bool equals(const JMuonSimplexParameters_t &parameters) const
40  {
41  return (this->sigma_ns == parameters.sigma_ns and
42  this->useL0 == parameters.useL0 and
43  this->numberOfPrefits == parameters.numberOfPrefits and
44  this->Tmax_ns == parameters.Tmax_ns and
45  this->roadWidth_m == parameters.roadWidth_m and
46  this->reprocess == parameters.reprocess);
47  }
48 
49 
51 
52  };
53 
54 }
55 
56 #endif
Definition: JRoot.hh:19
ClassDef(JMuonSimplexParameters_t, 1)
bool equals(const JMuonSimplexParameters_t &parameters) const