Newer
Older
"""
Functions that extract info from a blob for the mc_info / y datafield
These are made for the specific given runs. They might not be
applicable to other data, and could cause errors or produce unexpected
results when used on data other then the specified.
Get info present in real data.
Designed for the 2017 one line runs.
'run_id': event_info.run_id,
'trigger_mask': event_info.trigger_mask,
}
return track
For simulated pure noise events, which have particle_type 0.
track = {
'event_id': event_info.event_id[0],
'run_id': event_info.run_id,
'particle_type': 0
}
return track