Classes | Namespaces | Macros
NuRandomService.h File Reference

An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job. More...

#include <functional>
#include <string>
#include <utility>
#include <initializer_list>
#include "nutools/RandomUtils/ArtState.h"
#include "nutools/RandomUtils/Providers/SeedMaster.h"
#include "CLHEP/Random/RandomEngine.h"
#include "fhiclcpp/ParameterSet.h"
#include "art/Framework/Core/detail/EngineCreator.h"
#include "art/Framework/Services/Optional/RandomNumberGenerator.h"
#include "art/Framework/Services/Registry/ServiceMacros.h"
#include "art/Persistency/Provenance/ScheduleContext.h"

Go to the source code of this file.

Classes

class  rndm::NuRandomService
 An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job. More...
 
class  rndm::NuRandomService::CLHEPengineSeeder
 Seeder_t functor setting the seed of a CLHEP::HepRandomEngine engine (untested!) More...
 

Namespaces

 art
 
 rndm
 

Macros

#define NUTOOLS_RANDOMUTILS_NuRandomService_USECLHEP   1
 Define to zero to exclude special CLHEP random engine support. More...
 
#define NUTOOLS_RANDOMUTILS_NuRandomService_USEROOT   0
 Define to non-zero to include special ROOT random generator support. More...
 

Detailed Description

An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov), Rob Kutschke (kutsc.nosp@m.hke@.nosp@m.fnal..nosp@m.gov)
Date
2013/03/14 19:54:49
See also
NuRandomService_service.cc

Definition in file NuRandomService.h.

Macro Definition Documentation

#define NUTOOLS_RANDOMUTILS_NuRandomService_USECLHEP   1

Define to zero to exclude special CLHEP random engine support.

Definition at line 16 of file NuRandomService.h.

#define NUTOOLS_RANDOMUTILS_NuRandomService_USEROOT   0

Define to non-zero to include special ROOT random generator support.

Definition at line 22 of file NuRandomService.h.