From 6928a2fa1b69614e075248d09b89c7838e7d53f3 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Tue, 2 May 2023 04:02:10 +0000 Subject: [PATCH] fix: ReconstructedChargedParticlesAssociations -> ReconstructedChargedParticleAssociations --- 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 72a108a3..38b0d066 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): + 'ReconstructedChargedParticleAssociations/ReconstructedChargedParticleAssociations.simID', + 'ReconstructedChargedParticleAssociations/ReconstructedChargedParticleAssociations.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['ReconstructedChargedParticleAssociations/ReconstructedChargedParticleAssociations.simID'] + recID = array['ReconstructedChargedParticleAssociations/ReconstructedChargedParticleAssociations.recID'] #SimID and recID contain the indices of the MCParticles and ReconstructedParticles entry for that event. ### MCParticles Variables -- GitLab