From 7a381c6f27cc0d68cd5ae67a992482267a6046cf Mon Sep 17 00:00:00 2001 From: jzennamo Date: Thu, 15 Oct 2026 04:46:51 -0500 Subject: [PATCH] Pandora cross-TPC stitching: fit the candidate end directions over 133 layers (~40 cm) LArStitchingCosmicRayMerging builds its pointing clusters from a sliding fit with HalfWindowLayers = 30 (~9 cm). For cathode-crossing cosmics nearly parallel to the cathode, the ends of the two halves are fitted over too short a stretch, so their directions are poor and the transverse-displacement cut rejects the pair. Use 133 layers (~40 cm) in both master stitching passes. Measured together with the DENT tune (#933) and the larpandoracontent GetClosestVertices y-z fallback, on the DENT-fixed reco of BNB-light runs 18255/18259: crossings at 1-2 deg to the cathode break 32% of the time instead of 78%, all tracks 3.61% instead of 4.03%, with no good stitches lost. Co-Authored-By: Claude Opus 5.5 --- .../SBNDPandora/scripts/PandoraSettings_Master_SBND.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sbndcode/SBNDPandora/scripts/PandoraSettings_Master_SBND.xml b/sbndcode/SBNDPandora/scripts/PandoraSettings_Master_SBND.xml index aefbce4da..e750504bb 100644 --- a/sbndcode/SBNDPandora/scripts/PandoraSettings_Master_SBND.xml +++ b/sbndcode/SBNDPandora/scripts/PandoraSettings_Master_SBND.xml @@ -25,9 +25,11 @@ PandoraSettings_Cosmic_SBND.xml PandoraSettings_Neutrino_SBND.xml PandoraSettings_Slicing_Standard.xml + - true - false + true133 + false133