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
No related branches found
No related tags found
No related merge requests found
Pipeline #10152 passed
......@@ -239,11 +239,10 @@ parallel the geometry (and probably should).
Uncomment the include line in `gem_tracker.xml`
```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
<detector
......@@ -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 is the detector constructor function
The corresponding detector constructor function is in `src/TrapEndcapTracker_geo.cpp`
```cpp
static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens) {
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