Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AUSA
AUSAlib
Commits
1cc60171
Commit
1cc60171
authored
Sep 19, 2016
by
Munken
Browse files
Now stuff compiles
parent
d6bd180b
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/calibration/peakfinder/GaussianMultiPeakFinder.cpp
View file @
1cc60171
...
...
@@ -109,8 +109,10 @@ PeakPositions GaussianMultiPeakFinder::findPeaks(TH1& histogram, const Source& s
}
GaussianMultiPeakFinder
::
GaussianMultiPeakFinder
(
std
::
unique_ptr
<
PeakFinder
>
inner
,
double
rangeMultiplier
,
size_t
nPasses
)
:
inner
(
move
(
inner
)),
nPass
(
nPasses
),
rangeMultiplier
(
rangeMultiplier
),
nTails
(
0
),
verbose
(
false
)
{
}
:
inner
(
move
(
inner
)),
nPass
(
nPasses
),
nTails
(
0
),
verbose
(
false
)
{
setRangeMultiplier
(
rangeMultiplier
,
rangeMultiplier
);
}
GaussianMultiPeakFinder
::
Estimate
GaussianMultiPeakFinder
::
estimateSlope
(
const
std
::
vector
<
double
>&
x
,
const
std
::
vector
<
double
>&
y
,
const
std
::
vector
<
double
>&
err
)
{
TGraphErrors
g
(
x
.
size
(),
x
.
data
(),
y
.
data
(),
nullptr
,
err
.
data
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment