Skip to content
Snippets Groups Projects

simple_detector.md: updating for dd4pod to edm4hep

Merged Wouter Deconinck requested to merge update-to-edm4hep into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -181,8 +181,8 @@ This accomplishes the following:
@@ -181,8 +181,8 @@ This accomplishes the following:
Later on you can see its use while looping over hits:
Later on you can see its use while looping over hits:
```cpp
```cpp
auto pos0 = h.getPosition();
auto pos0 = h.position;
auto pos1 = cellid_converter.position(h.getCellID());
auto pos1 = cellid_converter.position(h.cellID);
```
```
Here `h` is a [EDM4hep SimTrackerHit](https://edm4hep.web.cern.ch/classedm4hep_1_1_sim_tracker_hit.html)
Here `h` is a [EDM4hep SimTrackerHit](https://edm4hep.web.cern.ch/classedm4hep_1_1_sim_tracker_hit.html)
which has `position`, a
which has `position`, a
Loading