Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
2ebd9c04
Commit
2ebd9c04
authored
Nov 11, 2018
by
Simon Spannagel
Browse files
CLICpix2: add timewalk TOA vs TOT plot
parent
fc679693
Pipeline
#582841
passed with stages
in 9 minutes and 35 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderCLICpix2/EventLoaderCLICpix2.cpp
View file @
2ebd9c04
...
...
@@ -150,6 +150,9 @@ void EventLoaderCLICpix2::initialise() {
title
=
m_detector
->
name
()
+
" Pixel multiplicity;pixels;frames"
;
hPixelsPerFrame
=
new
TH1F
(
"pixelsPerFrame"
,
title
.
c_str
(),
1000
,
0
,
1000
);
title
=
m_detector
->
name
()
+
" Timewalk;TOA;TOT;pixels"
;
hTimeWalk
=
new
TH2F
(
"timewalk"
,
title
.
c_str
(),
maxcounter
,
0
,
maxcounter
-
1
,
32
,
0
,
31
);
title
=
m_detector
->
name
()
+
" Map of masked pixels;x [px];y [px];mask code"
;
hMaskMap
=
new
TH2F
(
"maskMap"
,
title
.
c_str
(),
...
...
@@ -276,6 +279,7 @@ StatusCode EventLoaderCLICpix2::run(std::shared_ptr<Clipboard> clipboard) {
timestamp
=
shutterStopTime
-
static_cast
<
double
>
(
toa
)
/
0.1
+
m_detector
->
timingOffset
();
if
(
!
discardZeroToT
||
tot
>
0
)
{
hPixelToA
->
Fill
(
toa
);
hTimeWalk
->
Fill
(
toa
,
tot
);
}
}
...
...
src/modules/EventLoaderCLICpix2/EventLoaderCLICpix2.h
View file @
2ebd9c04
...
...
@@ -53,6 +53,7 @@ namespace corryvreckan {
TH2F
*
hHitMap
;
TH2F
*
hMaskMap
;
TH2F
*
hTimeWalk
;
TH2F
*
hHitMapDiscarded
;
TProfile2D
*
hPixelToTMap
;
TH1F
*
hPixelToT
;
...
...
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