Commit 4dd4298a authored by Jin Zhang's avatar Jin Zhang
Browse files

try to make cartesian as default coordinates

parent 57ab871e
...@@ -64,8 +64,9 @@ void ModuleManager::load_detectors() { ...@@ -64,8 +64,9 @@ void ModuleManager::load_detectors() {
LOG_PROGRESS(STATUS, "DET_LOAD_LOOP") << "Loading detector " << name; LOG_PROGRESS(STATUS, "DET_LOAD_LOOP") << "Loading detector " << name;
// @to do: other detector types, e.g., ATLAS endcap strip detector // @to do: other detector types, e.g., ATLAS endcap strip detector
// default coordinate is cartesian coordinate
std::shared_ptr<Detector> detector; std::shared_ptr<Detector> detector;
if(coordinate == "cartesian") if(coordinate == "cartesian" || coordinate == "")
detector = std::make_shared<PlanarDetector>(detector_section); detector = std::make_shared<PlanarDetector>(detector_section);
// Check if we already found a reference plane: // Check if we already found a reference plane:
......
...@@ -9,7 +9,6 @@ time_resolution = 1s ...@@ -9,7 +9,6 @@ time_resolution = 1s
material_budget = 0.0 material_budget = 0.0
type = "TLU" type = "TLU"
role = "auxiliary" role = "auxiliary"
coordinates = "cartesian"
[MIMOSA26_0] [MIMOSA26_0]
mask_file = "maskfiles/mask_MIMOSA26_0.txt" mask_file = "maskfiles/mask_MIMOSA26_0.txt"
...@@ -22,7 +21,6 @@ spatial_resolution = 4um,4um ...@@ -22,7 +21,6 @@ spatial_resolution = 4um,4um
time_resolution = 230us time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[MIMOSA26_1] [MIMOSA26_1]
mask_file = "maskfiles/mask_MIMOSA26_1.txt" mask_file = "maskfiles/mask_MIMOSA26_1.txt"
...@@ -35,7 +33,6 @@ spatial_resolution = 4um,4um ...@@ -35,7 +33,6 @@ spatial_resolution = 4um,4um
time_resolution = 230us time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[MIMOSA26_2] [MIMOSA26_2]
mask_file = "maskfiles/mask_MIMOSA26_2.txt" mask_file = "maskfiles/mask_MIMOSA26_2.txt"
...@@ -49,7 +46,6 @@ time_resolution = 230us ...@@ -49,7 +46,6 @@ time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
role = "reference" role = "reference"
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[MIMOSA26_3] [MIMOSA26_3]
mask_file = "maskfiles/mask_MIMOSA26_3.txt" mask_file = "maskfiles/mask_MIMOSA26_3.txt"
...@@ -62,7 +58,6 @@ spatial_resolution = 4um,4um ...@@ -62,7 +58,6 @@ spatial_resolution = 4um,4um
time_resolution = 230us time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[MIMOSA26_4] [MIMOSA26_4]
mask_file = "maskfiles/mask_MIMOSA26_4.txt" mask_file = "maskfiles/mask_MIMOSA26_4.txt"
...@@ -75,7 +70,6 @@ spatial_resolution = 4um,4um ...@@ -75,7 +70,6 @@ spatial_resolution = 4um,4um
time_resolution = 230us time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[MIMOSA26_5] [MIMOSA26_5]
mask_file = "maskfiles/mask_MIMOSA26_5.txt" mask_file = "maskfiles/mask_MIMOSA26_5.txt"
...@@ -88,7 +82,6 @@ spatial_resolution = 4um,4um ...@@ -88,7 +82,6 @@ spatial_resolution = 4um,4um
time_resolution = 230us time_resolution = 230us
material_budget = 0.00075 material_budget = 0.00075
type = "MIMOSA26" type = "MIMOSA26"
coordinates = "cartesian"
[Timepix3_0] [Timepix3_0]
number_of_pixels = 256,256 number_of_pixels = 256,256
...@@ -101,4 +94,3 @@ time_resolution = 20ns ...@@ -101,4 +94,3 @@ time_resolution = 20ns
material_budget = 0.01068 material_budget = 0.01068
role = "dut" role = "dut"
type = "Timepix3" type = "Timepix3"
coordinates = "cartesian"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment