LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "RunPrincipal.h"
Public Types | |
using | Auxiliary = RunAuxiliary |
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 = RunAuxiliary::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 | |
RunAuxiliary | aux_ |
Definition at line 16 of file RunPrincipal.h.
Definition at line 18 of file RunPrincipal.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::RunPrincipal::RunPrincipal | ( | RunAuxiliary 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 RunPrincipal.cc.
References aux_, art::InRun, and art::RunAuxiliary::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::RunPrincipal::beginTime | ( | ) | const |
Definition at line 36 of file RunPrincipal.cc.
References aux_, and art::RunAuxiliary::beginTime().
Referenced by art::Run::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::RunPrincipal::createGroupsForProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 66 of file RunPrincipal.cc.
References aux_, art::Principal::createGroupsForProducedProducts(), art::Principal::processHistoryID(), and art::RunAuxiliary::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::RunPrincipal::endTime | ( | ) | const |
Definition at line 42 of file RunPrincipal.cc.
References aux_, and art::RunAuxiliary::endTime().
Referenced by art::Run::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(), makeRun(), art::SubRunPrincipal::makeSubRun(), and art::Principal::processHistoryID().
Run art::RunPrincipal::makeRun | ( | ModuleContext const & | mc, |
RangeSet const & | rs = RangeSet::invalid() |
||
) |
Definition at line 24 of file RunPrincipal.cc.
References art::Principal::makeInserter().
Referenced by art::detail::Producer::doBeginRun(), art::detail::Filter::doBeginRun(), art::ResultsProducer::doBeginRun(), art::OutputModule::doBeginRun(), art::detail::Producer::doEndRun(), art::detail::Filter::doEndRun(), art::ResultsProducer::doEndRun(), art::OutputModule::doEndRun(), and art::ProducingService::doPostReadRun().
Run art::RunPrincipal::makeRun | ( | ModuleContext const & | mc | ) | const |
Definition at line 30 of file RunPrincipal.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 createGroupsForProducedProducts(), art::ResultsPrincipal::createGroupsForProducedProducts(), art::SubRunPrincipal::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().
RunNumber_t art::RunPrincipal::run | ( | ) | const |
RunAuxiliary const & art::RunPrincipal::runAux | ( | ) | const |
Definition at line 48 of file RunPrincipal.cc.
References aux_.
RunID art::RunPrincipal::runID | ( | ) | const |
Definition at line 54 of file RunPrincipal.cc.
References aux_, and art::RunAuxiliary::id().
Referenced by art::detail::Producer::doBeginRun(), art::detail::Filter::doBeginRun(), art::ProducingService::doPostReadRun(), art::Run::id(), art::rangeSetFor(), and art::Source< T >::throwIfInsane_().
|
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().
|
inherited |
Definition at line 263 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
|
protectedinherited |
Definition at line 707 of file Principal.cc.
References art::Principal::rangeSet_.
Referenced by art::Principal::processHistoryID().
|
private |
Definition at line 42 of file RunPrincipal.h.
Referenced by beginTime(), createGroupsForProducedProducts(), endTime(), run(), runAux(), runID(), and RunPrincipal().
|
static |
Definition at line 19 of file RunPrincipal.h.