CSV Example Event
One real event followed through the eic2ai CSV files: which rows it has, and how the row numbers in one file lead to rows of another. The event is event 0 of a 2026-11 Sullivan-process file, e p → e′ K⁺ Λ at 9 × 100 GeV, simulated and reconstructed with eic_xl 26.11. CSV Schema lists every column.
Rows per file
The first 100 events of that file. Every file has the column evt; the rows of one event share it.
| File | One row is | Rows per event | Columns |
|---|---|---|---|
trk_hits | one tracker hit, with the MC particle that made it | 22 | 36 |
cal_hits | one calorimeter hit, labeled from the simulated cell | 568 | 36 |
calo_clusters | one cluster ↔ MC particle link; the rows of one cluster share (evt, clu_collection, clu_index) | 46 | 43 |
event_index | one processed event | 1 | 4 |
mc_dis | one event, with the generator's DIS kinematics | 1 | 21 |
mc_particles | one simulated particle | 7,804 | 22 |
reco_particles | one reconstructed particle | 2 | 21 |
reco_dis | one event, with reconstructed and true DIS kinematics | 1 | 100 |
reco_ff_lambda | one far-forward Λ reconstructed as n γ γ (none in this sample) | 0 | 109 |
reco_charged_lambda | one far-forward Λ → p π⁻ candidate (a proton candidate paired with a π⁻ candidate) (the sample predates this file) | 0 | 85 |
mcpart_lambda | one generated Λ with its decay products | 1.9 | 115 |
lambda_acceptance | one event, with the Λ → p π⁻ acceptance ledger | 1 | 25 |
acceptance_ppim | one event with a Λ → p π⁻, with per-detector hit flags | 0.7 | 97 |
acceptance_ppim_prot_hits | one hit of the Λ's proton | 20 | 10 |
acceptance_ppim_pimin_hits | one hit of the Λ's π⁻ | 8.4 | 10 |
acceptance_npi0 | one event, with the first Λ and n π⁰ → n γ γ detection flags | 1 | 124 |
combinatorics_ppim | one (proton candidate, pion candidate) pair (none in this sample) | 0 | 48 |
comb_candidates | one proton or π⁻ candidate | 2.3 | 27 |
comb_candidates_events | one event, with the first Λ's truth summary | 1 | 17 |
Event 0 through the files
The Λ decays to n π⁰ at z = 4.75 m. One π⁰ photon reaches the ZDC; the other converts to e⁻ e⁺ at z = 5.80 m and leaves hits in the B0 tracker. The neutron interacts at z = 7.11 m; a B0ECal cell names a proton made there.
mc_particles (#n is prt_index); the lines between them are prt_parent_index. Highlighted boxes: generator particles (prt_gen_status 1), where every walk up the parents ends. Cards on the right: real rows of cal_hits, trk_hits and calo_clusters; the dashed arrow is the row's prt_index. The B0ECal cluster has two rows, one per particle that put energy into it.| Column of a hit row | What it holds | ZDC hit | B0 tracker hit |
|---|---|---|---|
prt_index | the saved particle Geant4 credited with the energy | 6383 γ | 6385 e⁻ |
prt_primary_index | the generator particle it comes from | 4 Λ | 4 Λ |
prt_primary_child_index | the particle one step below that | 5 π⁰ | 5 π⁰ |
prt_gen_status: 4 beam, 1 generator particle (a primary), 2 decayed by the generator, 0 made by Geant4 (a secondary). Event 0 has 8,151 rows in mc_particles: 5 from the generator, 8,146 made by Geant4 (3,436 γ, 3,210 e⁻, 911 e⁺, 309 n, 133 p, …). It has 36 tracker hits, 787 calorimeter cell hits and 32 clusters in 40 cluster rows.
The rows
Event 0, selected columns; highlighted cells are row numbers that point into another file.
mc_particles: the beams, the generator particles, the Λ decay
| evt | prt_index | prt_pdg | prt_gen_status | prt_energy | prt_vtx_pos_z | prt_end_pos_z | prt_n_daughters | prt_parent_index |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 2212 | 4 | 100 | 9.24 | 9.24 | 3 | -1 |
| 0 | 1 | 11 | 4 | 8.999 | 9.24 | 9.24 | 3 | -1 |
| 0 | 2 | 11 | 1 | 16.98 | 9.24 | 201.3 | 9 | 0 |
| 0 | 3 | 321 | 1 | 28.41 | 9.24 | 1198 | 2 | 0 |
| 0 | 4 | 3122 | 1 | 79.96 | 9.24 | 4747 | 2 | 0 |
| 0 | 5 | 111 | 0 | 14.91 | 4747 | 4747 | 2 | 4 |
| 0 | 6 | 2112 | 0 | 65.05 | 4747 | 7110 | 8 | 4 |
| 0 | 6383 | 22 | 0 | 7.281 | 4747 | 3.571e+04 | 0 | 5 |
| 0 | 6384 | 22 | 0 | 7.631 | 4747 | 5800 | 2 | 5 |
cal_hits: the e′ in the barrel, the photon in the ZDC, the proton in the B0ECal
| evt | cal_hit_system_name | cal_hit_energy | sim_energy | n_contrib | prt_index | prt_pdg | prt_gen_status | prt_primary_index | prt_primary_pdg | prt_primary_child_index | prt_primary_child_pdg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | EcalBarrel2 | 2.455 | 0.2227 | 14 | 2 | 11 | 1 | 2 | 11 | -1 | 0 |
| 0 | ZDC_Crystal | 1.142 | 1.142 | 1884 | 6383 | 22 | 0 | 4 | 3122 | 5 | 111 |
| 0 | B0ECal | 0.1352 | 0.1224 | 44 | 8 | 2212 | 0 | 4 | 3122 | 6 | 2112 |
trk_hits: the converted photon's e⁻ and e⁺, the K⁺
| evt | hit_index | trk_hit_system_name | trk_hit_pos_z | prt_index | prt_pdg | prt_gen_status | prt_primary_index | prt_primary_pdg | prt_primary_child_index | prt_primary_child_pdg |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 2 | B0Tracker_Station_1 | 5852 | 6385 | 11 | 0 | 4 | 3122 | 5 | 111 |
| 0 | 0 | B0Tracker_Station_1 | 6598 | 6386 | -11 | 0 | 4 | 3122 | 5 | 111 |
| 0 | 0 | TrackerBarrel_2 | 435 | 3 | 321 | 1 | 3 | 321 | -1 | 0 |
calo_clusters: one B0ECal cluster, two rows
| evt | clu_collection | clu_index | clu_link_index | clu_energy | clu_nhits | clu_assoc_weight | prt_index | prt_pdg | prt_primary_pdg | prt_primary_child_pdg |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | B0ECalClusterAssociations | 0 | 0 | 7.059 | 50 | 0.04879 | 6 | 2112 | 3122 | 2112 |
| 0 | B0ECalClusterAssociations | 0 | 1 | 7.059 | 50 | 0.9512 | 6384 | 22 | 3122 | 111 |
mcpart_lambda: the Λ with its daughters' row numbers
| evt | lam_is_first | lam_decay | lam_index | neut_index | pizero_index | gamone_index | gamtwo_index |
|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 4 | 6 | 5 | 6383 | 6384 |
reco_particles and reco_dis: what was reconstructed
mc_elec_index 2 and mc_lam_index 4 are rows of mc_particles. elec_epz_index, the E − pz electron, is a rec_index of reco_particles; elec_index indexes ReconstructedChargedParticles, which no CSV file holds.
| evt | rec_index | rec_pdg | rec_charge | rec_energy | rec_mom_z | rec_n_clusters | rec_n_tracks |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | -1 | 17.06 | 3.695 | 1 | 1 |
| 0 | 1 | 0 | 1 | 20.83 | 12.65 | 0 | 1 |
| evt | mc_x | mc_q2 | electron_x | electron_q2 | da_x | da_q2 | elec_index | mc_elec_index | mc_lam_index | mc_lam_decay | mc_true_t | mc_lam_exp_t |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0.4339 | 371.7 | 0.4423 | 373.5 | 0.2181 | 301 | 0 | 2 | 4 | 2 | -0.4395 | -0.4166 |
mc_dis: the generator's own variables
| evt | xbj | q2 | y_d | w | tprime |
|---|---|---|---|---|---|
| 0 | 0.4339 | 371.7 | 0.2379 | 485.8 | -0.4736 |
