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
7f436987
Commit
7f436987
authored
Mar 13, 2020
by
Jens Kroeger
Browse files
AnalysisTimingATLASpix: improve axis labels
(cherry picked from commit
0546ff8d
)
parent
bc6972f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
7f436987
...
...
@@ -179,39 +179,39 @@ void AnalysisTimingATLASpix::initialise() {
// control plot: time walk dependence, not row corrected
name
=
"hTrackCorrelationTimeVsTot"
;
hTrackCorrelationTimeVsTot
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot
->
GetYaxis
()
->
SetTitle
(
"pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot
->
GetYaxis
()
->
SetTitle
(
"
seed
pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
name
=
"hTrackCorrelationTimeVsTot_1px"
;
hTrackCorrelationTimeVsTot_1px
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_1px
->
GetYaxis
()
->
SetTitle
(
"seed pixel ToT [ns] (if clustersize = 1)"
);
hTrackCorrelationTimeVsTot_1px
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot_1px
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
name
=
"hTrackCorrelationTimeVsTot_npx"
;
hTrackCorrelationTimeVsTot_npx
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_npx
->
GetYaxis
()
->
SetTitle
(
"seed pixel ToT [ns] (if clustersize > 1)"
);
hTrackCorrelationTimeVsTot_npx
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot_npx
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
name
=
"hClusterTimeMinusPixelTime"
;
hClusterTimeMinusPixelTime
=
new
TH1F
(
name
.
c_str
(),
name
.
c_str
(),
2000
,
-
1000
,
1000
);
hClusterTimeMinusPixelTime
->
GetXaxis
()
->
SetTitle
(
"cluster
timestamp - pixel timestamp
[ns] (all pixels from cluster (if clusterSize>1))"
);
"
ts_{
cluster
} - ts_{pixel}
[ns] (all pixels from cluster (if clusterSize>1))"
);
// timewalk after row correction
name
=
"hTrackCorrelationTimeVsTot_rowCorr"
;
hTrackCorrelationTimeVsTot_rowCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_rowCorr
->
GetYaxis
()
->
SetTitle
(
"pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot_rowCorr
->
GetYaxis
()
->
SetTitle
(
"
seed
pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot_rowCorr
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns]"
);
name
=
"hTrackCorrelationTimeVsTot_rowCorr_1px"
;
hTrackCorrelationTimeVsTot_rowCorr_1px
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_rowCorr_1px
->
GetYaxis
()
->
SetTitle
(
"pixel ToT [ns] (single-pixel clusters)"
);
hTrackCorrelationTimeVsTot_rowCorr_1px
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot_rowCorr_1px
->
GetYaxis
()
->
SetTitle
(
"
seed
pixel ToT [ns] (single-pixel clusters)"
);
hTrackCorrelationTimeVsTot_rowCorr_1px
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
name
=
"hTrackCorrelationTimeVsTot_rowCorr_npx"
;
hTrackCorrelationTimeVsTot_rowCorr_npx
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_rowCorr_npx
->
GetYaxis
()
->
SetTitle
(
"pixel ToT [ns] (multi-pixel clusters)"
);
hTrackCorrelationTimeVsTot_rowCorr_npx
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot_rowCorr_npx
->
GetYaxis
()
->
SetTitle
(
"
seed
pixel ToT [ns] (multi-pixel clusters)"
);
hTrackCorrelationTimeVsTot_rowCorr_npx
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
// final plots with both row and timewalk correction:
name
=
"hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr"
;
...
...
@@ -222,8 +222,8 @@ void AnalysisTimingATLASpix::initialise() {
name
=
"hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr"
;
hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
512
,
0
,
512
);
hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr
->
GetYaxis
()
->
SetTitle
(
"pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr
->
GetXaxis
()
->
SetTitle
(
"t
rack time stamp - seed pixel time stamp
[ns]"
);
hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr
->
GetYaxis
()
->
SetTitle
(
"
seed
pixel ToT [ns]"
);
hTrackCorrelationTimeVsTot_rowAndTimeWalkCorr
->
GetXaxis
()
->
SetTitle
(
"t
s_{track} - ts_{cluster}
[ns]"
);
// in-pixel time resolution plots:
auto
nbins_x
=
static_cast
<
int
>
(
std
::
ceil
(
m_detector
->
pitch
().
X
()
/
m_inpixelBinSize
));
...
...
@@ -232,7 +232,7 @@ void AnalysisTimingATLASpix::initialise() {
throw
InvalidValueError
(
m_config
,
"inpixel_bin_size"
,
"Too many bins for in-pixel histograms."
);
}
title
=
"in-pixel time resolution map;x [px];y [px];t
rack time stamp - seed pixel timestamp
[ns]"
;
title
=
"in-pixel time resolution map;x [px];y [px];t
s_{track} - ts_{cluster}
[ns]"
;
hPixelTrackCorrelationTimeMap
=
new
TProfile2D
(
"pixelTrackCorrelationTimeMap"
,
title
.
c_str
(),
nbins_x
,
...
...
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