Skip to content

e4nu/2N-Analyzer

Repository files navigation

2N-Analyzer-e4nu

Author: Alon Sportes
Project: 2N-Analyzer-e4nu

Environment and settings

The runtime setup is now driven mainly by YAML files under config/, plus a small set of command-line switches parsed by include/io/reco_cli.h and implemented in source/io/reco_cli.cpp.

Scripts

  • Environment script:
  • Code updater script:
  • Update only script:
  • Run the code script:
    • Location: run.csh.
    • Main entry point for the workflow. It sources update_only.sh, then delegates configure/build/run work to scripts/build_and_run.csh.
    • Script-level flags:
      • --git-pull <true|false>
      • --build <true|false>
      • --run <true|false>
    • Any other arguments are forwarded to the C++ executable.
    • Current caveat: although run.csh parses --git-pull, it still sources update_only.sh unconditionally. In the current implementation, --git-pull false only disables the extra git pull in scripts/build_and_run.csh; it does not prevent the earlier destructive update step.
  • Build/run helper script:
    • Location: scripts/build_and_run.csh.
    • Runs build/apps/TwoNAnalyzerReco and injects the selected YAML config files through CLI flags such as --sample-chain, --event-selection, --analysis-cuts, and --momentum-resolution-config.
    • Rebuilds only when build-relevant files changed since the last successful build.

Code operation

The current workflow is driven by selecting the right YAML files, not by editing old setup headers.

Settings to check before each run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages