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
676625a0
Commit
676625a0
authored
Mar 18, 2020
by
Jens Kroeger
Browse files
AnalysisTimingATLASpix: rename histogram more clearly: high->highToT
(cherry picked from commit
b7865ccf
)
parent
2c652e15
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
676625a0
...
...
@@ -330,9 +330,9 @@ void AnalysisTimingATLASpix::initialise() {
hTotVsTime
->
GetXaxis
()
->
SetTitle
(
"pixel ToT [lsb]"
);
hTotVsTime
->
GetYaxis
()
->
SetTitle
(
"time [s]"
);
if
(
m_config
.
has
(
"high_tot_cut"
))
{
hTotVsTime_high
=
new
TH2F
(
"hTotVsTime_high"
,
"hTotVsTime_high"
,
64
,
0
,
64
,
1e6
,
0
,
100
);
hTotVsTime_high
->
GetXaxis
()
->
SetTitle
(
"pixel ToT [lsb] if > high_tot_cut"
);
hTotVsTime_high
->
GetYaxis
()
->
SetTitle
(
"time [s]"
);
hTotVsTime_high
ToT
=
new
TH2F
(
"hTotVsTime_high
ToT
"
,
"hTotVsTime_high
ToT
"
,
64
,
0
,
64
,
1e6
,
0
,
100
);
hTotVsTime_high
ToT
->
GetXaxis
()
->
SetTitle
(
"pixel ToT [lsb] if > high_tot_cut"
);
hTotVsTime_high
ToT
->
GetYaxis
()
->
SetTitle
(
"time [s]"
);
}
// control plots for "left/right tail" and "main peak" of the track time correlation
...
...
@@ -655,8 +655,8 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
hTotVsTime
->
Fill
(
pixel
->
raw
(),
static_cast
<
double
>
(
Units
::
convert
(
pixel
->
timestamp
(),
"s"
)));
if
(
m_config
.
has
(
"high_tot_cut"
)
&&
pixel
->
raw
()
>
m_highTotCut
)
{
hHitMapAssoc_highToT
->
Fill
(
pixel
->
column
(),
pixel
->
row
());
hTotVsTime_high
->
Fill
(
pixel
->
raw
(),
static_cast
<
double
>
(
Units
::
convert
(
pixel
->
timestamp
(),
"s"
)));
hTotVsTime_high
ToT
->
Fill
(
pixel
->
raw
(),
static_cast
<
double
>
(
Units
::
convert
(
pixel
->
timestamp
(),
"s"
)));
}
}
hClusterMapAssoc
->
Fill
(
cluster
->
column
(),
cluster
->
row
());
...
...
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.h
View file @
676625a0
...
...
@@ -82,7 +82,7 @@ namespace corryvreckan {
TH2F
*
hTotVsRow
;
TH2F
*
hTotVsTime
;
TH2F
*
hTotVsTime_high
;
TH2F
*
hTotVsTime_high
ToT
;
// Control Plots for "left/right tail" and "main peak" of time correlation
TH2F
*
hInPixelMap_leftTail
;
...
...
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