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
4dd4298a
Commit
4dd4298a
authored
Mar 25, 2020
by
Jin Zhang
Browse files
try to make cartesian as default coordinates
parent
57ab871e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/module/ModuleManager.cpp
View file @
4dd4298a
...
...
@@ -64,8 +64,9 @@ void ModuleManager::load_detectors() {
LOG_PROGRESS
(
STATUS
,
"DET_LOAD_LOOP"
)
<<
"Loading detector "
<<
name
;
// @to do: other detector types, e.g., ATLAS endcap strip detector
// default coordinate is cartesian coordinate
std
::
shared_ptr
<
Detector
>
detector
;
if
(
coordinate
==
"cartesian"
)
if
(
coordinate
==
"cartesian"
||
coordinate
==
""
)
detector
=
std
::
make_shared
<
PlanarDetector
>
(
detector_section
);
// Check if we already found a reference plane:
...
...
testing/geometries/geometry_mimosa26_telescope.conf
View file @
4dd4298a
...
...
@@ -9,7 +9,6 @@ time_resolution = 1s
material_budget
=
0
.
0
type
=
"TLU"
role
=
"auxiliary"
coordinates
=
"cartesian"
[
MIMOSA26_0
]
mask_file
=
"maskfiles/mask_MIMOSA26_0.txt"
...
...
@@ -22,7 +21,6 @@ spatial_resolution = 4um,4um
time_resolution
=
230
us
material_budget
=
0
.
00075
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
MIMOSA26_1
]
mask_file
=
"maskfiles/mask_MIMOSA26_1.txt"
...
...
@@ -35,7 +33,6 @@ spatial_resolution = 4um,4um
time_resolution
=
230
us
material_budget
=
0
.
00075
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
MIMOSA26_2
]
mask_file
=
"maskfiles/mask_MIMOSA26_2.txt"
...
...
@@ -49,7 +46,6 @@ time_resolution = 230us
material_budget
=
0
.
00075
role
=
"reference"
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
MIMOSA26_3
]
mask_file
=
"maskfiles/mask_MIMOSA26_3.txt"
...
...
@@ -62,7 +58,6 @@ spatial_resolution = 4um,4um
time_resolution
=
230
us
material_budget
=
0
.
00075
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
MIMOSA26_4
]
mask_file
=
"maskfiles/mask_MIMOSA26_4.txt"
...
...
@@ -75,7 +70,6 @@ spatial_resolution = 4um,4um
time_resolution
=
230
us
material_budget
=
0
.
00075
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
MIMOSA26_5
]
mask_file
=
"maskfiles/mask_MIMOSA26_5.txt"
...
...
@@ -88,7 +82,6 @@ spatial_resolution = 4um,4um
time_resolution
=
230
us
material_budget
=
0
.
00075
type
=
"MIMOSA26"
coordinates
=
"cartesian"
[
Timepix3_0
]
number_of_pixels
=
256
,
256
...
...
@@ -101,4 +94,3 @@ time_resolution = 20ns
material_budget
=
0
.
01068
role
=
"dut"
type
=
"Timepix3"
coordinates
=
"cartesian"
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