From 4b9e1b74b79a595d303cf4d3d5649cdb23a2ecad Mon Sep 17 00:00:00 2001 From: tmadlener Date: Mon, 27 Nov 2023 14:49:05 +0100 Subject: [PATCH] Introduce TrackerHit interface class --- edm4hep.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/edm4hep.yaml b/edm4hep.yaml index d7eea8186..b512a9de9 100644 --- a/edm4hep.yaml +++ b/edm4hep.yaml @@ -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 @@ -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: @@ -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, CHEP" + 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 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