LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "RunPrincipal.h"
Public Types | |
using | Auxiliary = RunAuxiliary |
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 = RunAuxiliary::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 &) override |
Private Attributes | |
RunAuxiliary | aux_ |
RangeSet | seenRangeSet_ {RangeSet::invalid()} |
Definition at line 28 of file RunPrincipal.h.
Definition at line 30 of file RunPrincipal.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::RunPrincipal::RunPrincipal | ( | RunAuxiliary 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 11 of file RunPrincipal.cc.
References art::Principal::addToProcessHistory(), aux(), aux_, art::InRun, art::ProductMetaData::instance(), art::RunAuxiliary::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(), RunPrincipal(), art::SubRunPrincipal::SubRunPrincipal(), art::RootOutput::write(), art::RootOutput::writeRun(), and art::RootOutput::writeSubRun().
|
inline |
Definition at line 41 of file RunPrincipal.h.
References aux_.
Referenced by beginTime(), endTime(), id(), processHistoryID(), run(), RunPrincipal(), setProcessHistoryID(), and art::RootOutputFile::writeRun().
|
inlineinherited |
|
inline |
|
inlineinherited |
Definition at line 144 of file Principal.h.
References art::Principal::branchMapperPtr_.
Referenced by art::Principal::fillGroup(), art::detail::KeptProvenance::insertAncestors(), art::ResultsPrincipal::put(), put(), art::SubRunPrincipal::put(), and art::EventPrincipal::put().
|
inlineprotectedinherited |
Definition at line 192 of file Principal.h.
References art::Principal::branchMapperPtr_.
|
inlineoverridevirtual |
Implements art::Principal.
Definition at line 74 of file RunPrincipal.h.
References branch_type, fillGroup(), and put().
|
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 |
|
inline |
Definition at line 62 of file RunPrincipal.h.
References aux(), and art::RunAuxiliary::endTime().
Referenced by art::BeginEndPackage< Level::Run >::End::preScheduleSignal().
|
overridevirtual |
Implements art::Principal.
Definition at line 44 of file RunPrincipal.cc.
References art::Principal::fillGroup(), art::RangeSet::invalid(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by branchType().
|
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().
|
inline |
Definition at line 46 of file RunPrincipal.h.
References aux(), and art::RunAuxiliary::id().
Referenced by art::EDProducer::doBeginRun(), art::EDFilter::doBeginRun(), art::ProducingService::doPostReadRun(), art::BeginEndPackage< Level::Run >::End::preScheduleSignal(), art::rangeSetFor(), art::Source< T >::throwIfInsane_(), and art::RootOutput::writeRun().
|
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 32 of file RunPrincipal.cc.
References aux(), and art::RunAuxiliary::processHistoryID_.
Referenced by updateSeenRanges().
|
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(), art::ResultsPrincipal::ResultsPrincipal(), RunPrincipal(), and art::SubRunPrincipal::SubRunPrincipal().
void art::RunPrincipal::put | ( | std::unique_ptr< EDProduct > && | edp, |
BranchDescription const & | pd, | ||
std::unique_ptr< ProductProvenance const > && | productProvenance, | ||
RangeSet && | rs | ||
) |
Definition at line 51 of file RunPrincipal.cc.
References art::Principal::branchMapper(), art::Principal::fillGroup(), art::BranchMapper::insert(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by branchType(), and art::Run::commit().
RangeSetHandler const& art::RunPrincipal::rangeSetHandler | ( | ) | const |
Referenced by updateSeenRanges().
RangeSetHandler& art::RunPrincipal::rangeSetHandler | ( | ) |
|
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_().
|
inline |
|
inlineoverridevirtual |
Implements art::Principal.
Definition at line 87 of file RunPrincipal.h.
References seenRangeSet_.
Referenced by art::EDProducer::doEndRun(), and art::EDFilter::doEndRun().
|
inline |
|
overrideprivatevirtual |
Implements art::Principal.
Definition at line 38 of file RunPrincipal.cc.
References aux(), and art::RunAuxiliary::setProcessHistoryID().
Referenced by updateSeenRanges().
|
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().
|
inline |
Definition at line 92 of file RunPrincipal.h.
References processHistoryID(), rangeSetHandler(), seenRangeSet_, and setProcessHistoryID().
Referenced by art::EndPathExecutor::setAuxiliaryRangeSetID().
|
private |
Definition at line 103 of file RunPrincipal.h.
Referenced by aux(), RunPrincipal(), and setEndTime().
|
static |
Definition at line 31 of file RunPrincipal.h.
Referenced by branchType().
|
private |
Definition at line 104 of file RunPrincipal.h.
Referenced by seenRanges(), and updateSeenRanges().