Skip to content
Snippets Groups Projects
Commit ddfe95e8 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: part2/adding_detectors.md

parent 16548243
Branches
No related tags found
No related merge requests found
Pipeline #10152 passed
...@@ -239,11 +239,10 @@ parallel the geometry (and probably should). ...@@ -239,11 +239,10 @@ parallel the geometry (and probably should).
Uncomment the include line in `gem_tracker.xml` Uncomment the include line in `gem_tracker.xml`
```xml ```xml
<include ref="compact/gem_tracker_endcap.xml"/> <include ref="compact/gem_tracker_endcap.xml"/>
``` ```
And have a look at the detector part of the compact file. And have a look at the detector part of `compact/gem_tracker_endcap.xml`.
```xml ```xml
<detector <detector
...@@ -302,7 +301,7 @@ And have a look at the detector part of the compact file. ...@@ -302,7 +301,7 @@ And have a look at the detector part of the compact file.
Here you see a different strategy: build a module, then build layers constructed from the module. Here you see a different strategy: build a module, then build layers constructed from the module.
Here is the detector constructor function The corresponding detector constructor function is in `src/TrapEndcapTracker_geo.cpp`
```cpp ```cpp
static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens) { static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens) {
typedef vector<PlacedVolume> Placements; typedef vector<PlacedVolume> Placements;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment