From 96991c11b0a225c582342dff71610daba7af8c47 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Fri, 13 Aug 2021 16:32:40 +0000
Subject: [PATCH] Use Weight class for event weight

---
 eic_data.yaml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/eic_data.yaml b/eic_data.yaml
index b9da221..4fe3a11 100644
--- a/eic_data.yaml
+++ b/eic_data.yaml
@@ -256,13 +256,10 @@ datatypes:
       - uint64_t          run              // Run number.
       - uint64_t          number           // Event number.
       - int32_t           type             // event type identifier (TBD).
-      - eic::Index        proc             // Process identifier (TBD).
+      - int32_t           proc             // Process identifier (TBD).
       - int32_t           source           // Source/generator identifier (TBD), negative for MC.
-      - float             weight           // Optional event weight (useful for MC)
-    ExtraCode:
-      declaration: "
-        EventInfo() : run{-1}, number{-1}, type{0}, proc{0}, source{-1}, weight{1} {}\n
-      " 
+      - eic::Weight       weight           // Optional event weight (useful for MC)
+
   
   ## ==========================================================================
   ## Particle info
-- 
GitLab