From edfa5cdec013d5c044c81822e6891d43e84add3f Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wouter.deconinck@umanitoba.ca> Date: Sun, 22 Aug 2021 20:28:32 +0000 Subject: [PATCH] Use ParticlesWithTruthPID for ReconstructedParticles with truth PID --- benchmarks/full/options/full_reconstruction.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/benchmarks/full/options/full_reconstruction.py b/benchmarks/full/options/full_reconstruction.py index f486d801..b340f093 100644 --- a/benchmarks/full/options/full_reconstruction.py +++ b/benchmarks/full/options/full_reconstruction.py @@ -68,6 +68,7 @@ from Configurables import Jug__Reco__TrackParamClusterInit as TrackParamClusterI from Configurables import Jug__Reco__TrackParamVertexClusterInit as TrackParamVertexClusterInit from Configurables import Jug__Reco__TrackFindingAlgorithm as TrackFindingAlgorithm from Configurables import Jug__Reco__ParticlesFromTrackFit as ParticlesFromTrackFit +from Configurables import Jug__Reco__ParticleWithTruthPID as ParticleWithTruthPID from Configurables import Jug__Reco__CalorimeterHitReco as CalHitReco from Configurables import Jug__Reco__CalorimeterHitsMerger as CalHitsMerger @@ -541,10 +542,17 @@ algorithms.append(trk_find_alg) parts_from_fit = ParticlesFromTrackFit("parts_from_fit", inputTrajectories = trk_find_alg.outputTrajectories, - outputParticles = "ReconstructedParticles", + outputParticles = "outputParticles", outputTrackParameters = "outputTrackParameters") algorithms.append(parts_from_fit) +# Event building +parts_with_truth_pid = ParticlesWithTruthPID("parts_with_truth_pid", + inputMCParticles = "mcparticles", + inputTrackParameters = parts_from_fit.outputTrackParameters, + outputParticles = "ReconstructedParticles") +algorithms.append(parts_from_truth_pid) + # DRICH drich_digi = PhotoMultiplierDigi("drich_digi", inputHitCollection="DRICHHits", -- GitLab