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

Changes to simulation containers #2335

Closed
maxnoe opened this issue May 17, 2023 · 4 comments · Fixed by #2343
Closed

Changes to simulation containers #2335

maxnoe opened this issue May 17, 2023 · 4 comments · Fixed by #2343

Comments

@maxnoe
Copy link
Member

maxnoe commented May 17, 2023

Please describe the use case that requires this feature.

In a discussion with @kbernloehr in the gitlab, it came up that the injection_height in the mcrunheader object, which we store in the SimulationConfigContainer is not used by simtel array and exists only for historical reasons, it is always -1.

The real injection height, is stored for each shower in the MCShower object, but currently we don't store this.

Describe the solution you'd like

Remove injection_height from the SimulationConfigContainer (or at least set it to nan or None in SimtelEventSource) and add injection_height to the SimulatedShowerContainer.

@kbernloehr
Copy link

No, please not again anything with 'height' as that still implies the wrong units.

@kosack
Copy link
Contributor

kosack commented May 22, 2023

good point @kbernloehr : let's at least pick a standard name for atmospheric depth units. What is the best term for a unit compatible with g/cm^2? Is it "depth" (also confusing as can be in distance units), "slant depth", "grammage", just "X", "column density"?

@kbernloehr
Copy link

The CORSIKA User's Guide calls it 'starting grammage' and 'mass overburden' (of the starting altitude). The terms 'slant depth' and 'column density' seem to imply something along the direction of the primary particle. Same for 'X0', given that 'Xmax' is counted along the incoming primaries path. 'Grammage' may be ambiguous as well and the fact that Wikipedia knows it as a term from the paper industry does not help much either. 'Overburden' sounds about right, making it clearer that it counts what is (vertically) above. (For Wikipedia it is mainly a term from the mining industry but it also mentions that 'the overburden of an underground laboratory may be important to shield the facility from cosmic radiation'. Oh well, those underground guys count it in meters of water equivalent but at least it is in the right direction.)

@maxnoe
Copy link
Member Author

maxnoe commented Jun 2, 2023

I'd choose starting_grammage then, it's the section title of this quantity in the CORSIKA user guide and I think the most common word for that in our community.

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