Skip to content
Snippets Groups Projects
Commit dfac21a0 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Specialized ProtoClusterHit structure

 - better readibility for protoclusters
 - now also store raw hit index to make navigation from protocluster-hit
   easier
parent 18b7997e
No related branches found
No related tags found
1 merge request!52Specialized ProtoClusterHit structure
Pipeline #19150 failed
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment