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

Exporting EAS profile information for direct read-in by any UV sensitive experiment #33

Open
emayotte opened this issue Mar 31, 2022 · 2 comments · May be fixed by #90
Open

Exporting EAS profile information for direct read-in by any UV sensitive experiment #33

emayotte opened this issue Mar 31, 2022 · 2 comments · May be fixed by #90
Assignees
Labels
enhancement New feature or request TIM2023

Comments

@emayotte
Copy link

Basic Idea: Most if not all EAS experiments have the capability to read-in CONEX like shower profile files and then model florescence generation, propagation and detector responses. If NuSpaceSim has the option to export dE/dX as a function of slant depth along with zenith/azimuth for each simulated EAS, then NuSpaceSim can be immediately used in analyses preformed by established experiments.

This should be relatively simple as the electromagnetic content of the shower is already calculated in order to model the cherenkov emission. All that would be needed would be to calculate the dE/dX in 5-10g/cm2 steps and place it in a root structure that mirrors that of Conex with 0 populating un-needed / un-used data fields.

@emayotte emayotte added the enhancement New feature or request label Mar 31, 2022
@emayotte emayotte changed the title Exporting EAS profile information for direct readin by any UV sensitive experiment Exporting EAS profile information for direct read-in by any UV sensitive experiment Mar 31, 2022
@emayotte
Copy link
Author

Here are all reads of Conex parameters by Auger Offline.
Likely, at least for offline, all other parameters can be populated with 0s.

const int particleID = simShower.GetPrimaryParticle();

const double Xfirst = simShower.GetXFirst();

Xmax = simShower.GetGHParameters().GetXMax();

CoordinateSystemPtr showerCS = simShower.GetShowerCoordinateSystem();

const double zenith = (-simShower.GetDirection()).GetTheta(localCS);

const double cosTheta = (-simShower.GetDirection()).GetCosTheta(localCS);

const TabulatedFunction& energyDep = simShower.GetdEdX();

const TabulatedFunction& chargeProfile = simShower.GetLongitudinalProfile();

cherenkovProfile = &simShower.GetLongitudinalProfile(ShowerSimData::eCherenkov);

int iFirstValidBin_Ne = 0;
int iLastValidBin_Ne = chargeProfile.GetNPoints() - 1;

const double eCut = simShower.GetEnergyCutoff(evt::ShowerSimData::eElectron);

@emayotte
Copy link
Author

Can not upload a conex example file, but here is a list of the leafs in the conex shower and header root trees. Sonja and will write a simple uproot implementation of a conex root tree writer.

ConexTrees

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TIM2023
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants