Skip to content
Snippets Groups Projects
Commit dc4de29d authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Use public data, not getters

parent 4c9d52d3
No related branches found
No related tags found
1 merge request!17simple_detector.md: updating for dd4pod to edm4hep
Pipeline #28505 failed
This commit is part of merge request !17. Comments created here will be created in the context of that merge request.
......@@ -181,8 +181,8 @@ This accomplishes the following:
Later on you can see its use while looping over hits:
```cpp
auto pos0 = h.getPosition();
auto pos1 = cellid_converter.position(h.getCellID());
auto pos0 = h.position;
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)
which has `position`, a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment