Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
sbnobj
sbnobj
Common
Reco
StoppingChi2Fit.h
Go to the documentation of this file.
1
// Class for holding the result of fitting a Pol0 andf expo to find the Bragg peak for a track
2
3
#ifndef sbncode_stoppingchi2fit_H
4
#define sbncode_stoppingchi2fit_H
5
6
namespace
sbn {
7
class
StoppingChi2Fit
{
8
public
:
9
StoppingChi2Fit
()
10
:
pol0Chi2
(-5.f)
11
,
expChi2
(-5.f)
12
,
pol0Fit
(-5.f)
13
{
14
}
15
16
StoppingChi2Fit
(
const
float
pol0Chi2
,
const
float
expChi2
,
const
float
pol0Fit
)
17
: pol0Chi2(pol0Chi2)
18
, expChi2(expChi2)
19
, pol0Fit(pol0Fit)
20
{
21
}
22
23
float
pol0Chi2
;
// Chi^2 of fitting a 0 degree polynomial
24
float
expChi2
;
// Chi^2 of fitting an exponential
25
float
pol0Fit
;
// Best fit value of a 0 degree polynomial [MeV/cm]
26
};
27
}
28
29
#endif
sbn::StoppingChi2Fit::StoppingChi2Fit
StoppingChi2Fit()
Definition:
StoppingChi2Fit.h:9
sbn::StoppingChi2Fit::StoppingChi2Fit
StoppingChi2Fit(const float pol0Chi2, const float expChi2, const float pol0Fit)
Definition:
StoppingChi2Fit.h:16
sbn::StoppingChi2Fit::pol0Fit
float pol0Fit
Definition:
StoppingChi2Fit.h:25
sbn::StoppingChi2Fit
Definition:
StoppingChi2Fit.h:7
sbn::StoppingChi2Fit::pol0Chi2
float pol0Chi2
Definition:
StoppingChi2Fit.h:23
sbn::StoppingChi2Fit::expChi2
float expChi2
Definition:
StoppingChi2Fit.h:24
Generated by
1.8.5