-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make is_simulated
a property of the event source
#1286
Comments
I agree. |
I have nothing against it. But we only really have one simulation source, so its quite clear already. Did you encounter a particular need for this information, other than for "metadata" reasons? |
I don't really want to see |
But what follows that |
Yes, e.g. writing the mc container to the DL1 file. |
Okay, that sounds valid (assuming any simulation event source is guaranteed to have implemented that container) |
Sounds good to me. You might also want some other meta info like what data level the event source provides. print(eventsource.is_simulated).
print(eventsource.data_levels)
Where eventsource.data_level is a list of what data levels are generated:
|
@kosack that's a good idea, will include that |
I think this is important information that should not be hidden in
metadata
and be required to be implemented for all event sources.Opinions?
The text was updated successfully, but these errors were encountered: