Update Data Model authored by Matteo Tenti's avatar Matteo Tenti
The [edep-sim](https://github.com/ClarkMcGrew/edep-sim/blob/master/README.md) output format is summarized [here](uploads/9a5d48ec15fb723145d08ec485a62149/Edep-sim_output.pdf).
**Hit**
hit struct represent the particle energy deposit on the STT detector. Its information are derived from the class *[TG4HitSegment](https://github.com/ClarkMcGrew/edep-sim/blob/master/README.md#the-energy-deposition-class-and-friends)* of the edep-sim output format.
The hit struct represent the segment along which a particle's energy deposit occurs inside the sensible volume (i.e. the gas) of the STT detector. It has one-to-one relation with objects of the class *[TG4HitSegment](https://github.com/ClarkMcGrew/edep-sim/blob/master/README.md#the-energy-deposition-class-and-friends)* corresponding to the STT hit collection.
| type | name | description |
| ------ | ------ | ------ |
| std::string | det | Name of the volume where the energy deposit occurs. The reference geoemtry is *EDepSimGeometry* in the input edep-sim file. |
| double | x1 | |
| double | y1 | |
| double | z1 | |
| double | t1 | |
| double | x2 | |
| double | y2 | |
| double | z2 | |
| double | t2 | |
| double | de | |
| int | | pid |
| int | index | |
\ No newline at end of file
| double | x1 | X cordinate of the start point of the segment in mm |
| double | y1 | Y cordinate of the start point of the segment in mm |
| double | z1 | Z cordinate of the start point of the segment in mm |
| double | t1 | time cordinate of the start point of the segment in s |
| double | x2 | X cordinate of the end point of the segment in mm |
| double | y2 | Y cordinate of the end point of the segment in mm |
| double | z2 | Z cordinate of the end point of the segment in mm |
| double | t2 | Time cordinate of the end point of the segment in s |
| double | de | Energy deposit in MeV |
| int | pid | Index of the particle producing the hit. It corresponds to `TG4HitSegment::PrimaryId`. |
| int | index | Hit index. It corresponds to the position of the corresponding TG4HitSegment in the `vector<TG4HitSegment>` corresponding to the STT hit collection. |
\ No newline at end of file