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
d1caba90
Commit
d1caba90
authored
May 09, 2017
by
CLICdp user
Browse files
updated histogram ranges and cut values
Former-commit-id: 44efe20c7746a586661a846b88dc00758738c011
parent
7258df79
Changes
1
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/ClicpixAnalysis.C
View file @
d1caba90
...
...
@@ -6,8 +6,8 @@
ClicpixAnalysis
::
ClicpixAnalysis
(
bool
debugging
)
:
Algorithm
(
"ClicpixAnalysis"
){
debug
=
debugging
;
m_associationCut
=
0
.
1
;
// 100 um
m_proximityCut
=
0
.
000
01
;
// 125 um
m_associationCut
=
0
.
05
;
// 100 um
m_proximityCut
=
0
.
000
5
;
// 125 um
timepix3Telescope
=
false
;
}
...
...
@@ -122,10 +122,10 @@ void ClicpixAnalysis::initialise(Parameters* par){
hChipEfficiencyMap
=
new
TH2F
(
"hChipEfficiencyMap"
,
"hChipEfficiencyMap"
,
65
,
-
0
.
5
,
64
.
5
,
65
,
-
0
.
5
,
64
.
5
);
hGlobalEfficiencyMap
=
new
TH2F
(
"hGlobalEfficiencyMap"
,
"hGlobalEfficiencyMap"
,
200
,
-
2
.
0
,
2
.
0
,
300
,
-
1
.,
2
);
hInterceptClusterSize1
=
new
TH2F
(
"hInterceptClusterSize1"
,
"hInterceptClusterSize1"
,
5
0
,
0
,
5
0
,
25
,
0
,
25
);
hInterceptClusterSize2
=
new
TH2F
(
"hInterceptClusterSize2"
,
"hInterceptClusterSize2"
,
5
0
,
0
,
5
0
,
25
,
0
,
25
);
hInterceptClusterSize3
=
new
TH2F
(
"hInterceptClusterSize3"
,
"hInterceptClusterSize3"
,
5
0
,
0
,
5
0
,
25
,
0
,
25
);
hInterceptClusterSize4
=
new
TH2F
(
"hInterceptClusterSize4"
,
"hInterceptClusterSize4"
,
5
0
,
0
,
5
0
,
25
,
0
,
25
);
hInterceptClusterSize1
=
new
TH2F
(
"hInterceptClusterSize1"
,
"hInterceptClusterSize1"
,
2
5
,
0
,
2
5
,
25
,
0
,
25
);
hInterceptClusterSize2
=
new
TH2F
(
"hInterceptClusterSize2"
,
"hInterceptClusterSize2"
,
2
5
,
0
,
2
5
,
25
,
0
,
25
);
hInterceptClusterSize3
=
new
TH2F
(
"hInterceptClusterSize3"
,
"hInterceptClusterSize3"
,
2
5
,
0
,
2
5
,
25
,
0
,
25
);
hInterceptClusterSize4
=
new
TH2F
(
"hInterceptClusterSize4"
,
"hInterceptClusterSize4"
,
2
5
,
0
,
2
5
,
25
,
0
,
25
);
m_nBinsX
=
32
;
m_nBinsY
=
32
;
hMapClusterSizeAssociated
=
new
TH2F
(
"hMapClusterSizeAssociated"
,
"hMapClusterSizeAssociated"
,
m_nBinsX
,
0
,
parameters
->
detector
[
dutID
]
->
nPixelsX
(),
m_nBinsY
,
0
,
parameters
->
detector
[
dutID
]
->
nPixelsY
());
...
...
@@ -180,6 +180,9 @@ StatusCode ClicpixAnalysis::run(Clipboard* clipboard){
Track
*
track
=
(
*
itTrack
);
if
(
!
track
)
continue
;
// Cut on the track chi2/ndof
if
(
track
->
chi2ndof
()
<
3
.
0
)
continue
;
// Get the track intercept with the clicpix plane (global and local co-ordinates)
PositionVector3D
<
Cartesian3D
<
double
>
>
trackIntercept
=
parameters
->
detector
[
dutID
]
->
getIntercept
(
track
);
PositionVector3D
<
Cartesian3D
<
double
>
>
trackInterceptLocal
=
*
(
parameters
->
detector
[
dutID
]
->
m_globalToLocal
)
*
trackIntercept
;
...
...
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