LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "EngineCreator.h"
Public Member Functions | |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label) |
seed_t | get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1) |
Private Types | |
using | RNGservice = RandomNumberGenerator |
using | label_t = RNGservice::label_t |
using | seed_t = RNGservice::seed_t |
using | base_engine_t = RNGservice::base_engine_t |
Static Private Member Functions | |
static art::ServiceHandle< art::RandomNumberGenerator > & | rng () |
Definition at line 35 of file EngineCreator.h.
|
private |
Definition at line 39 of file EngineCreator.h.
|
private |
Definition at line 37 of file EngineCreator.h.
|
private |
Definition at line 36 of file EngineCreator.h.
|
private |
Definition at line 38 of file EngineCreator.h.
EngineCreator::base_engine_t & EngineCreator::createEngine | ( | seed_t | seed | ) |
Definition at line 26 of file EngineCreator.cc.
References rng().
Referenced by evgen::CosmicsGen::CosmicsGen(), rndm::NuRandomService::createEngine(), cluster::fuzzyCluster::fuzzyCluster(), cluster::HoughLineFinder::HoughLineFinder(), art::MixFilter< T >::initEngine_(), larg4::LArG4::LArG4(), evgen::LightSource::LightSource(), evgen::NeutronOsc::NeutronOsc(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), detsim::SimDriftElectrons::SimDriftElectrons(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), ToyOneShowerGen::ToyOneShowerGen(), and trkf::Track3DKalman::Track3DKalman().
EngineCreator::base_engine_t & EngineCreator::createEngine | ( | seed_t | seed, |
std::string const & | kind_of_engine_to_make | ||
) |
Definition at line 32 of file EngineCreator.cc.
References rng().
EngineCreator::base_engine_t & EngineCreator::createEngine | ( | seed_t | seed, |
std::string const & | kind_of_engine_to_make, | ||
label_t const & | engine_label | ||
) |
Definition at line 40 of file EngineCreator.cc.
References rng().
EngineCreator::seed_t EngineCreator::get_seed_value | ( | fhicl::ParameterSet const & | pset, |
char const | key[] = "seed" , |
||
seed_t const | implicit_seed = -1 |
||
) |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
staticprivate |
Definition at line 58 of file EngineCreator.cc.
Referenced by detsim::SimDriftElectrons::beginJob(), larg4::LArG4::beginJob(), createEngine(), evgen::CORSIKAGen::GetSample(), larg4::LArG4::LArG4(), evgen::CORSIKAGen::openDBs(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), opdet::OpMCDigi::produce(), art::RandomNumberSaver::produce(), cluster::fuzzyCluster::produce(), evgen::NucleonDecay::produce(), cluster::HoughLineFinder::produce(), evgen::NeutronOsc::produce(), trkf::Track3DKalman::produce(), phot::PhotonLibraryPropagation::produce(), evgen::CosmicsGen::reconfigure(), evgen::LightSource::Sample(), evgen::SingleGen::Sample(), evgen::SingleGen::SampleMany(), evgen::SingleGen::SampleOne(), evgen::NeutronOsc::SelectAnnihilationMode(), evgen::SingleGen::SelectFromHist(), and ToyOneShowerGen::ToyOneShowerGen().