Commit ddfe95e8 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: part2/adding_detectors.md

parent 16548243
Pipeline #10152 passed with stage
in 1 minute and 32 seconds
......@@ -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;
......
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