Skip to content

Commit

Permalink
Introduce TrackerHit interface class
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jan 22, 2024
1 parent 8ce8a41 commit 7ff6be3
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions edm4hep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ datatypes:
- edm4hep::TrackState trackStates //track states
- edm4hep::Quantity dxQuantities // different measurements of dx quantities
OneToManyRelations:
- edm4hep::TrackerHit3D trackerHits //hits that have been used to create this track
- edm4hep::TrackerHit trackerHits //hits that have been used to create this track
- edm4hep::Track tracks //tracks (segments) that have been combined to create this track

#---------- Vertex
Expand Down Expand Up @@ -475,7 +475,7 @@ datatypes:
Members:
- float weight // weight of this association
OneToOneRelations:
- edm4hep::TrackerHit3D rec // reference to the reconstructed hit
- edm4hep::TrackerHit rec // reference to the reconstructed hit
- edm4hep::SimTrackerHit sim // reference to the simulated hit

edm4hep::MCRecoTrackerHitPlaneAssociation:
Expand Down Expand Up @@ -591,3 +591,20 @@ datatypes:
- edm4hep::HitLevelData hitData //hit level data
OneToOneRelations:
- edm4hep::Track track //the corresponding track.

interfaces:
edm4hep::TrackerHit:
Description: "Tracker hit interface class"
Author: "Thomas Madlener, DESY"
Members:
- uint64_t cellID // ID of the sensor that created this hit
- int32_t type // type of the raw data hit
- int32_t quality // quality bit flag of the hit
- float time [ns] // time of the hit
- float eDep [GeV] // energy deposited on the hit
- float eDepError [GeV] // error measured on eDep
- edm4hep::Vector3d position [mm] // hit position
- std::array<float, 6> covMatrix // covariance of the position (x,y,z) stored as lower triangle matrix, i.e. cov(x,x), cov(y, x), cov(y, y), cov(z, x), cov(z, y), cov(z, z)
Types:
- edm4hep::TrackerHit3D
- edm4hep::TrackerHitPlane

0 comments on commit 7ff6be3

Please sign in to comment.