Project
Loading...
Searching...
No Matches
o2::base::VMCSeederService Class Reference

#include <VMCSeederService.h>

Public Types

typedef std::function< void(TRandom *)> SeederFcn
 

Public Member Functions

void setSeed () const
 
unsigned long long getSeedCount () const
 how often a seed was propagated; lets callers detect a silent no-op
 

Static Public Member Functions

static VMCSeederService const & instance ()
 
static void setGeant4Seeder (SeederFcn fcn)
 installs the function that seeds Geant4 from a generator; called by the Geant4 configuration, which links Geant4
 

Detailed Description

Definition at line 28 of file VMCSeederService.h.

Member Typedef Documentation

◆ SeederFcn

typedef std::function<void(TRandom*)> o2::base::VMCSeederService::SeederFcn

Definition at line 43 of file VMCSeederService.h.

Member Function Documentation

◆ getSeedCount()

unsigned long long o2::base::VMCSeederService::getSeedCount ( ) const
inline

how often a seed was propagated; lets callers detect a silent no-op

Definition at line 41 of file VMCSeederService.h.

◆ instance()

static VMCSeederService const & o2::base::VMCSeederService::instance ( )
inlinestatic

Definition at line 32 of file VMCSeederService.h.

◆ setGeant4Seeder()

static void o2::base::VMCSeederService::setGeant4Seeder ( SeederFcn  fcn)
inlinestatic

installs the function that seeds Geant4 from a generator; called by the Geant4 configuration, which links Geant4

Definition at line 46 of file VMCSeederService.h.

◆ setSeed()

void VMCSeederService::setSeed ( ) const

Definition at line 49 of file VMCSeederService.cxx.


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