42#ifndef G4TemplateRNGHelper_hh
43#define G4TemplateRNGHelper_hh 1
69 T& seed =
seeds[seedId];
73 msg <<
"No seed number " << seedId <<
"(" <<
seeds.size() <<
" available)\n"
74 <<
" Original seed number " << sdId <<
" filled so far " <<
offset;
86 for(
G4int i = 0; i < nrpe * nev; ++i)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
std::queue< G4long > G4SeedsQueue
virtual ~G4TemplateRNGHelper()
static G4TemplateRNGHelper< T > * GetInstance()
std::vector< T > SeedsQueue
void AddOneSeed(const T &seed)
static G4TemplateRNGHelper< T > * instance
const SeedsQueueSize_type GetNumberSeeds() const
static G4TemplateRNGHelper< T > * GetInstanceIfExist()
typename SeedsQueue::size_type SeedsQueueSize_type
virtual const T GetSeed(const G4int &sdId)
void Fill(G4double *dbl, G4int nev, G4int nev_tot, G4int nrpe)
void Refill(G4double *dbl, G4int nev)