murnanedaniel commited on
Commit
f7fa17a
·
verified ·
1 Parent(s): 4f46ee5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +241 -50
README.md CHANGED
@@ -1,52 +1,243 @@
1
  ---
2
- dataset_info:
3
- config_name: ttbar_pu0_particles
4
- features:
5
- - name: event_id
6
- dtype: uint32
7
- - name: particle_id
8
- sequence: uint64
9
- - name: pdg_id
10
- sequence: int64
11
- - name: mass
12
- sequence: float32
13
- - name: energy
14
- sequence: float32
15
- - name: charge
16
- sequence: float32
17
- - name: vx
18
- sequence: float32
19
- - name: vy
20
- sequence: float32
21
- - name: vz
22
- sequence: float32
23
- - name: time
24
- sequence: float32
25
- - name: px
26
- sequence: float32
27
- - name: py
28
- sequence: float32
29
- - name: pz
30
- sequence: float32
31
- - name: perigee_d0
32
- sequence: float32
33
- - name: perigee_z0
34
- sequence: float32
35
- - name: vertex_primary
36
- sequence: uint16
37
- - name: parent_id
38
- sequence: int64
39
- - name: primary
40
- sequence: bool
41
- splits:
42
- - name: train
43
- num_bytes: 39046863524
44
- num_examples: 100000
45
- download_size: 22589984479
46
- dataset_size: 39046863524
47
- configs:
48
- - config_name: ttbar_pu0_particles
49
- data_files:
50
- - split: train
51
- path: ttbar_pu0_particles/train-*
52
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - other
5
+ tags:
6
+ - physics
7
+ - high-energy-physics
8
+ - particle-physics
9
+ - collider-physics
10
+ - tracking
11
+ - calorimetry
12
+ - machine-learning
13
+ - simulation
14
+ - particle-tracking
15
+ - jet-tagging
16
+ pretty_name: ColliderML Dataset Release 1
17
+ size_categories:
18
+ - 100K<n<1M
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ---
20
+
21
+ # ColliderML: Dataset Release 1
22
+
23
+ ## Dataset Description
24
+
25
+ This dataset contains simulated high-energy physics collision events generated using the **Open Data Detector (ODD)** geometry within the **Key4hep** and **ACTS (A Common Tracking Software)** frameworks, representing a generic collider detector similar to those at the HL-LHC.
26
+
27
+ ### Dataset Summary
28
+
29
+ - **Collision Energy**: 14 TeV (proton-proton)
30
+ - **Detector**: Open Data Detector (ODD)
31
+ - **Simulation**: DD4hep + Geant4 + ACTS
32
+ - **Format**: Apache Parquet with list columns for variable-length data
33
+ - **License**: CC-BY-4.0
34
+
35
+ ### Available Configurations
36
+
37
+ The dataset is organized into multiple configurations, each representing a combination of:
38
+ - **Physics process** (e.g., ttbar, ggf, dihiggs)
39
+ - **Pileup condition** (pu0 = no pileup, pu200 = HL-LHC pileup)
40
+ - **Object type** (particles, tracker_hits, calo_hits, tracks)
41
+
42
+ ### Supported Tasks
43
+
44
+ This dataset is designed for machine learning tasks in high-energy physics, including:
45
+
46
+ - **Particle tracking**: Reconstruct charged particle trajectories from detector hits
47
+ - **Track-to-particle matching**: Associate reconstructed tracks with truth particles
48
+ - **Jet tagging**: Identify jets originating from top quarks, b-quarks, or light quarks
49
+ - **Energy reconstruction**: Predict particle energies from calorimeter deposits
50
+ - **Physics analysis**: Event classification (signal vs. background discrimination)
51
+ - **Representation learning**: Study hierarchical information at different detector levels
52
+
53
+ ## Quick Start
54
+
55
+ ### Installation
56
+
57
+ ```bash
58
+ pip install datasets pyarrow
59
+ ```
60
+
61
+ ### Load a Configuration
62
+
63
+ ```python
64
+ from datasets import load_dataset
65
+
66
+ # Load truth particles from ttbar (no pileup)
67
+ particles = load_dataset(
68
+ "OpenDataDetector/ColliderML-Release-1",
69
+ "ttbar_pu0_particles",
70
+ split="train"
71
+ )
72
+
73
+ print(f"Loaded {len(particles)} events")
74
+ print(f"Columns: {particles.column_names}")
75
+ ```
76
+
77
+ ### Load First 100 Events with Specific Columns
78
+
79
+ ```python
80
+ from datasets import load_dataset
81
+ import numpy as np
82
+
83
+ # Load only specific columns
84
+ particles = load_dataset(
85
+ "OpenDataDetector/ColliderML-Release-1",
86
+ "ttbar_pu0_particles",
87
+ split="train[:100]",
88
+ columns=["event_id", "px", "py", "pz", "energy", "pdg_id"]
89
+ )
90
+
91
+ # Process events
92
+ for event in particles:
93
+ px = np.array(event['px'])
94
+ py = np.array(event['py'])
95
+ pt = np.sqrt(px**2 + py**2)
96
+ print(f"Event {event['event_id']}: {len(px)} particles, mean pT = {pt.mean():.2f} GeV")
97
+ ```
98
+
99
+ ## Dataset Structure
100
+
101
+ ### Data Instances
102
+
103
+ Each row represents a single collision event. Variable-length quantities (particles, hits, tracks) are stored as Parquet list columns.
104
+
105
+ Example event structure:
106
+ ```python
107
+ {
108
+ 'event_id': 42,
109
+ 'particle_id': [0, 1, 2, 3, ...],
110
+ 'pdg_id': [11, -11, 211, ...],
111
+ 'px': [1.2, -0.5, 3.4, ...],
112
+ 'py': [0.8, 1.1, -0.3, ...],
113
+ 'pz': [5.2, -2.1, 10.5, ...],
114
+ 'energy': [5.5, 2.3, 11.2, ...],
115
+ # ... additional fields
116
+ }
117
+ ```
118
+
119
+ ### Data Fields by Object Type
120
+
121
+ #### 1. `particles` (Truth-level)
122
+
123
+ Truth information about generated particles before detector simulation.
124
+
125
+ | Field | Type | Description |
126
+ |-------|------|-------------|
127
+ | `event_id` | uint32 | Unique event identifier |
128
+ | `particle_id` | list\<uint64\> | Unique particle ID within event |
129
+ | `pdg_id` | list\<int64\> | PDG particle code (11=electron, 13=muon, 211=pion, etc.) |
130
+ | `mass` | list\<float32\> | Particle rest mass (GeV/c²) |
131
+ | `energy` | list\<float32\> | Particle total energy (GeV) |
132
+ | `charge` | list\<float32\> | Electric charge (units of e) |
133
+ | `px`, `py`, `pz` | list\<float32\> | Momentum components (GeV/c) |
134
+ | `vx`, `vy`, `vz` | list\<float32\> | Vertex position (mm) |
135
+ | `time` | list\<float32\> | Production time (ns) |
136
+ | `perigee_d0` | list\<float32\> | Perigee transverse impact parameter (mm) |
137
+ | `perigee_z0` | list\<float32\> | Perigee longitudinal impact parameter (mm) |
138
+ | `num_tracker_hits` | list\<uint16\> | Number of hits in tracker |
139
+ | `num_calo_hits` | list\<uint16\> | Number of hits in calorimeter |
140
+ | `primary` | list\<bool\> | Whether particle is primary |
141
+ | `vertex_primary` | list\<uint16\> | Primary vertex index (1=hard scatter) |
142
+ | `parent_id` | list\<int64\> | ID of parent particle (-1 if none) |
143
+
144
+ #### 2. `tracker_hits` (Detector-level)
145
+
146
+ Digitized spatial measurements from the tracking detector (silicon sensors).
147
+
148
+ | Field | Type | Description |
149
+ |-------|------|-------------|
150
+ | `event_id` | uint32 | Unique event identifier |
151
+ | `x`, `y`, `z` | list\<float32\> | Measured hit position (mm) |
152
+ | `true_x`, `true_y`, `true_z` | list\<float32\> | True hit position before digitization (mm) |
153
+ | `time` | list\<float32\> | Hit time (ns) |
154
+ | `particle_id` | list\<uint64\> | Truth particle that created this hit |
155
+ | `volume_id` | list\<uint8\> | Detector volume identifier |
156
+ | `layer_id` | list\<uint16\> | Detector layer number |
157
+ | `surface_id` | list\<uint32\> | Sensor surface identifier |
158
+ | `detector` | list\<uint8\> | Detector subsystem code |
159
+
160
+ #### 3. `calo_hits` (Calorimeter-level)
161
+
162
+ Energy deposits in the calorimeter system (electromagnetic + hadronic).
163
+
164
+ | Field | Type | Description |
165
+ |-------|------|-------------|
166
+ | `event_id` | uint32 | Unique event identifier |
167
+ | `detector` | list\<uint8\> | Calorimeter subsystem code |
168
+ | `total_energy` | list\<float32\> | Total energy deposited in cell (GeV) |
169
+ | `x`, `y`, `z` | list\<float32\> | Cell center position (mm) |
170
+ | `contrib_particle_ids` | list\<list\<uint64\>\> | IDs of particles contributing to this cell |
171
+ | `contrib_energies` | list\<list\<float32\>\> | Energy contribution from each particle (GeV) |
172
+ | `contrib_times` | list\<list\<float32\>\> | Time of each contribution (ns) |
173
+
174
+ #### 4. `tracks` (Reconstruction-level)
175
+
176
+ Reconstructed particle tracks from ACTS pattern recognition and track fitting.
177
+
178
+ | Field | Type | Description |
179
+ |-------|------|-------------|
180
+ | `event_id` | uint32 | Unique event identifier |
181
+ | `track_id` | list\<uint16\> | Unique track identifier within event |
182
+ | `majority_particle_id` | list\<uint64\> | Truth particle with most hits on this track |
183
+ | `d0` | list\<float32\> | Transverse impact parameter (mm) |
184
+ | `z0` | list\<float32\> | Longitudinal impact parameter (mm) |
185
+ | `phi` | list\<float32\> | Azimuthal angle (radians) |
186
+ | `theta` | list\<float32\> | Polar angle (radians) |
187
+ | `qop` | list\<float32\> | Charge divided by momentum (e/GeV) |
188
+ | `hit_ids` | list\<list\<uint32\>\> | List of tracker hit IDs on this track |
189
+
190
+ **Derived quantities for tracks:**
191
+ - Transverse momentum: `pt = abs(1/qop) * sin(theta)`
192
+ - Pseudorapidity: `eta = -ln(tan(theta/2))`
193
+ - Total momentum: `p = abs(1/qop)`
194
+
195
+ ## Dataset Creation
196
+
197
+ ### Simulation Chain
198
+
199
+ 1. **Event Generation**: MadGraph5 + Pythia8 for hard scatter and parton shower
200
+ 2. **Detector Simulation**: Geant4 via DD4hep with the Open Data Detector geometry
201
+ 3. **Digitization**: Realistic detector response simulation
202
+ 4. **Reconstruction**: ACTS track finding and fitting algorithms
203
+ 5. **Format Conversion**: EDM4HEP → Parquet using the ColliderML pipeline
204
+
205
+ ### Software Stack
206
+
207
+ - **ACTS**: A Common Tracking Software - https://acts.readthedocs.io/
208
+ - **Open Data Detector**: https://github.com/acts-project/odd
209
+ - **Key4hep**: https://key4hep.github.io/
210
+ - **EDM4HEP**: https://edm4hep.web.cern.ch/
211
+
212
+ ## Citation
213
+
214
+ If you use this dataset in your research, please cite:
215
+
216
+ ```bibtex
217
+ @dataset{colliderml_release1_2025,
218
+ title={{ColliderML Dataset Release 1}},
219
+ author={{ColliderML Collaboration}},
220
+ year={2025},
221
+ publisher={Hugging Face},
222
+ howpublished={\url{https://huggingface.co/datasets/OpenDataDetector/ColliderML-Release-1}},
223
+ note={Simulation performed using ACTS and the Open Data Detector}
224
+ }
225
+ ```
226
+
227
+ ## Support
228
+
229
+ For questions, issues, or feature requests:
230
+ - **Email**: daniel.thomas.murnane@cern.ch
231
+ - **GitHub**: https://github.com/OpenDataDetector/ColliderML
232
+
233
+ ## Acknowledgments
234
+
235
+ This work was supported by:
236
+ - NERSC computing resources (National Energy Research Scientific Computing Center)
237
+ - U.S. Department of Energy, Office of Science
238
+ - Danish Data Science Academy (DDSA)
239
+
240
+ ---
241
+
242
+ **Release Version**: 1.0
243
+ **Last Updated**: November 2025