ANASEN_analysis/CLAUDE.md
Vignesh Sitaraman d784650f15 modified: Armory/ClassPW.h
new file:   CLAUDE.md
	modified:   TrackRecon.C
	modified:   run_tr.sh
2026-06-25 08:23:09 -04:00

23 lines
1020 B
Markdown

# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Git policy
- **Never push.** Only commit when explicitly asked. Remember only the last commit made.
## Build
ROOT macros (`.C`) compile via ACLiC inside ROOT — not linked into binaries. Standalone binaries (`EventBuilder`, `Mapper`) are built with `make` in `Armory/`.
```bash
cd Armory && make # build EventBuilder, Mapper
root -q -l -b -e '.L TrackRecon.C++O' # pre-compile before parallel runs
```
Batch runs: `./run_17F.sh`, `./run_27Al.sh`, `./run_tr.sh`. No test suite — validation is visual via ROOT `TBrowser`.
## Runtime configuration
`TrackRecon.C::Begin()` reads all config from environment variables (`DATASET`, `reactiondata`, `source_vertex`, `Gain`, `CO2percent`, `A1C1_Z_SCALE`, `A1C1_Z_OFF_QQQ`, `A1C1_Z_OFF_SX3`, etc.). The batch scripts `export` these before launching ROOT. See `README.md` for the full pipeline and file reference.