Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -53,7 +53,9 @@
#include "G4INCLThreeVector.hh"
#include "G4INCLGlobals.hh"
#include "G4INCLConfig.hh"
#include "Randomize.hh"
#ifdef INCLXX_IN_GEANT4_MODE
#include "Randomize.hh"
#endif
namespace G4INCL {
@@ -166,7 +168,7 @@ namespace G4INCL {
class Adapter {
public:
using result_type = unsigned long;
using result_type = unsigned long long;
static constexpr result_type min() {
return std::numeric_limits<Adapter::result_type>::min();
@@ -177,11 +179,13 @@ namespace G4INCL {
}
result_type operator()() const {
#ifdef INCLXX_IN_GEANT4_MODE
return G4RandFlat::shootInt(INT_MAX);
#else
return shootInteger(max());
#endif
}
};