# HyperonProduction NTuple Specification :::{card} :link: https://github.com/playonverbs/HyperonProduction This table describes the format of output NTuples produced by the LArSoft analyser at . ::: Subtypes listed in the 'Type' column are described in separate tables. However in the ntuple they are unpacked into primitive component types. :::{important} Currently this spec applies to a single-slice analysis. All `std::*` types are implied unless specified. ::: ````{tab-set} ```{tab-item} ana/OutputTree This Tree has branches with leaves that are filled per event. | Variable | Type | Notes | Bounds | Units | | ----------------------------- | ----------------------- | ------------------------- | ---------- | ------ | | run | `unsigned int` | Event run number | n/a | n/a | | subrun | `unsigned int` | Event subrun number | n/a | n/a | | event | `unsigned int` | Event number | n/a | n/a | | **mc**_nu_pdg | `unsigned int` | MC nu PDG code | n/a | n/a | | **mc**_nu_q2 | `double` | MC nu interaction q2 | $[0,...]$ | n/a | | **mc**_ccnc | `string` | MC event CC/NC | CC/NC/None | n/a | | **mc**_mode | `string` | MC event mode | n/a | n/a | | **mc**\_nu_pos_{x,y,z} | `double` | MC nu pos coord | n/a | cm | | **mc**\_nu_lepton_start_{x,y,z}| `double` | MC nu pos coord | n/a | cm | | **mc**\_nu_lepton_end _{x,y,z}| `double` | MC nu pos coord | n/a | cm | | **mc**_lepton_pdg | `int` | MC lepton PDG code | n/a | n/a | | **mc**_lepton_mom | `double` | MC lepton momentum mag | n/a | n/a | | true_nu_slice_ID | `int` | | $[0,...]$ | n/a | | true_nu_slice_completeness | `double` | | $[0,1]$ | n/a | | true_nu_slice_purity | `double` | | $[0,1]$ | n/a | | n_slices | `int` | | $[0,...]$ | n/a | | flash_match_nu_slice_ID | `int` | | $[0,...]$ | n/a | | pandora_nu_slice_ID | `int` | | $[0,...]$ | n/a | | reco_primary_vtx_inFV | `bool` | | | n/a | | reco_primary_vtx_x | `double` | | $[0,...]$ | cm | | reco_primary_vtx_y | `double` | | $[0,...]$ | cm | | reco_primary_vtx_z | `double` | | $[0,...]$ | cm | | **pfp**_purity | `vector` | | $[0,1]$ | n/a | | **pfp**_completeness | `vector` | | $[0,1]$ | n/a | | **pfp**_has_truth | `vector` | | n/a | n/a | | **pfp**_trackID | `vector` | | $[0,...]$ | n/a | | **pfp**_true_energy | `vector` | | n/a | GeV | | **pfp**_true_ke | `vector` | | $[0,...]$ | GeV | | **pfp**_true_{px,py,pz} | `vector` | Backtracked momentum | $[0,...]$ | n/a | | **pfp**_true_length | `vector` | | $[0,...]$ | cm | | **pfp**_true_origin | `vector` | | $[0,5]$ | n/a | | **pfp**_true_pdg | `vector` | Backtracked PDG value | $[0,5]$ | n/a | | **pfp**_trk_shr_score | `vector` | | $[0,1]$ | n/a | | **pfp**_x | `vector` | | $[0,1]$ | cm | | **pfp**_y | `vector` | | $[0,1]$ | cm | | **pfp**_z | `vector` | | $[0,1]$ | cm | | **trk**_llrpid | `vector` | Log-Likelihood ratio PID | $[-1,1]$ | n/a | | **trk**_three_plane_mean_dedx | `vector` | Three-plane mean dE/dx | $[0,...]$ | MeV/cm | | ct_test_window_plane{0,1,2} | `vector>` | Hit time indexed per wire | n/a | n/a | ``` ```{tab-item} ana/MetaTree This Tree has branches with leaves that are filled per sub-run. | Variable | Type | Notes | Bounds | Units | | -------------------- | ------- | --------------------------------------------------- | ------ | ----- | | POT | `float` | Simulated Protons-on-Target for the current sub-run | | POT | | ConnectednessWindowW | `int` | Simulated Protons-on-Target for the current sub-run | | POT | ``` ````