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
c1f4b8f3
Commit
c1f4b8f3
authored
Mar 05, 2020
by
Jens Kroeger
Browse files
AnalysisTimingATLASpix: shift all relevant histograms by 1/2 pitch
parent
180198ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
c1f4b8f3
...
...
@@ -142,33 +142,33 @@ void AnalysisTimingATLASpix::initialise() {
// 2D histograms:
// column dependence
name
=
"hTrackCorrelationTimeVsCol"
;
hTrackCorrelationTimeVsCol
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
X
(),
0
,
m_detector
->
nPixels
().
X
());
hTrackCorrelationTimeVsCol
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
);
hTrackCorrelationTimeVsCol
->
GetYaxis
()
->
SetTitle
(
"pixel column"
);
hTrackCorrelationTimeVsCol
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns]"
);
// row dependence
name
=
"hTrackCorrelationTimeVsRow"
;
hTrackCorrelationTimeVsRow
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
hTrackCorrelationTimeVsRow
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTrackCorrelationTimeVsRow
->
GetYaxis
()
->
SetTitle
(
"pixel row"
);
hTrackCorrelationTimeVsRow
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns]"
);
name
=
"hTrackCorrelationTimeVsRow_1px"
;
hTrackCorrelationTimeVsRow_1px
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
hTrackCorrelationTimeVsRow_1px
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTrackCorrelationTimeVsRow_1px
->
GetYaxis
()
->
SetTitle
(
"pixel row"
);
hTrackCorrelationTimeVsRow_1px
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns] (single-pixel clusters)"
);
name
=
"hTrackCorrelationTimeVsRow_npx"
;
hTrackCorrelationTimeVsRow_npx
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
hTrackCorrelationTimeVsRow_npx
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTrackCorrelationTimeVsRow_npx
->
GetYaxis
()
->
SetTitle
(
"pixel row"
);
hTrackCorrelationTimeVsRow_npx
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns] (multi-pixel clusters)"
);
// control plot: row dependence after row correction
name
=
"hTrackCorrelationTimeVsRow_rowCorr"
;
hTrackCorrelationTimeVsRow_rowCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
hTrackCorrelationTimeVsRow_rowCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTrackCorrelationTimeVsRow_rowCorr
->
GetYaxis
()
->
SetTitle
(
"pixel row"
);
hTrackCorrelationTimeVsRow_rowCorr
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns]"
);
...
...
@@ -211,8 +211,8 @@ void AnalysisTimingATLASpix::initialise() {
// final plots with both row and timewalk correction:
name
=
"hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr"
;
hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
0
,
m_detector
->
nPixels
().
Y
());
hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr
=
new
TH2F
(
name
.
c_str
(),
name
.
c_str
(),
20000
,
-
5000
,
5000
,
m_detector
->
nPixels
().
Y
(),
-
0.5
,
m_detector
->
nPixels
().
Y
()
-
0.5
);
hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr
->
GetYaxis
()
->
SetTitle
(
"row"
);
hTrackCorrelationTimeVsRow_rowAndTimeWalkCorr
->
GetXaxis
()
->
SetTitle
(
"track time stamp - seed pixel time stamp [ns]"
);
...
...
@@ -229,19 +229,19 @@ void AnalysisTimingATLASpix::initialise() {
hHitMapAssoc
=
new
TH2F
(
"hitMapAssoc"
,
"hitMapAssoc; x_{track} [px]; x_{track} [px]; # entries"
,
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
);
hHitMapAssoc_highCharge
=
new
TH2F
(
"hitMapAssoc_highCharge"
,
"hitMapAssoc_highCharge; x_{track} [px]; x_{track} [px]; # entries"
,
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
);
hHitMapAssoc_inPixel
=
new
TH2F
(
"hitMapAssoc_inPixel"
,
"hitMapAssoc_inPixel; in-pixel x_{track} [#mum]; in-pixel y_{track} [#mum]"
,
static_cast
<
int
>
(
pitch_x
),
...
...
@@ -262,11 +262,11 @@ void AnalysisTimingATLASpix::initialise() {
hClusterMapAssoc
=
new
TH2F
(
"hClusterMapAssoc"
,
"hClusterMapAssoc; x_{cluster} [px]; x_{cluster} [px]; # entries"
,
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
);
hTotVsTime
=
new
TH2F
(
"hTotVsTime"
,
"hTotVsTime"
,
64
,
0
,
64
,
1e6
,
0
,
100
);
hTotVsTime
->
GetXaxis
()
->
SetTitle
(
"pixel ToT [lsb]"
);
...
...
@@ -279,19 +279,19 @@ void AnalysisTimingATLASpix::initialise() {
hClusterMap_leftTail
=
new
TH2F
(
"hClusterMap_leftTail"
,
"hClusterMap_leftTail; x_{cluster} [px]; x_{cluster} [px]; # entries"
,
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
);
hClusterMap_mainPeak
=
new
TH2F
(
"hClusterMap_mainPeak"
,
"hClusterMap_mainPeak; x_{cluster} [px]; x_{cluster} [px]; # entries"
,
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
);
hClusterSize_leftTail
=
new
TH1F
(
"clusterSize_leftTail"
,
"clusterSize_leftTail; cluster size; # entries"
,
100
,
0
,
100
);
hClusterSize_mainPeak
=
new
TH1F
(
"clusterSize_mainPeak"
,
"clusterSize_mainPeak; cluster size; # entries"
,
100
,
0
,
100
);
hTot_leftTail
=
new
TH1F
(
"hTot_leftTail"
,
"hTot_leftTail; pixel ToT [lsb]; # events"
,
2
*
64
,
-
64
,
64
);
...
...
Jens Kroeger
@jekroege
mentioned in commit
a2bbbea9
·
Jun 18, 2020
mentioned in commit
a2bbbea9
mentioned in commit a2bbbea95bffb0b6771770b5cb0899170871bb35
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