Skip to content
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

Group i.o. operations for reading dl2 event data in e.g. simtools/io_operations/dl2mc_reader #1227

Open
tobiaskleiner opened this issue Nov 8, 2024 · 1 comment
Assignees

Comments

@tobiaskleiner
Copy link
Collaborator

tobiaskleiner commented Nov 8, 2024

Quoting comment by @GernotMaier that suggested to open this issue:
This is a very generic functionality which we will need more in futures: load a list of events from a DL2 file, etc. Should we consider moving this into a generic module? e.g. simtools/io_operations/dl2mc_reader or something like this?

I suggest for now to open an issue on this and don't change the code of this PR.

Originally posted by @GernotMaier in #1098 (comment)

@tobiaskleiner tobiaskleiner changed the title GRoup i.o. operations for reading dl2 event data in e.g. simtools/io_operations/dl2mc_reader Group i.o. operations for reading dl2 event data in e.g. simtools/io_operations/dl2mc_reader Nov 11, 2024
@tobiaskleiner tobiaskleiner self-assigned this Nov 12, 2024
@tobiaskleiner
Copy link
Collaborator Author

  • Add NSB values to the dl2 fits files.

Current parameters in hdu (some of these could be used for further interpolation):

[
"runnumber",
"shower_prog_id",
"shower_prog_vers",
"detector_prog_id",
"detector_prog_vers",
"converter_prog_vers",
"shower_date",
"detector_date",
"primary_id",
"obsheight",
"num_showers",
"num_use",
"core_pos_mode",
"core_range",
"az_range",
"alt_range",
"diffuse",
"viewcone",
"E_range",
"spectral_index",
"B_total",
"B_inclination",
"B_declination",
"injection_height",
"fixed_int_depth",
"atmosphere",
"corsika_iact_options",
"corsika_low_E_model",
"corsika_high_E_model",
"corsika_bunchsize",
"corsika_wlen_min",
"corsika_wlen_max",
"corsika_low_E_detail",
"corsika_high_E_detail",
"corsika_low_high_E",
"detector_Simulator",
"combined_runHeader",
"fFADC_hilo_multipler"
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant