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
e0152108
Commit
e0152108
authored
Mar 17, 2020
by
Jens Kroeger
Browse files
AnalysisTimingATLASpix: add new 2D histogram ToT vs. row
(cherry picked from commit
e780ba18
)
parent
9fbf55b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
e0152108
...
...
@@ -292,6 +292,15 @@ void AnalysisTimingATLASpix::initialise() {
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTotVsRow
=
new
TH2F
(
"hTotVsRow"
,
"hTotVsRow;seed-pixel row;seed-pixel ToT [lsb]"
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
(),
64
,
0
,
64
);
hTotVsTime
=
new
TH2F
(
"hTotVsTime"
,
"hTotVsTime"
,
64
,
0
,
64
,
1e6
,
0
,
100
);
hTotVsTime
->
GetXaxis
()
->
SetTitle
(
"pixel ToT [lsb]"
);
hTotVsTime
->
GetYaxis
()
->
SetTitle
(
"time [s]"
);
...
...
@@ -575,6 +584,8 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
hTrackCorrelationTimeVsCol
->
Fill
(
timeDiff
,
cluster
->
getSeedPixel
()
->
column
());
hTrackCorrelationTimeVsRow
->
Fill
(
timeDiff
,
cluster
->
getSeedPixel
()
->
row
());
hTotVsRow
->
Fill
(
cluster
->
getSeedPixel
()
->
row
(),
cluster
->
getSeedPixel
()
->
raw
());
// single-pixel and multi-pixel clusters:
if
(
cluster
->
size
()
==
1
)
{
hTrackCorrelationTimeVsTot_1px
->
Fill
(
timeDiff
,
cluster
->
getSeedPixel
()
->
raw
());
...
...
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.h
View file @
e0152108
...
...
@@ -79,6 +79,7 @@ namespace corryvreckan {
TH2F
*
hHitMapAssoc_inPixel_highCharge
;
TH2F
*
hClusterMapAssoc
;
TH2F
*
hTotVsRow
;
TH2F
*
hTotVsTime
;
TH2F
*
hTotVsTime_high
;
TH2F
*
hTotVsTime_low
;
...
...
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