LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ResultsPrincipal.h"
Public Types | |
using | Auxiliary = ResultsAuxiliary |
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 = ResultsAuxiliary::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 | |
ResultsAuxiliary | aux_ |
Definition at line 25 of file ResultsPrincipal.h.
Definition at line 27 of file ResultsPrincipal.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::ResultsPrincipal::ResultsPrincipal | ( | ResultsAuxiliary 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 ResultsPrincipal.cc.
References aux_, art::InResults, and art::ResultsAuxiliary::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().
|
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::ResultsPrincipal::createGroupsForProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 42 of file ResultsPrincipal.cc.
References aux_, art::Principal::createGroupsForProducedProducts(), art::Principal::processHistoryID(), and art::ResultsAuxiliary::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().
|
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(), makeResults(), art::RunPrincipal::makeRun(), art::SubRunPrincipal::makeSubRun(), and art::Principal::processHistoryID().
Results art::ResultsPrincipal::makeResults | ( | ModuleContext const & | mc | ) |
Definition at line 24 of file ResultsPrincipal.cc.
References art::Principal::makeInserter().
Referenced by art::ResultsProducer::doReadResults(), and art::ResultsProducer::doWriteResults().
Results art::ResultsPrincipal::makeResults | ( | ModuleContext const & | mc | ) | const |
Definition at line 30 of file ResultsPrincipal.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(), 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().
ResultsAuxiliary const & art::ResultsPrincipal::resultsAux | ( | ) | const |
|
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 45 of file ResultsPrincipal.h.
Referenced by createGroupsForProducedProducts(), resultsAux(), and ResultsPrincipal().
|
static |
Definition at line 28 of file ResultsPrincipal.h.