olympus.event_generation.mc_record
Implements MCRecord class.
Classes:
-
MCRecord–Stores MC truth information.
MCRecord
MCRecord(event_type, sources, mc_info)
Bases: object
Stores MC truth information.
| Attributes: |
|
|---|
Source code in olympus/event_generation/mc_record.py
def __init__(self, event_type, sources, mc_info):
"""Initialize MCRecord."""
self.event_type = event_type
self.sources = sources
if not isinstance(mc_info, list):
mc_info = [mc_info]
self.mc_info = mc_info