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
f8efbb18
Commit
f8efbb18
authored
Nov 08, 2017
by
Daniel Hynds
Browse files
added histograms of associated cluster size and tot
parent
a02e4018
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/algorithms/DUTAnalysis/DUTAnalysis.cpp
View file @
f8efbb18
...
...
@@ -19,6 +19,9 @@ void DUTAnalysis::initialise() {
associatedTracksVersusTime
=
new
TH1F
(
"associatedTracksVersusTime"
,
"associatedTracksVersusTime"
,
300000
,
0
,
300
);
residualsX
=
new
TH1F
(
"residualsX"
,
"residualsX"
,
400
,
-
0.2
,
0.2
);
residualsY
=
new
TH1F
(
"residualsY"
,
"residualsY"
,
400
,
-
0.2
,
0.2
);
clusterTotAssociated
=
new
TH1F
(
"clusterTotAssociated"
,
"clusterTotAssociated"
,
250
,
0
,
10000
);
clusterSizeAssociated
=
new
TH1F
(
"clusterSizeAssociated"
,
"clusterSizeAssociated"
,
30
,
0
,
30
);
residualsTime
=
new
TH1F
(
"residualsTime"
,
"residualsTime"
,
2000
,
-
0.000001
,
0.000001
);
hTrackCorrelationX
=
new
TH1F
(
"hTrackCorrelationX"
,
"hTrackCorrelationX"
,
4000
,
-
10.
,
10.
);
...
...
@@ -229,6 +232,8 @@ StatusCode DUTAnalysis::run(Clipboard* clipboard) {
associatedTracksVersusTime
->
Fill
((
double
)
track
->
timestamp
()
/
(
4096.
*
40000000.
));
residualsX
->
Fill
(
xdistance
);
residualsY
->
Fill
(
ydistance
);
clusterTotAssociated
->
Fill
(
cluster
->
tot
());
clusterSizeAssociated
->
Fill
(
cluster
->
size
());
track
->
addAssociatedCluster
(
cluster
);
m_nAlignmentClusters
++
;
hAssociatedTracksGlobalPosition
->
Fill
(
globalIntercept
.
X
(),
globalIntercept
.
Y
());
...
...
src/algorithms/DUTAnalysis/DUTAnalysis.h
View file @
f8efbb18
...
...
@@ -25,6 +25,8 @@ namespace corryvreckan {
TH1F
*
associatedTracksVersusTime
;
TH1F
*
residualsX
;
TH1F
*
residualsY
;
TH1F
*
clusterTotAssociated
;
TH1F
*
clusterSizeAssociated
;
TH1F
*
hTrackCorrelationX
;
TH1F
*
hTrackCorrelationY
;
TH1F
*
hTrackCorrelationTime
;
...
...
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