Jpp
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
JFIT::JMuonSimplexParameters_t::~JMuonSimplexParameters_t
virtual ~JMuonSimplexParameters_t()
Definition: JMuonSimplexParameters_t.hh:26
TObject
Definition: JRoot.hh:19
JFIT::JMuonSimplexParameters_t::equals
bool equals(const JMuonSimplexParameters_t &parameters) const
Definition: JMuonSimplexParameters_t.hh:39
JFIT
Auxiliary classes and methods for linear and iterative data regression.
Definition: JEnergy.hh:15
JFIT::JMuonSimplexParameters_t::ClassDef
ClassDef(JMuonSimplexParameters_t, 1)
JFIT::JMuonSimplexParameters_t::useL0
bool useL0
Definition: JMuonSimplexParameters_t.hh:17
JFIT::JMuonSimplexParameters_t::JMuonSimplexParameters_t
JMuonSimplexParameters_t()
Definition: JMuonSimplexParameters_t.hh:24
JFIT::JMuonSimplexParameters_t::Tmax_ns
double Tmax_ns
Definition: JMuonSimplexParameters_t.hh:19
JFIT::JMuonSimplexParameters_t::sigma_ns
double sigma_ns
Definition: JMuonSimplexParameters_t.hh:16
JFIT::JMuonSimplexParameters_t::reprocess
bool reprocess
Definition: JMuonSimplexParameters_t.hh:22
JFIT::JMuonSimplexParameters_t::roadWidth_m
double roadWidth_m
Definition: JMuonSimplexParameters_t.hh:21
JFIT::JMuonSimplexParameters_t
Definition: JMuonSimplexParameters_t.hh:13
JFIT::JMuonSimplexParameters_t::numberOfPrefits
size_t numberOfPrefits
Definition: JMuonSimplexParameters_t.hh:18
JFIT::JMuonSimplexParameters_t::reset
void reset()
Definition: JMuonSimplexParameters_t.hh:28
JFIT::JMuonSimplexParameters_t::ctMin
double ctMin
Definition: JMuonSimplexParameters_t.hh:20