Jpp
software
JFit
JMuonPrefitParameters_t.hh
Go to the documentation of this file.
1
#ifndef JMUONPREFITPARAMETERS_t_INCLUDE
2
#define JMUONPREFITPARAMETERS_t_INCLUDE
3
4
#include <limits>
5
6
#include <TROOT.h>
7
#include <TObject.h>
8
9
/**
10
* \author gmaggi
11
*/
12
13
//#include "JGeometry3D/JOmega3D.hh" -> this crashes because of rootCint and C++ incompatibility
14
#include "
JTools/JConstants.hh
"
15
16
namespace
JFIT
17
{
18
/**
19
* Data struct that holds the parameters for JMuonPrefit angular reconstruction
20
* This is part of the constructor parameters of JMuonPrefit
21
*/
22
struct
JMuonPrefitParameters_t
:
23
public
TObject
24
{
25
double
sigma_ns
;
26
double
gridAngle_deg
;
27
bool
useL0
;
28
int
numberOfOutliers
;
29
size_t
numberOfPrefits
;
30
double
Tmax_ns
;
31
double
ctMin
;
32
double
roadWidth_m
;
33
34
JMuonPrefitParameters_t
(){this->
reset
();}
35
36
virtual
~JMuonPrefitParameters_t
(){}
37
38
void
reset
()
39
{
40
sigma_ns = 5;
41
gridAngle_deg
= 1;
42
useL0
=
false
;
43
numberOfOutliers
= 3;
44
numberOfPrefits
= 12;
45
Tmax_ns
= 18;
46
ctMin
= 0;
47
roadWidth_m
= 200;
48
}
49
50
bool
equals
(
const
JMuonPrefitParameters_t
¶meters)
const
51
{
52
return
(this->sigma_ns == parameters.
sigma_ns
and
53
this->gridAngle_deg == parameters.
gridAngle_deg
and
54
this->useL0 == parameters.
useL0
and
55
this->numberOfOutliers == parameters.
numberOfOutliers
and
56
this->numberOfPrefits == parameters.
numberOfPrefits
and
57
this->Tmax_ns == parameters.
Tmax_ns
and
58
this->roadWidth_m == parameters.
roadWidth_m
);
59
}
60
61
62
ClassDef
(
JMuonPrefitParameters_t
, 1);
63
64
};
65
66
}
67
68
#endif
JFIT::JMuonPrefitParameters_t::sigma_ns
double sigma_ns
Definition:
JMuonPrefitParameters_t.hh:25
JFIT::JMuonPrefitParameters_t::JMuonPrefitParameters_t
JMuonPrefitParameters_t()
Definition:
JMuonPrefitParameters_t.hh:34
JFIT::JMuonPrefitParameters_t::roadWidth_m
double roadWidth_m
Definition:
JMuonPrefitParameters_t.hh:32
TObject
Definition:
JRoot.hh:19
JFIT
Auxiliary classes and methods for linear and iterative data regression.
Definition:
JEnergy.hh:15
JFIT::JMuonPrefitParameters_t::numberOfPrefits
size_t numberOfPrefits
Definition:
JMuonPrefitParameters_t.hh:29
JFIT::JMuonPrefitParameters_t::reset
void reset()
Definition:
JMuonPrefitParameters_t.hh:38
JFIT::JMuonPrefitParameters_t::Tmax_ns
double Tmax_ns
Definition:
JMuonPrefitParameters_t.hh:30
JFIT::JMuonPrefitParameters_t::useL0
bool useL0
Definition:
JMuonPrefitParameters_t.hh:27
JConstants.hh
JFIT::JMuonPrefitParameters_t::numberOfOutliers
int numberOfOutliers
Definition:
JMuonPrefitParameters_t.hh:28
JFIT::JMuonPrefitParameters_t
Data struct that holds the parameters for JMuonPrefit angular reconstruction This is part of the cons...
Definition:
JMuonPrefitParameters_t.hh:22
JFIT::JMuonPrefitParameters_t::equals
bool equals(const JMuonPrefitParameters_t ¶meters) const
Definition:
JMuonPrefitParameters_t.hh:50
JFIT::JMuonPrefitParameters_t::~JMuonPrefitParameters_t
virtual ~JMuonPrefitParameters_t()
Definition:
JMuonPrefitParameters_t.hh:36
JFIT::JMuonPrefitParameters_t::ClassDef
ClassDef(JMuonPrefitParameters_t, 1)
JFIT::JMuonPrefitParameters_t::gridAngle_deg
double gridAngle_deg
Definition:
JMuonPrefitParameters_t.hh:26
JFIT::JMuonPrefitParameters_t::ctMin
double ctMin
Definition:
JMuonPrefitParameters_t.hh:31
Generated by
1.8.16