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
077bffd4
Commit
077bffd4
authored
Nov 09, 2018
by
Simon Spannagel
Browse files
AnalysisEfficiency: update axis labels
parent
a430971d
Pipeline
#579498
failed with stages
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp
View file @
077bffd4
...
...
@@ -28,9 +28,10 @@ void AnalysisEfficiency::initialise() {
auto
pitch_x
=
static_cast
<
double
>
(
Units
::
convert
(
m_detector
->
pitch
().
X
(),
"um"
));
auto
pitch_y
=
static_cast
<
double
>
(
Units
::
convert
(
m_detector
->
pitch
().
Y
(),
"um"
));
// Efficiency maps
hPixelEfficiencyMap
=
new
TProfile2D
(
"hPixelEfficiencyMap"
,
"hPixelEfficiencyMap"
,
std
::
string
title
=
m_detector
->
name
()
+
" Pixel efficiency map;x_{track} mod "
+
std
::
to_string
(
pitch_x
)
+
"#mum;y_{track} mod "
+
std
::
to_string
(
pitch_y
)
+
"#mum;efficiency"
;
hPixelEfficiencyMap
=
new
TProfile2D
(
"pixelEfficiencyMap"
,
title
.
c_str
(),
static_cast
<
int
>
(
pitch_x
),
0
,
pitch_x
,
...
...
@@ -39,8 +40,9 @@ void AnalysisEfficiency::initialise() {
pitch_y
,
0
,
1
);
hChipEfficiencyMap
=
new
TProfile2D
(
"hChipEfficiencyMap"
,
"hChipEfficiencyMap"
,
title
=
m_detector
->
name
()
+
" Chip efficiency map;x [px];y [px];efficiency"
;
hChipEfficiencyMap
=
new
TProfile2D
(
"chipEfficiencyMap"
,
title
.
c_str
(),
m_detector
->
nPixelsX
(),
0
,
m_detector
->
nPixelsX
(),
...
...
@@ -49,8 +51,9 @@ void AnalysisEfficiency::initialise() {
m_detector
->
nPixelsY
(),
0
,
1
);
hGlobalEfficiencyMap
=
new
TProfile2D
(
"hGlobalEfficiencyMap"
,
"hGlobalEfficiencyMap"
,
title
=
m_detector
->
name
()
+
" Global efficiency map;x [mm];y [mm];efficiency"
;
hGlobalEfficiencyMap
=
new
TProfile2D
(
"globalEfficiencyMap"
,
title
.
c_str
(),
300
,
-
1.5
*
m_detector
->
size
().
X
(),
1.5
*
m_detector
->
size
().
X
(),
...
...
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