Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
c569a162
Commit
c569a162
authored
Mar 05, 2020
by
Jens Kroeger
Browse files
MaskCreator: shift all relevant histograms by 1/2 pitch
(cherry picked from commit
a5e5eaf8
)
parent
3b107b48
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/MaskCreator/MaskCreator.cpp
View file @
c569a162
...
...
@@ -39,21 +39,21 @@ void MaskCreator::initialise() {
maskmap
=
new
TH2F
(
"maskmap"
,
title
.
c_str
(),
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
title
=
m_detector
->
name
()
+
" Occupancy;x [px];y [px];entries"
;
m_occupancy
=
new
TH2D
(
"occupancy"
,
title
.
c_str
(),
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
if
(
m_method
==
"localdensity"
)
{
title
=
m_detector
->
name
()
+
" Occupancy distance;x [px];y [px]"
;
...
...
@@ -63,21 +63,21 @@ void MaskCreator::initialise() {
m_density
=
new
TH2D
(
"density"
,
title
.
c_str
(),
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
title
=
m_detector
->
name
()
+
" Local significance;x [px];y [px]"
;
m_significance
=
new
TH2D
(
"local_significance"
,
title
.
c_str
(),
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
title
=
m_detector
->
name
()
+
" Local significance distance;x [px];y [px]"
;
m_significanceDist
=
new
TH1D
(
"local_significance_dist"
,
title
.
c_str
(),
binsOccupancy
,
0
,
1
);
...
...
Write
Preview
Supports
Markdown
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