Skip to content

Update Pandora scripts to use the new outerface for track/shower PID#75

Merged
jback08 merged 3 commits intomainfrom
feature/PandoraOuterface
Mar 23, 2026
Merged

Update Pandora scripts to use the new outerface for track/shower PID#75
jback08 merged 3 commits intomainfrom
feature/PandoraOuterface

Conversation

@jback08
Copy link
Copy Markdown
Member

@jback08 jback08 commented Mar 17, 2026

Updated the run-pandora scripts to use the new outerface for storing track/shower PID info in the Pandora ND CAFs (ND_CAFMaker PR110) as well as using rock-muon cheating for ND-LAr production (to significantly speed up the Pandora reco for full-spill events):

  • setup_pandora.sh uses the latest Pandora package versions, as well as introducing new environment variables to control the running of the Pandora reco & outerface steps (xml settings files & reco options).
  • install_pandora.sh updates the machine learning data download options, which gets the files using the download.sh script from Pandora's LArMachineLearningData package. The files in /global/cfs/cdirs/dune/www/data/pandora/LArMachineLearningData/ will need to be replaced with the new ones.
  • run_pandora.sh and run_pandora.data.sh now run the extra PandoraOuterface step, which uses as input the hierarchy analysis ROOT file from PandoraInterface. The analysis output LArRecoND.root is renamed LArRecoNDHierarchy.root for the PandoraOuterface, which then creates the final Pandora reco output file LArRecoND.root. This means that we don't need to change the LArRecoND.root filename used for the CAF-making scripts.
  • Modified the flow2root scripts to use the updated options isFinal (0 = prompt, 1 = final, 2 = merged) & legacyMode (default = 0)

The ND-LAr production should use the run settings file LArRecoND/settings/PandoraSettings_LArRecoND_ThreeD_PartialCheated.xml to cheat the rock muons but fully reconstruct the neutrino interactions. This xml file is now specified by the ND_PRODUCTION_PANDORA_LAR_RECO_ND_XML environment variable.

The 2x2 production can still use the run settings file LArRecoND/settings/PandoraSettings_LArRecoND_ThreeD.xml, again set by ND_PRODUCTION_PANDORA_LAR_RECO_ND_XML .

Pandora ND-LAr reco requires either prompt or merged flow hits (isFinal = 0 or 2, respectively)

@alexbooth92 alexbooth92 requested a review from jacoblarkin March 20, 2026 16:28
@alexbooth92
Copy link
Copy Markdown
Member

Not a formal review, I haven't tested this, but just to say thanks @jback08 for the work and the level of detail in the description. At a high level the changes and additions look good to me, and I am looking forward to seeing this running.

@jback08 jback08 merged commit 67726eb into main Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants