Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Riccardo Longo
JZCaPA
Commits
26a58edb
Commit
26a58edb
authored
Dec 15, 2021
by
ymoyal
Browse files
Update GetRMS() to cut on third of max and min values of the first derivative.
parent
537ada34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Analysis/src/WFAnalysis.cpp
View file @
26a58edb
...
...
@@ -329,7 +329,7 @@ double WFAnalysis::GetRMS( Channel* Ch ){
hDiffHisto
->
Reset
();
hDiffHisto
->
ResetStats
();
hDiffHisto
->
SetBins
(
(
xmax
-
xmin
)
/
12
,
xmin
,
xmax
);
hDiffHisto
->
SetBins
(
(
xmax
-
xmin
)
/
36
,
xmin
/
3
,
xmax
/
3
);
//Loop over the histogram excluding the window used for differentiating to fill hRMS
Int_t
nbins
=
Ch
->
FirstDerivative
->
GetNbinsX
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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