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
108d2ea3
Commit
108d2ea3
authored
Mar 05, 2020
by
Jens Kroeger
Browse files
EventLoaderCLICpix2: shift all relevant histograms by 1/2 pitch
parent
0436106b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderCLICpix2/EventLoaderCLICpix2.cpp
View file @
108d2ea3
...
...
@@ -108,31 +108,31 @@ void EventLoaderCLICpix2::initialise() {
hHitMap
=
new
TH2F
(
"hitMap"
,
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
()
+
" Map of discarded hits;x [px];y [px];pixels"
;
hHitMapDiscarded
=
new
TH2F
(
"hitMapDiscarded"
,
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
()
+
" TOT spectrum;TOT;pixels"
;
hPixelToT
=
new
TH1F
(
"pixelToT"
,
title
.
c_str
(),
32
,
0
,
31
);
title
=
m_detector
->
name
()
+
" TOT map;x [px];y [px];TOT"
;
hPixelToTMap
=
new
TProfile2D
(
"pixelToTMap"
,
title
.
c_str
(),
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
(),
m_detector
->
nPixels
().
Y
(),
0
,
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
,
0
,
maxcounter
-
1
);
title
=
m_detector
->
name
()
+
" TOA spectrum;TOA;pixels"
;
...
...
@@ -149,11 +149,11 @@ void EventLoaderCLICpix2::initialise() {
hMaskMap
=
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
);
for
(
int
column
=
0
;
column
<
m_detector
->
nPixels
().
X
();
column
++
)
{
for
(
int
row
=
0
;
row
<
m_detector
->
nPixels
().
Y
();
row
++
)
{
if
(
m_detector
->
masked
(
column
,
row
))
{
...
...
Jens Kroeger
@jekroege
mentioned in commit
1970a663
·
Jun 18, 2020
mentioned in commit
1970a663
mentioned in commit 1970a66305fe5888294026719d9b6909090c3d89
Toggle commit list
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