next-exp / nexus

Geant4 simulation framework of the NEXT Collaboration
5 stars 55 forks source link

CORSIKA generator #204

Open soleti opened 1 year ago

soleti commented 1 year ago

This PR adds a new generator which takes as input binary files generated by the CORSIKA cosmic-ray generator. An example of CORSIKA binary file useful for testing can be found here. The code is adapted from https://github.com/soleti/corsika2RooTracker.

paolafer commented 1 year ago

Why don't you add a test using this generator? I think that would be useful.

soleti commented 1 year ago

Why don't you add a test using this generator? I think that would be useful.

I add a macro with a generate the cosmic rays taken from the CORSIKA binary file above a generic xenon sphere.