From dfac21a03c619252edce5060ea183e65f81d3557 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Thu, 23 Sep 2021 02:35:39 +0000 Subject: [PATCH] Specialized ProtoClusterHit structure - better readibility for protoclusters - now also store raw hit index to make navigation from protocluster-hit easier --- eic_data.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eic_data.yaml b/eic_data.yaml index c46dc47..a95c1f1 100644 --- a/eic_data.yaml +++ b/eic_data.yaml @@ -58,11 +58,6 @@ components: operator float() const {return value;} " - ## Index with weight - eic::WeightedIndex: - Members: - - eic::Index ID - - eic::Weight weight ## first-second pair of float s eic::FloatPair: @@ -241,6 +236,12 @@ components: return *(&xy + i + j - 1);\n }\n " + ## ProtoCluster hit relation + eic::ProtoClusterHit: + Members: + - eic::Index ID // ID of the hit + - uint32_t index // Raw index of the hit in the relevant array + - eic::Weight weight // weight of the hit datatypes: @@ -345,7 +346,7 @@ datatypes: Members: - eic::Index ID // ID of the cluster VectorMembers: - - eic::WeightedIndex hits // List of hits associated with the cluster + - eic::ProtoClusterHit hits // List of hits associated with the cluster eic::Cluster: Description: "EIC cluster" -- GitLab