ROOT-GUI viewer for the Wire-Cell ProtoDUNE-VD tracking output (STM and neutrino-PR trajectory fits with dQ/dx, projected charge vs prediction, dead channels). Forked by duplication from Magnify-tracking-SBND (commit 12de6c9) for doc pdvd/25 (stopping muons + Michel electrons).
./magnify.sh <track_com_file.root> [sign]
Input: the track_com_*.root produced by
wire-cell-sbnd-magnify-tracking-convert -b<work>/tracking-stm.root -tT_rec_charge -o<out> -f2
(the converter carries no geometry; the PDVD writers are
PdvdMagnifyTrackingVisitor / PdvdPrMagnifyTrackingVisitor in
wire-cell-toolkit root/).
PDVD deltas vs the SBND viewer (all in event/Data.cc and
viewer/ControlWindow.cc):
- channel axis = per-plane RANK of the physical channel id over the whole detector, concatenated per plane: U [0,3808), V [3808,7616), W [7616,12288) (8 two-sided CRPs, protodunevd-wires-larsoft-v6);
- time axis = 4-tick slices of the 10000-tick production window (2500 slices);
- projection polylines break at the cathode (x sign change) AND at any >40 channel jump between consecutive fitted points (CRP / face boundaries).
Headless check (no X): see pdvd/docs/25_pdvd-stopping-muon-michel-chain.md
sec 9.1 (xvfb-run ... root -l -q loadClasses.C drive.C).