Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Paul Jean Schutze
Corryvreckan
Commits
78a2b49d
Commit
78a2b49d
authored
Apr 23, 2020
by
Jens Kroeger
Browse files
Clustering4D: shift int histograms by -1/2 bin
parent
cb92913e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/Clustering4D/Clustering4D.cpp
View file @
78a2b49d
...
...
@@ -36,21 +36,21 @@ void Clustering4D::initialise() {
// Cluster plots
std
::
string
title
=
m_detector
->
getName
()
+
" Cluster size;cluster size;events"
;
clusterSize
=
new
TH1F
(
"clusterSize"
,
title
.
c_str
(),
100
,
0
,
100
);
clusterSize
=
new
TH1F
(
"clusterSize"
,
title
.
c_str
(),
100
,
-
0.5
,
99.5
);
title
=
m_detector
->
getName
()
+
" Cluster seed charge;cluster seed charge [e];events"
;
clusterSeedCharge
=
new
TH1F
(
"clusterSeedCharge"
,
title
.
c_str
(),
256
,
0
,
25
6
);
clusterSeedCharge
=
new
TH1F
(
"clusterSeedCharge"
,
title
.
c_str
(),
256
,
-
0.5
,
25
5.5
);
title
=
m_detector
->
getName
()
+
" Cluster Width - Rows;cluster width [rows];events"
;
clusterWidthRow
=
new
TH1F
(
"clusterWidthRow"
,
title
.
c_str
(),
25
,
0
,
25
);
clusterWidthRow
=
new
TH1F
(
"clusterWidthRow"
,
title
.
c_str
(),
25
,
-
0.5
,
2
4.
5
);
title
=
m_detector
->
getName
()
+
" Cluster Width - Columns;cluster width [columns];events"
;
clusterWidthColumn
=
new
TH1F
(
"clusterWidthColumn"
,
title
.
c_str
(),
100
,
0
,
100
);
clusterWidthColumn
=
new
TH1F
(
"clusterWidthColumn"
,
title
.
c_str
(),
100
,
-
0.5
,
99.5
);
title
=
m_detector
->
getName
()
+
" Cluster Charge;cluster charge [e];events"
;
clusterCharge
=
new
TH1F
(
"clusterCharge"
,
title
.
c_str
(),
5000
,
0
,
50000
);
clusterCharge
=
new
TH1F
(
"clusterCharge"
,
title
.
c_str
(),
5000
,
-
0.5
,
49999.5
);
title
=
m_detector
->
getName
()
+
" Cluster Position (Global);x [mm];y [mm];events"
;
clusterPositionGlobal
=
new
TH2F
(
"clusterPositionGlobal"
,
title
.
c_str
(),
400
,
-
10.
,
10.
,
400
,
-
10.
,
10.
);
title
=
";cluster timestamp [ns]; # events"
;
clusterTimes
=
new
TH1F
(
"clusterTimes"
,
title
.
c_str
(),
3e6
,
0
,
3e9
);
title
=
m_detector
->
getName
()
+
" Cluster multiplicity;clusters;events"
;
clusterMultiplicity
=
new
TH1F
(
"clusterMultiplicity"
,
title
.
c_str
(),
50
,
0
,
50
);
clusterMultiplicity
=
new
TH1F
(
"clusterMultiplicity"
,
title
.
c_str
(),
50
,
-
0.5
,
49.5
);
// Get resolution in time of detector and calculate time cut to be applied
LOG
(
DEBUG
)
<<
"Time cut to be applied for "
<<
m_detector
->
getName
()
<<
" is "
<<
Units
::
display
(
timeCut
,
{
"ns"
,
"us"
,
"ms"
});
...
...
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