Geant4_10
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
G4TemplateRNGHelper< T > Class Template Reference

#include <G4RNGHelper.hh>

Public Types

typedef std::vector< T > SeedsQueue
 
typedef SeedsQueue::size_type SeedsQueueSize_type
 

Public Member Functions

virtual ~G4TemplateRNGHelper ()
 
virtual const T GetSeed (const G4int &sdId)
 
void AddOneSeed (const T &seed)
 
void Fill (double *dbl, int nev, int nev_tot, int nrpe)
 
void Refill (double *dbl, int nev)
 
const SeedsQueueSize_type GetNumberSeeds () const
 
virtual void Clear ()
 

Static Public Member Functions

static G4TemplateRNGHelperGetInstance ()
 

Protected Attributes

SeedsQueue seeds
 
int offset
 
int nev_filled
 
int nev_total
 
int nRandParEvent
 

Detailed Description

template<class T>
class G4TemplateRNGHelper< T >

Definition at line 47 of file G4RNGHelper.hh.

Member Typedef Documentation

template<class T>
typedef std::vector<T> G4TemplateRNGHelper< T >::SeedsQueue

Definition at line 59 of file G4RNGHelper.hh.

template<class T>
typedef SeedsQueue::size_type G4TemplateRNGHelper< T >::SeedsQueueSize_type

Definition at line 60 of file G4RNGHelper.hh.

Constructor & Destructor Documentation

template<class T>
virtual G4TemplateRNGHelper< T >::~G4TemplateRNGHelper ( )
inlinevirtual

Definition at line 71 of file G4RNGHelper.hh.

Here is the call graph for this function:

Member Function Documentation

template<class T>
void G4TemplateRNGHelper< T >::AddOneSeed ( const T &  seed)
inline

Definition at line 92 of file G4RNGHelper.hh.

template<class T>
virtual void G4TemplateRNGHelper< T >::Clear ( )
inlinevirtual

Definition at line 120 of file G4RNGHelper.hh.

Here is the caller graph for this function:

template<class T>
void G4TemplateRNGHelper< T >::Fill ( double *  dbl,
int  nev,
int  nev_tot,
int  nrpe 
)
inline

Definition at line 95 of file G4RNGHelper.hh.

Here is the caller graph for this function:

template<class T>
static G4TemplateRNGHelper* G4TemplateRNGHelper< T >::GetInstance ( void  )
inlinestatic

Definition at line 52 of file G4RNGHelper.hh.

Here is the caller graph for this function:

template<class T>
const SeedsQueueSize_type G4TemplateRNGHelper< T >::GetNumberSeeds ( ) const
inline

Definition at line 117 of file G4RNGHelper.hh.

template<class T>
virtual const T G4TemplateRNGHelper< T >::GetSeed ( const G4int sdId)
inlinevirtual

Definition at line 77 of file G4RNGHelper.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
void G4TemplateRNGHelper< T >::Refill ( double *  dbl,
int  nev 
)
inline

Definition at line 106 of file G4RNGHelper.hh.

Here is the caller graph for this function:

Member Data Documentation

template<class T>
int G4TemplateRNGHelper< T >::nev_filled
protected

Definition at line 126 of file G4RNGHelper.hh.

template<class T>
int G4TemplateRNGHelper< T >::nev_total
protected

Definition at line 127 of file G4RNGHelper.hh.

template<class T>
int G4TemplateRNGHelper< T >::nRandParEvent
protected

Definition at line 128 of file G4RNGHelper.hh.

template<class T>
int G4TemplateRNGHelper< T >::offset
protected

Definition at line 125 of file G4RNGHelper.hh.

template<class T>
SeedsQueue G4TemplateRNGHelper< T >::seeds
protected

Definition at line 122 of file G4RNGHelper.hh.


The documentation for this class was generated from the following file: