#include <EngineCreator.h>
Definition at line 31 of file EngineCreator.h.
Definition at line 20 of file EngineCreator.cc.
base_engine_t & createEngine(seed_t seed)
static ServiceHandle< RandomNumberGenerator > & rng()
Definition at line 26 of file EngineCreator.cc.
std::string const moduleLabel_
static ServiceHandle< RandomNumberGenerator > & rng()
Definition at line 34 of file EngineCreator.cc.
39 return rng()->createEngine(
std::string const moduleLabel_
static ServiceHandle< RandomNumberGenerator > & rng()
void EngineCreator::requireValid |
( |
| ) |
|
|
private |
Definition at line 51 of file EngineCreator.cc.
58 "An error occurred while creating a random-number engine.\n\n"}
59 <<
"No module label or schedule ID available to create engine.\n" 60 <<
"Please ensure that your module calls the correct base-class\n" 61 "constructor. The module class and module label can be determined\n" 62 "by looking for the '<module class>:<module label>@Construction' " 64 "in the message context a few lines above. For example, if your\n" 65 "module is a filter with class name 'MyFilter' please make the\n" 66 "following change to your constructor:\n\n" 67 <<
" Wrong: MyFilter(ParameterSet const& ps) :\n" 68 <<
" dataMembers_, ...\n" 70 <<
" Right: MyFilter(ParameterSet const& ps) :\n" 72 <<
" dataMembers_, ...\n" 74 <<
"If your module is a producer, 'art::EDFilter{ps}' above should be\n" 75 "replaced with 'art::EDProducer{ps}.\n";
constexpr bool isValid() const noexcept
std::string const moduleLabel_
std::string bold_fontify(std::string const &s)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition at line 44 of file EngineCreator.cc.
static ServiceHandle< RandomNumberGenerator > & rng()
std::string const art::detail::EngineCreator::moduleLabel_ {} |
|
private |
ScheduleID const art::detail::EngineCreator::sid_ {} |
|
private |
The documentation for this class was generated from the following files: