LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "LegacyModule.h"
Classes | |
class | ScheduleIDSentry |
Public Types | |
using | base_engine_t = EngineCreator::base_engine_t |
using | seed_t = EngineCreator::seed_t |
using | label_t = EngineCreator::label_t |
Public Member Functions | |
LegacyModule (std::string const &module_label) | |
ScheduleID | scheduleID () const noexcept |
hep::concurrency::SerialTaskQueueChain * | serialTaskQueueChain () const |
std::set< std::string > const & | sharedResources () const |
void | createQueues (SharedResources const &resources) |
template<BranchType , typename... T> | |
void | serialize (T const &...resources) |
template<BranchType , typename... T> | |
void | serializeExternal (T const &...resources) |
Protected Member Functions | |
template<BranchType BT = InEvent, typename... T> | |
void | serialize (T const &...) |
template<BranchType BT = InEvent, typename... T> | |
void | serializeExternal (T const &...) |
template<BranchType BT = InEvent> | |
void | async () |
Private Types | |
using | engine_state_t = RNGsnapshot::engine_state_t |
Private Member Functions | |
void | setScheduleID (ScheduleID const sid) noexcept |
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) |
Private Attributes | |
std::atomic< ScheduleID > | scheduleID_ |
Definition at line 13 of file LegacyModule.h.
Definition at line 19 of file LegacyModule.h.
|
inherited |
Definition at line 39 of file EngineCreator.h.
Definition at line 21 of file LegacyModule.h.
Definition at line 20 of file LegacyModule.h.
|
explicit |
Definition at line 5 of file LegacyModule.cc.
References art::ScheduleID::first(), art::detail::LegacyResource, and art::detail::SharedModule::serialize().
|
inlineprotectedinherited |
Definition at line 38 of file SharedModule.h.
References art::detail::SharedModule::asyncDeclared_, art::detail::SharedModule::implicit_serialize(), art::InEvent, and art::detail::SharedModule::serialize_for().
|
inherited |
Definition at line 20 of file EngineCreator.cc.
References art::detail::EngineCreator::rng().
Referenced by evg::AddGenieEventsToArt::AddGenieEventsToArt(), artg4tk::artg4tkMain::artg4tkMain(), evgen::BaseRadioGen::BaseRadioGen(), evgen::CORSIKAGen::CORSIKAGen(), evgen::CosmicsGen::CosmicsGen(), art::MixHelper::createEngine(), detsim::DriftElectronstoPlane::DriftElectronstoPlane(), art::EDAnalyzer::EDAnalyzer(), art::EDFilter::EDFilter(), art::EDProducer::EDProducer(), artg4tk::EventGenerator::EventGenerator(), evwgh::EventWeight::EventWeight(), evgen::GaisserParam::GaisserParam(), cluster::HoughLineFinder::HoughLineFinder(), art::MixHelper::initEngine_(), larg4::IonAndScint::IonAndScint(), larg4::ISCalcAna::ISCalcAna(), larg4::LArG4::LArG4(), larg4::larg4Main::larg4Main(), evgen::larg4SingleGen::larg4SingleGen(), evgen::LightSource::LightSource(), evgen::MUSUN::MUSUN(), evgen::NDKGen::NDKGen(), evgen::NeutronOsc::NeutronOsc(), nnet::NoiseWaveformDump::NoiseWaveformDump(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PDFastSimANN::PDFastSimANN(), phot::PDFastSimPAR::PDFastSimPAR(), phot::PDFastSimPVS::PDFastSimPVS(), evgen::PhotonGen::PhotonGen(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), evgen::RadioGen::RadioGen(), nnet::RawWaveformClnSigDump::RawWaveformClnSigDump(), nnet::RawWaveformDump::RawWaveformDump(), art::ReplicatedAnalyzer::ReplicatedAnalyzer(), art::ReplicatedFilter::ReplicatedFilter(), art::ReplicatedProducer::ReplicatedProducer(), detsim::SimDriftElectrons::SimDriftElectrons(), detsim::SimWire::SimWire(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), and trkf::Track3DKalman::Track3DKalman().
|
inherited |
Definition at line 26 of file EngineCreator.cc.
References art::detail::EngineCreator::moduleLabel_, art::detail::EngineCreator::requireValid(), art::detail::EngineCreator::rng(), and art::detail::EngineCreator::sid_.
|
inherited |
Definition at line 34 of file EngineCreator.cc.
References art::detail::EngineCreator::moduleLabel_, art::detail::EngineCreator::requireValid(), art::detail::EngineCreator::rng(), and art::detail::EngineCreator::sid_.
|
inherited |
Definition at line 34 of file SharedModule.cc.
References art::detail::SharedModule::asyncDeclared_, util::cbegin(), util::cend(), art::detail::SharedModule::chain_, art::detail::SharedResources::createQueues(), e, util::empty(), art::errors::LogicError, and art::detail::SharedModule::resourceNames_.
Referenced by art::OutputModule::doBeginJob(), art::SharedFilter::setupQueues(), art::SharedProducer::setupQueues(), art::SharedAnalyzer::setupQueues(), art::EDFilter::setupQueues(), art::EDProducer::setupQueues(), and art::EDAnalyzer::setupQueues().
|
noexcept |
Definition at line 12 of file LegacyModule.cc.
References scheduleID_.
Referenced by art::EDAnalyzer::EDAnalyzer(), art::EDFilter::EDFilter(), and art::EDProducer::EDProducer().
|
protectedinherited |
|
inherited |
Definition at line 83 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_resource().
|
protectedinherited |
Referenced by wcls::WireCellToolkit::WireCellToolkit().
|
inherited |
Definition at line 90 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_external_resource().
|
inherited |
Definition at line 22 of file SharedModule.cc.
References art::detail::SharedModule::chain_.
|
privatenoexcept |
Definition at line 18 of file LegacyModule.cc.
References scheduleID_.
|
inherited |
Definition at line 28 of file SharedModule.cc.
References art::detail::SharedModule::resourceNames_.
|
private |
Definition at line 32 of file LegacyModule.h.
Referenced by scheduleID(), and setScheduleID().