From 767fa387ed094bc0f36d06a1ad79f1fd0050cf33 Mon Sep 17 00:00:00 2001
From: Tooba Ali <alit1@myumanitoba.ca>
Date: Thu, 22 Dec 2022 05:24:42 +0000
Subject: [PATCH] use key name ReconstructedParticlesAssociations instead of
 ReconstructedChargedParticlesAssociations in truth_reconstruction.py

---
 benchmarks/dis/analysis/truth_reconstruction.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/benchmarks/dis/analysis/truth_reconstruction.py b/benchmarks/dis/analysis/truth_reconstruction.py
index 5bb8f5ca..bbaae6dc 100644
--- a/benchmarks/dis/analysis/truth_reconstruction.py
+++ b/benchmarks/dis/analysis/truth_reconstruction.py
@@ -30,8 +30,8 @@ for array in ur.iterate(rec_file + ':events',['MCParticles/MCParticles.generator
                                         'ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.x',
                                         'ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.y',
                                         'ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.z',
-                                        'ReconstructedChargedParticlesAssociations/ReconstructedChargedParticlesAssociations.simID',
-                                        'ReconstructedChargedParticlesAssociations/ReconstructedChargedParticlesAssociations.recID'],step_size=Nevents):
+                                        'ReconstructedParticlesAssociations/ReconstructedParticlesAssociations.simID',
+                                        'ReconstructedParticlesAssociations/ReconstructedParticlesAssociations.recID'],step_size=Nevents):
     PDG_mc = array['MCParticles/MCParticles.PDG']  #Monte Carlo (MC) particle numbering scheme.
     px_mc = array['MCParticles/MCParticles.momentum.x']
     py_mc = array['MCParticles/MCParticles.momentum.y']
@@ -40,8 +40,8 @@ for array in ur.iterate(rec_file + ':events',['MCParticles/MCParticles.generator
     px_rc = array['ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.x']
     py_rc = array['ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.y']
     pz_rc = array['ReconstructedChargedParticles/ReconstructedChargedParticles.momentum.z']
-    simID = array['ReconstructedChargedParticlesAssociations/ReconstructedChargedParticlesAssociations.simID']
-    recID = array['ReconstructedChargedParticlesAssociations/ReconstructedChargedParticlesAssociations.recID']
+    simID = array['ReconstructedParticlesAssociations/ReconstructedParticlesAssociations.simID']
+    recID = array['ReconstructedParticlesAssociations/ReconstructedParticlesAssociations.recID']
     #SimID and recID contain the indices of the MCParticles and ReconstructedParticles entry for that event.
 
 ### MCParticles Variables
-- 
GitLab