IAP GITLAB

Skip to content
Snippets Groups Projects
Commit dd8f0d5d authored by Felix Riehn's avatar Felix Riehn
Browse files

added access function for squared masses to sibyll interface

parent e60e156d
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <random> #include <random>
int get_nwounded() { return s_chist_.nwd; } int get_nwounded() { return s_chist_.nwd; }
double get_sibyll_mass2( int& id ) { return s_mass1_.am2[ id ]; }
double s_rndm_(int&) { double s_rndm_(int&) {
static corsika::random::RNG& rng = static corsika::random::RNG& rng =
......
...@@ -92,6 +92,7 @@ void sib_sigma_hp_(const int&, const double&, double&, double&, double&, double* ...@@ -92,6 +92,7 @@ void sib_sigma_hp_(const int&, const double&, double&, double&, double&, double*
double s_rndm_(int&); double s_rndm_(int&);
int get_nwounded(); int get_nwounded();
double get_sibyll_mass2(int&);
// phojet random generator setup // phojet random generator setup
void pho_rndin_(int&, int&, int&, int&); void pho_rndin_(int&, int&, int&, int&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment