LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SubRunPrincipal.h"
Public Types | |
using | Auxiliary = SubRunAuxiliary |
enum | allowed_processes { allowed_processes::current_process, allowed_processes::input_source, allowed_processes::all } |
using | GroupCollection = std::map< ProductID, std::unique_ptr< Group >> |
using | const_iterator = GroupCollection::const_iterator |
Static Public Attributes | |
static constexpr BranchType | branch_type = Auxiliary::branch_type |
Protected Member Functions | |
std::optional< ProductInserter > | makeInserter (ModuleContext const &mc) |
void | fillGroup (BranchDescription const &) |
void | setProcessHistoryIDcombined (ProcessHistoryID const &) |
void | updateSeenRanges (RangeSet const &rs) |
Private Attributes | |
cet::exempt_ptr< RunPrincipal const > | runPrincipal_ {nullptr} |
SubRunAuxiliary | aux_ |
Definition at line 16 of file SubRunPrincipal.h.
Definition at line 18 of file SubRunPrincipal.h.
|
inherited |
Definition at line 52 of file Principal.h.
|
inherited |
Definition at line 51 of file Principal.h.
|
stronginherited |
Enumerator | |
---|---|
current_process | |
input_source | |
all |
Definition at line 53 of file Principal.h.
|
default |
art::SubRunPrincipal::SubRunPrincipal | ( | SubRunAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< DelayedReader > && | reader = std::make_unique<NoDelayedReader>() |
||
) |
Definition at line 9 of file SubRunPrincipal.cc.
References aux_, art::InSubRun, and art::SubRunAuxiliary::processHistoryID().
|
inherited |
Definition at line 423 of file Principal.cc.
References art::errors::Configuration, art::thread_safe_registry_via_id< K, M >::emplace(), art::ProcessHistory::get_mutex(), art::Principal::processConfiguration_, art::Principal::processHistory_, art::Principal::processHistoryModified_, and art::ProcessConfiguration::processName().
Referenced by art::Principal::createGroupsForProducedProducts(), and art::Principal::processHistoryID().
|
inherited |
Definition at line 270 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
Timestamp const & art::SubRunPrincipal::beginTime | ( | ) | const |
Definition at line 54 of file SubRunPrincipal.cc.
References aux_, and art::SubRunAuxiliary::beginTime().
Referenced by art::SubRun::beginTime().
|
inherited |
Definition at line 298 of file Principal.cc.
References art::Principal::getGroupLocal().
Referenced by art::markAncestors(), and art::Principal::processHistoryID().
|
inherited |
Definition at line 807 of file Principal.cc.
References art::Principal::branchType_.
Referenced by art::SourceHelper::makePtr(), and art::Principal::processHistoryID().
|
inherited |
Definition at line 277 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
|
inherited |
Definition at line 291 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
void art::SubRunPrincipal::createGroupsForProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 94 of file SubRunPrincipal.cc.
References aux_, art::Principal::createGroupsForProducedProducts(), art::Principal::processHistoryID(), and art::SubRunAuxiliary::setProcessHistoryID().
|
inherited |
Definition at line 220 of file Principal.cc.
References art::Principal::enableLookupOfProducedProducts_.
|
inherited |
Definition at line 284 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
Timestamp const & art::SubRunPrincipal::endTime | ( | ) | const |
Definition at line 60 of file SubRunPrincipal.cc.
References aux_, and art::SubRunAuxiliary::endTime().
Referenced by art::SubRun::endTime().
|
protectedinherited |
Definition at line 137 of file Principal.cc.
References util::cend(), art::combinable(), art::errors::Configuration, art::Principal::delayedReader_, art::Principal::groupMutex_, art::Principal::groups_, art::BranchDescription::processName(), art::BranchDescription::productID(), and art::errors::ProductRegistrationFailure.
Referenced by art::Principal::createGroupsForProducedProducts(), and art::Principal::processHistoryID().
|
inherited |
Definition at line 506 of file Principal.cc.
References art::Principal::getBySelector(), and art::ProcessTag::name().
Referenced by art::ProductRetriever::getByLabel_().
|
inherited |
Definition at line 839 of file Principal.cc.
References art::Principal::branchType_, art::Principal::getGroupTryAllFiles(), and art::errors::ProductNotFound.
Referenced by art::ProductRetriever::getByProductID_(), and art::ProductRetriever::getProductProvenance().
|
inherited |
Definition at line 488 of file Principal.cc.
References art::Principal::findGroupsForProduct(), art::detail::indent(), art::SelectorBase::print(), art::WrappedTypeID::product_type, art::errors::ProductNotFound, and art::resolve_unique_product().
Referenced by art::Principal::getByLabel(), and art::ProductRetriever::getBySelector_().
|
inherited |
Definition at line 12 of file PrincipalBase.cc.
References art::PrincipalBase::getEDProductGetter_().
|
inherited |
Definition at line 750 of file Principal.cc.
References art::Principal::getGroupTryAllFiles(), art::OutputHandle::invalid(), art::OutputHandle::productProvenance(), and art::OutputHandle::rangeOfValidity().
|
inherited |
Definition at line 520 of file Principal.cc.
References art::Principal::findGroupsForProduct().
Referenced by art::ProductRetriever::getInputTags_().
|
inherited |
Definition at line 534 of file Principal.cc.
References art::Principal::findGroupsForProduct(), art::resolve_products(), and art::WrappedTypeID::wrapped_product_type.
Referenced by art::ProductRetriever::getMany_().
|
inherited |
Definition at line 550 of file Principal.cc.
References art::ProcessTag::current_process_search_allowed(), art::Principal::enableLookupOfProducedProducts_, art::Principal::findGroups(), art::ProcessTag::input_source_search_allowed(), art::Principal::matchingSequenceFromInputFile(), art::Principal::producedProducts_, art::Principal::secondaryPrincipals_, and art::Principal::tryNextSecondaryFile().
Referenced by art::ProductRetriever::getContainerForView_().
|
inherited |
Definition at line 779 of file Principal.cc.
References art::Principal::enableLookupOfProducedProducts_, art::Principal::presentProducts_, art::Principal::producedProducts_, and art::Principal::secondaryPrincipals_.
Referenced by art::ProductRetriever::getProductDescription(), art::ProductInserter::getProductDescription_(), and art::ProductRetriever::getProductID_().
|
protectedinherited |
Definition at line 813 of file Principal.cc.
References art::Principal::branchType_.
Referenced by art::EventPrincipal::makeEvent(), art::ResultsPrincipal::makeResults(), art::RunPrincipal::makeRun(), makeSubRun(), and art::Principal::processHistoryID().
SubRun art::SubRunPrincipal::makeSubRun | ( | ModuleContext const & | mc, |
RangeSet const & | rs = RangeSet::invalid() |
||
) |
Definition at line 24 of file SubRunPrincipal.cc.
References art::Principal::makeInserter().
Referenced by art::detail::Producer::doBeginSubRun(), art::detail::Filter::doBeginSubRun(), art::ResultsProducer::doBeginSubRun(), art::OutputModule::doBeginSubRun(), art::detail::Producer::doEndSubRun(), art::detail::Filter::doEndSubRun(), art::ResultsProducer::doEndSubRun(), art::OutputModule::doEndSubRun(), and art::ProducingService::doPostReadSubRun().
SubRun art::SubRunPrincipal::makeSubRun | ( | ModuleContext const & | mc | ) | const |
Definition at line 30 of file SubRunPrincipal.cc.
|
inherited |
Definition at line 170 of file Principal.cc.
References art::Principal::processHistoryModified_.
|
inherited |
Definition at line 257 of file Principal.cc.
References art::Principal::processConfiguration_.
|
inherited |
Definition at line 247 of file Principal.cc.
References art::Principal::processHistory_.
Referenced by art::ProductRetriever::getProcessParameterSet(), art::Event::processHistory(), art::Run::processHistory(), and art::SubRun::processHistory().
|
inlineinherited |
Definition at line 148 of file Principal.h.
References art::Principal::addToProcessHistory(), art::Principal::begin(), art::Principal::branchToProductProvenance(), art::Principal::branchType(), art::Principal::cbegin(), art::Principal::cend(), art::Principal::ctor_create_groups(), art::Principal::ctor_fetch_process_history(), art::Principal::ctor_read_provenance(), art::Principal::end(), art::Principal::fillGroup(), art::Principal::findGroups(), art::Principal::findGroupsForProcess(), art::Principal::findGroupsForProduct(), art::Principal::findGroupsFromInputFile(), art::Principal::getEDProductGetter_(), art::Principal::getGroupLocal(), art::Principal::getGroupTryAllFiles(), art::ProcessHistory::id(), art::Principal::makeInserter(), art::Principal::matchingSequenceFromInputFile(), art::Principal::presentFromSource(), art::Principal::processHistory_, art::Principal::producedInProcess(), art::Principal::put(), art::Principal::seenRanges(), art::Principal::setProcessHistoryIDcombined(), art::Principal::size(), art::Principal::tryNextSecondaryFile(), art::Principal::updateSeenRanges(), and lar::dump::vector().
Referenced by art::RunPrincipal::createGroupsForProducedProducts(), art::ResultsPrincipal::createGroupsForProducedProducts(), createGroupsForProducedProducts(), art::Event::processHistoryID(), and art::EventPrincipal::refreshProcessHistoryID().
|
inherited |
Definition at line 177 of file Principal.cc.
References art::Principal::getGroupTryAllFiles().
Referenced by art::Principal::getEDProductGetter_(), art::SourceHelper::makePtr(), art::ProductRetriever::productGetter(), and art::ProductInserter::productGetter_().
|
inherited |
Definition at line 189 of file Principal.cc.
References art::Principal::getGroupLocal().
Referenced by art::ProductInserter::provenance_().
|
inherited |
Definition at line 713 of file Principal.cc.
References art::BranchDescription::branchName(), art::Principal::branchType_, art::Principal::getGroupLocal(), art::RangeSet::invalid(), art::BranchDescription::productID(), art::errors::ProductRegistrationFailure, and art::detail::range_sets_supported().
Referenced by art::ProductInserter::commitProducts(), and art::Principal::processHistoryID().
|
inherited |
Definition at line 226 of file Principal.cc.
References art::Principal::groupMutex_, art::Principal::groups_, and util::values().
SubRunNumber_t art::SubRunPrincipal::run | ( | ) | const |
RunID const & art::SubRunPrincipal::runID | ( | ) | const |
Definition at line 76 of file SubRunPrincipal.cc.
References aux_, and art::SubRunAuxiliary::runID().
RunPrincipal const & art::SubRunPrincipal::runPrincipal | ( | ) | const |
Definition at line 66 of file SubRunPrincipal.cc.
References art::errors::NullPointerError, and runPrincipal_.
|
inherited |
Definition at line 701 of file Principal.cc.
References art::Principal::rangeSet_.
Referenced by art::detail::Producer::doEndRun(), art::detail::Filter::doEndRun(), art::detail::Producer::doEndSubRun(), art::detail::Filter::doEndSubRun(), and art::Principal::processHistoryID().
|
protectedinherited |
Referenced by art::Principal::processHistoryID().
void art::SubRunPrincipal::setRunPrincipal | ( | cet::exempt_ptr< RunPrincipal const > | rp | ) |
Definition at line 88 of file SubRunPrincipal.cc.
References runPrincipal_.
|
inherited |
Definition at line 263 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
SubRunNumber_t art::SubRunPrincipal::subRun | ( | ) | const |
Definition at line 48 of file SubRunPrincipal.cc.
References aux_, and art::SubRunAuxiliary::subRun().
SubRunAuxiliary const & art::SubRunPrincipal::subRunAux | ( | ) | const |
SubRunID art::SubRunPrincipal::subRunID | ( | ) | const |
Definition at line 42 of file SubRunPrincipal.cc.
References aux_, and art::SubRunAuxiliary::id().
Referenced by art::detail::Producer::doBeginSubRun(), art::detail::Filter::doBeginSubRun(), art::ProducingService::doPostReadSubRun(), art::SubRun::id(), art::rangeSetFor(), and art::Source< T >::throwIfInsane_().
|
protectedinherited |
Definition at line 707 of file Principal.cc.
References art::Principal::rangeSet_.
Referenced by art::Principal::processHistoryID().
|
private |
Definition at line 47 of file SubRunPrincipal.h.
Referenced by beginTime(), createGroupsForProducedProducts(), endTime(), run(), runID(), subRun(), subRunAux(), subRunID(), and SubRunPrincipal().
|
static |
Definition at line 19 of file SubRunPrincipal.h.
|
private |
Definition at line 46 of file SubRunPrincipal.h.
Referenced by runPrincipal(), and setRunPrincipal().