LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ResultsPrincipal.h"
Public Types | |
using | Auxiliary = ResultsAuxiliary |
using | GroupCollection = std::map< ProductID, std::unique_ptr< Group >> |
using | const_iterator = GroupCollection::const_iterator |
using | ProcessNameConstIterator = ProcessHistory::const_iterator |
using | GroupQueryResultVec = std::vector< GroupQueryResult > |
using | size_type = GroupCollection::size_type |
using | ProcessName = std::string |
Static Public Attributes | |
static constexpr BranchType | branch_type = ResultsAuxiliary::branch_type |
Protected Member Functions | |
BranchMapper & | branchMapper () |
void | fillGroup (std::unique_ptr< Group > &&group) |
DelayedReader & | productReader () |
int | tryNextSecondaryFile () const |
cet::exempt_ptr< Group const > | getGroupForPtr (ProductID const pid) const |
cet::exempt_ptr< Group const > | getGroup (ProductID const pid) const |
cet::exempt_ptr< Group const > | getResolvedGroup (ProductID const pid, bool resolveProd) const |
Private Member Functions | |
ProcessHistoryID const & | processHistoryID () const override |
void | setProcessHistoryID (ProcessHistoryID const &phid) override |
Private Attributes | |
ResultsAuxiliary | aux_ |
Definition at line 28 of file ResultsPrincipal.h.
Definition at line 30 of file ResultsPrincipal.h.
|
inherited |
Definition at line 52 of file Principal.h.
|
inherited |
Definition at line 51 of file Principal.h.
|
inherited |
Definition at line 54 of file Principal.h.
|
inherited |
Definition at line 56 of file Principal.h.
|
inherited |
Definition at line 53 of file Principal.h.
|
inherited |
Definition at line 55 of file Principal.h.
art::ResultsPrincipal::ResultsPrincipal | ( | ResultsAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< BranchMapper > && | mapper = std::make_unique<BranchMapper>() , |
||
std::unique_ptr< DelayedReader > && | rtrv = std::make_unique<NoDelayedReader>() |
||
) |
Definition at line 9 of file ResultsPrincipal.cc.
References aux(), aux_, art::ResultsAuxiliary::processHistoryID_, art::Principal::productReader(), and art::DelayedReader::setGroupFinder().
|
inlineinherited |
Definition at line 100 of file Principal.h.
References art::Principal::secondaryPrincipals_.
|
inherited |
Definition at line 80 of file Principal.cc.
References art::errors::Configuration, art::thread_safe_registry_via_id< K, M >::emplace(), art::Principal::processConfiguration_, art::Principal::processHistory_, art::Principal::processHistoryModified_, art::ProcessConfiguration::processName(), and art::Principal::setProcessHistoryID().
Referenced by art::Principal::cend(), art::EventPrincipal::EventPrincipal(), art::RunPrincipal::RunPrincipal(), art::SubRunPrincipal::SubRunPrincipal(), art::RootOutput::write(), art::RootOutput::writeRun(), and art::RootOutput::writeSubRun().
|
inline |
Definition at line 42 of file ResultsPrincipal.h.
References aux_, branchType(), fillGroup(), and put().
Referenced by processHistoryID(), ResultsPrincipal(), setProcessHistoryID(), and art::RootOutputFile::writeResults().
|
inlineinherited |
|
inlineinherited |
Definition at line 144 of file Principal.h.
References art::Principal::branchMapperPtr_.
Referenced by art::Principal::fillGroup(), art::detail::KeptProvenance::insertAncestors(), put(), art::RunPrincipal::put(), art::SubRunPrincipal::put(), and art::EventPrincipal::put().
|
inlineprotectedinherited |
Definition at line 192 of file Principal.h.
References art::Principal::branchMapperPtr_.
|
overridevirtual |
Implements art::Principal.
Definition at line 27 of file ResultsPrincipal.cc.
References art::InResults.
Referenced by aux().
|
inlineinherited |
|
inlineinherited |
Definition at line 174 of file Principal.h.
References art::Principal::addToProcessHistory(), art::Principal::branchType(), art::Principal::fillGroup(), art::Principal::groups_, and art::Principal::seenRanges().
|
inlineinherited |
|
overridevirtual |
Implements art::Principal.
Definition at line 45 of file ResultsPrincipal.cc.
References art::Principal::fillGroup(), art::RangeSet::invalid(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by aux().
|
inlineprotectedinherited |
Definition at line 205 of file Principal.h.
References art::Principal::branchMapper(), art::Principal::deferredGetter_(), art::Principal::findGroups(), art::Principal::findGroupsForProcess(), art::Principal::findGroupsForProduct(), art::Principal::findGroupsFromInputFile(), art::BranchDescription::friendlyClassName(), art::Principal::getGroup(), art::Principal::getGroupForPtr(), art::Principal::getResolvedGroup(), art::Principal::groups_, art::Principal::matchingSequenceFromInputFile(), art::BranchDescription::moduleLabel(), art::Principal::presentFromSource(), art::Principal::processHistoryID(), art::BranchDescription::processName(), art::BranchDescription::producedClassName(), art::BranchDescription::productID(), art::Principal::setProcessHistoryID(), art::Principal::store_, and art::Principal::tryNextSecondaryFile().
|
inherited |
Definition at line 143 of file Principal.cc.
References art::Principal::findGroupsForProduct(), art::WrappedTypeID::product_type, and art::errors::ProductNotFound.
Referenced by art::DataViewImpl::getByLabel_().
|
inherited |
Definition at line 131 of file Principal.cc.
References art::Principal::getGroupForPtr(), and art::errors::ProductNotFound.
Referenced by art::DataViewImpl::getByProductID_(), art::Principal::getEDProductGetterImpl(), and art::Principal::productGetter().
|
inherited |
Definition at line 110 of file Principal.cc.
References art::Principal::findGroupsForProduct(), art::WrappedTypeID::product_type, and art::errors::ProductNotFound.
Referenced by art::DataViewImpl::get_().
|
inlineinherited |
Definition at line 25 of file EDProductGetterFinder.h.
References art::EDProductGetterFinder::getEDProductGetterImpl().
|
inherited |
Definition at line 424 of file Principal.cc.
References art::Principal::getResolvedGroup(), art::OutputHandle::invalid(), and art::OutputHandle::rangeOfValidity().
Referenced by art::RootOutputFile::fillBranches(), art::detail::KeptProvenance::insertAncestors(), and art::ProvenanceCheckerOutput::write().
Definition at line 525 of file Principal.cc.
References art::Principal::groups_.
Referenced by art::Principal::fillGroup(), art::Principal::findGroupsForProcess(), art::Principal::getGroupForPtr(), art::EventPrincipal::history(), art::Principal::removeCachedProduct(), and art::EventPrincipal::throwIfExistingGroup().
|
protectedinherited |
Definition at line 481 of file Principal.cc.
References art::Principal::getGroup(), art::Principal::presentFromSource(), art::Principal::producedProducts_, art::Principal::secondaryPrincipals_, and art::Principal::tryNextSecondaryFile().
Referenced by art::Principal::fillGroup(), art::Principal::getByProductID(), and art::Principal::getResolvedGroup().
|
inherited |
Definition at line 178 of file Principal.cc.
References art::Principal::findGroupsForProduct().
Referenced by art::DataViewImpl::getMany_().
|
inherited |
Definition at line 195 of file Principal.cc.
References art::Principal::findGroups(), art::Principal::matchingSequenceFromInputFile(), art::Principal::producedProducts_, art::Principal::secondaryPrincipals_, and art::Principal::tryNextSecondaryFile().
Referenced by art::DataViewImpl::getMatchingSequenceByLabel_().
|
protectedinherited |
Definition at line 452 of file Principal.cc.
References art::Principal::getGroupForPtr().
Referenced by art::Principal::fillGroup(), and art::Principal::getForOutput().
|
inlineinherited |
Definition at line 138 of file Principal.h.
References art::Principal::processConfiguration_.
Referenced by art::get_ProductDescription().
|
inlineinherited |
Definition at line 132 of file Principal.h.
References art::Principal::processHistory_.
Referenced by art::Principal::findGroups(), and art::DataViewImpl::processHistory().
|
overrideprivatevirtual |
Implements art::Principal.
Definition at line 33 of file ResultsPrincipal.cc.
References aux(), and art::ResultsAuxiliary::processHistoryID_.
Referenced by seenRanges().
|
inherited |
Definition at line 532 of file Principal.cc.
References art::Principal::deferredGetter_(), art::Principal::getByProductID(), and art::GroupQueryResult::result().
Referenced by art::SourceHelper::makePtr(), art::Results::productGetter(), art::Run::productGetter(), art::SubRun::productGetter(), and art::Event::productGetter().
|
inlineprotectedinherited |
Definition at line 198 of file Principal.h.
References art::Principal::store_.
Referenced by art::EventPrincipal::EventPrincipal(), ResultsPrincipal(), art::RunPrincipal::RunPrincipal(), and art::SubRunPrincipal::SubRunPrincipal().
void art::ResultsPrincipal::put | ( | std::unique_ptr< EDProduct > && | edp, |
BranchDescription const & | pd, | ||
std::unique_ptr< ProductProvenance const > && | productProvenance | ||
) |
Definition at line 52 of file ResultsPrincipal.cc.
References art::Principal::branchMapper(), art::Principal::fillGroup(), art::BranchMapper::insert(), art::RangeSet::invalid(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by aux(), and art::Results::commit().
|
inlineinherited |
Definition at line 112 of file Principal.h.
References art::Principal::groups_, and art::Principal::readProvenanceImmediate().
|
inlineinherited |
Definition at line 123 of file Principal.h.
References art::Principal::branchMapperPtr_, and art::Principal::groups_.
Referenced by art::Principal::readImmediate().
|
inherited |
Definition at line 259 of file Principal.cc.
References art::Principal::getGroup(), art::errors::ProductNotFound, and art::Principal::secondaryPrincipals_.
Referenced by art::DataViewImpl::removeCachedProduct_().
|
inlineoverridevirtual |
Implements art::Principal.
Definition at line 55 of file ResultsPrincipal.h.
References art::RangeSet::invalid(), processHistoryID(), and setProcessHistoryID().
|
overrideprivatevirtual |
Implements art::Principal.
Definition at line 39 of file ResultsPrincipal.cc.
References aux(), and art::ResultsAuxiliary::setProcessHistoryID().
Referenced by seenRanges().
|
inlineinherited |
Definition at line 106 of file Principal.h.
References art::Principal::producedProducts_.
|
inlineinherited |
Definition at line 150 of file Principal.h.
References art::Principal::groups_.
Referenced by art::DataViewImpl::size().
|
protectedinherited |
Definition at line 184 of file Principal.cc.
References art::Principal::nextSecondaryFileIdx_, and art::Principal::store_.
Referenced by art::Principal::fillGroup(), art::Principal::findGroupsForProduct(), art::Principal::getGroupForPtr(), and art::Principal::getMatchingSequence().
|
private |
Definition at line 65 of file ResultsPrincipal.h.
Referenced by aux(), and ResultsPrincipal().
|
static |
Definition at line 31 of file ResultsPrincipal.h.