38 #ifndef G4RNGHELPER_HH
39 #define G4RNGHELPER_HH
65 if ( seedId < static_cast<G4int>(
seeds.size()) )
71 msg <<
"No seed number "<<seedId<<
"("<<
seeds.size()<<
" available)\n"
72 <<
" Original seed number "<<sdId<<
" filled so far "<<
offset;
84 for(
G4int i=0;i<nrpe*nev;i++)
std::queue< G4long > G4SeedsQueue
static G4TemplateRNGHelper< T > * instance
std::ostringstream G4ExceptionDescription
std::vector< T > SeedsQueue
void AddOneSeed(const T &seed)
virtual const T GetSeed(const G4int &sdId)
G4TemplateRNGHelper< G4long > * instance
void Refill(G4double *dbl, G4int nev)
void Fill(G4double *dbl, G4int nev, G4int nev_tot, G4int nrpe)
const SeedsQueueSize_type GetNumberSeeds() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4TemplateRNGHelper< G4String > G4StringRNGHelper
static G4TemplateRNGHelper< T > * GetInstance()
SeedsQueue::size_type SeedsQueueSize_type
static constexpr double L
virtual ~G4TemplateRNGHelper()
G4TemplateRNGHelper< G4long > G4RNGHelper