From c72f96b127b92b35869b397721b2fc18b50d36e4 Mon Sep 17 00:00:00 2001
From: Alexander Kiselev <ayk@bnl.gov>
Date: Tue, 26 Oct 2021 10:04:29 -0400
Subject: [PATCH] CherenkovMassHypothesis and CherenkovPID added

---
 eic_data.yaml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/eic_data.yaml b/eic_data.yaml
index 4b80f23..1b860c7 100644
--- a/eic_data.yaml
+++ b/eic_data.yaml
@@ -268,14 +268,23 @@ datatypes:
         bool isCompound() const {return particles_size() > 0;}\n
         "
 
-      - eic::Index        pidID             // Index of the associated Cherenkov PID, if any
 
+  eic::ReconstructedParticleLocation:
+    Description: "EIC Reconstructed Particle Location"
+    Author: "W. Armstrong, S. Joosten"
+    Members:
+      - eic::Index        ID                // Unique particle index
+      - eic::VectorXYZ    p                 // Momentum vector [GeV]
+      - eic::VectorXYZ    v                 // Vertex [mm]
+
+      - eic::Index        recID             // Index of the associated ReconstructedParticle particle, if any
 
   eic::CherenkovMassHypothesis:
     Description: "Cherenkov detector PID mass hypothesis"
     Author: "A. Kiselev, C. Dilks"
     Members:
       - eic::Index        ID                // Unique entry ID
+      - int32_t           pdg               // PDG code
       - int16_t           npe               // Overall p.e. count associated with this hypothesis for a given track
       - float             weight            // The mass of the particle in [GeV]
 
@@ -284,7 +293,9 @@ datatypes:
     Author: "A. Kiselev, C. Dilks"
     Members:
       - eic::Index        ID                // Unique entry ID
-      - std::array<eic::Index, 4> hypotheses// (Up to 4) mass hypotheses (e/pi/K/p)
+      - std::array<eic::Index, 4> hypothesis// (Up to 4) mass hypotheses (e/pi/K/p)
+
+      - eic::Index        recID             // Index of the associated ReconstructedParticle particle, if any
 
   ## ==========================================================================
   ## Calorimetry
-- 
GitLab