Skip to content
Snippets Groups Projects
Verified Commit fb40a11a authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

More examples

parent 2adf5d25
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,16 @@ events = f.offline[6:9]
```
Each event consists of a vector of hits, MC hits, tracks and MC tracks. Depending
on the file, they may be empty.
on the file, they may be empty. They are accessible via the fields `.hit`, `.mc_hits`, `.trks` and `.mc_trks`.
Let's grab an event:
```@example 1
evt = f.offline[3]
```
and have a look at its contents:
```@example 1
evt.hits
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment