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
ba92ca08
Commit
ba92ca08
authored
Dec 16, 2021
by
Riccardo Longo
Browse files
Merge branch 'WFA_Change_GetRMS' into 'master'
Wfa change get rms See merge request
!6
parents
537ada34
b52eeca2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Analysis/src/WFAnalysis.cpp
View file @
ba92ca08
...
...
@@ -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
();
...
...
Analysis/userFunctions/AnalysisExample2021.cpp
View file @
ba92ca08
...
...
@@ -146,19 +146,19 @@ int main(int argc, char *argv[]){
//ATLAS ZDC
ZDC
*
zdc1
=
new
ZDC
(
1
);
zdc1
->
SetWFAthresholds
(
5
,
3
0
);
zdc1
->
SetWFAthresholds
(
5
,
2
0
);
zdc1
->
SetMedianFilter
(
4
);
r
->
AddDetector
(
zdc1
);
//ATLAS ZDC
ZDC
*
zdc2
=
new
ZDC
(
2
);
zdc2
->
SetWFAthresholds
(
5
,
3
0
);
zdc2
->
SetWFAthresholds
(
5
,
2
0
);
zdc2
->
SetMedianFilter
(
4
);
r
->
AddDetector
(
zdc2
);
//ATLAS ZDC
ZDC
*
zdc3
=
new
ZDC
(
3
);
zdc3
->
SetWFAthresholds
(
5
,
3
0
);
zdc3
->
SetWFAthresholds
(
5
,
2
0
);
zdc3
->
SetMedianFilter
(
4
);
r
->
AddDetector
(
zdc3
);
...
...
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