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
dec0d4eb
Commit
dec0d4eb
authored
Apr 14, 2021
by
Jens Kroeger
Browse files
AnalysisDUT: add histograms residualsTimeVsCol/Row
parent
983b793a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisDUT/AnalysisDUT.cpp
View file @
dec0d4eb
...
...
@@ -332,6 +332,25 @@ void AnalysisDUT::initialize() {
-
0.5
,
999.5
);
residualsTimeVsCol
=
new
TH2F
(
"residualsTimeVsCol"
,
"Time residual vs. pixel charge;time_{track} - time_{hit} [ns];seed pixel column;# entries"
,
nTimeBins
,
-
nTimeBins
/
2.
*
timeBinning
-
timeBinning
/
2.
,
nTimeBins
/
2.
*
timeBinning
-
timeBinning
/
2.
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
);
residualsTimeVsRow
=
new
TH2F
(
"residualsTimeVsRow"
,
"Time residual vs. pixel charge;time_{track} - time_{hit} [ns];seed pixel row;# entries"
,
nTimeBins
,
-
nTimeBins
/
2.
*
timeBinning
-
timeBinning
/
2.
,
nTimeBins
/
2.
*
timeBinning
-
timeBinning
/
2.
,
m_detector
->
nPixels
().
X
(),
-
0.5
,
m_detector
->
nPixels
().
X
()
-
0.5
);
residualsTimeVsSignal
=
new
TH2F
(
"residualsTimeVsSignal"
,
"Time residual vs. cluster charge;cluster charge [e];time_{track}-time_{hit} [mm];# entries"
,
...
...
@@ -538,6 +557,8 @@ StatusCode AnalysisDUT::run(const std::shared_ptr<Clipboard>& clipboard) {
residualsTime
->
Fill
(
tdistance
);
residualsTimeVsTime
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
track
->
timestamp
(),
"s"
)),
tdistance
);
residualsTimeVsTot
->
Fill
(
tdistance
,
assoc_cluster
->
getSeedPixel
()
->
raw
());
residualsTimeVsCol
->
Fill
(
tdistance
,
assoc_cluster
->
getSeedPixel
()
->
column
());
residualsTimeVsRow
->
Fill
(
tdistance
,
assoc_cluster
->
getSeedPixel
()
->
row
());
residualsTimeVsSignal
->
Fill
(
tdistance
,
cluster_charge
);
clusterSizeAssoc
->
Fill
(
static_cast
<
double
>
(
assoc_cluster
->
size
()));
...
...
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