LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SubRunPrincipal.h"
Public Types | |
using | Auxiliary = SubRunAuxiliary |
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 = Auxiliary::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 | |
SubRunAuxiliary | aux_ |
cet::exempt_ptr< RunPrincipal const > | runPrincipal_ {nullptr} |
RangeSet | rangeSet_ {RangeSet::invalid()} |
Definition at line 28 of file SubRunPrincipal.h.
Definition at line 30 of file SubRunPrincipal.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::SubRunPrincipal::SubRunPrincipal | ( | SubRunAuxiliary 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 12 of file SubRunPrincipal.cc.
References art::Principal::addToProcessHistory(), aux(), aux_, art::ProductMetaData::instance(), art::InSubRun, art::SubRunAuxiliary::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(), SubRunPrincipal(), art::RootOutput::write(), art::RootOutput::writeRun(), and art::RootOutput::writeSubRun().
|
inline |
Definition at line 54 of file SubRunPrincipal.h.
References aux_.
Referenced by beginTime(), endTime(), id(), processHistoryID(), run(), setProcessHistoryID(), subRun(), SubRunPrincipal(), and art::RootOutputFile::writeSubRun().
|
inlineinherited |
|
inline |
Definition at line 74 of file SubRunPrincipal.h.
References aux(), and art::SubRunAuxiliary::beginTime().
|
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(), art::RunPrincipal::put(), 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 109 of file SubRunPrincipal.h.
References branch_type, processHistoryID(), and setProcessHistoryID().
|
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 79 of file SubRunPrincipal.h.
References aux(), and art::SubRunAuxiliary::endTime().
Referenced by art::BeginEndPackage< Level::SubRun >::End::preScheduleSignal().
|
overridevirtual |
Implements art::Principal.
Definition at line 45 of file SubRunPrincipal.cc.
References art::Principal::fillGroup(), art::RangeSet::invalid(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by setEndTime().
|
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 59 of file SubRunPrincipal.h.
References aux(), and art::SubRunAuxiliary::id().
Referenced by art::EDProducer::doBeginSubRun(), art::EDFilter::doBeginSubRun(), art::ProducingService::doPostReadSubRun(), art::BeginEndPackage< Level::SubRun >::End::preScheduleSignal(), art::rangeSetFor(), art::Source< T >::throwIfInsane_(), and art::RootOutput::writeSubRun().
|
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 SubRunPrincipal.cc.
References aux(), and art::SubRunAuxiliary::processHistoryID_.
Referenced by branchType().
|
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(), art::RunPrincipal::RunPrincipal(), and SubRunPrincipal().
void art::SubRunPrincipal::put | ( | std::unique_ptr< EDProduct > && | edp, |
BranchDescription const & | pd, | ||
std::unique_ptr< ProductProvenance const > && | productProvenance, | ||
RangeSet && | rs | ||
) |
Definition at line 52 of file SubRunPrincipal.cc.
References art::Principal::branchMapper(), art::Principal::fillGroup(), art::BranchMapper::insert(), art::gfactory::make_group(), and art::BranchDescription::productID().
Referenced by art::SubRun::commit(), and setEndTime().
|
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 |
RunPrincipal const & art::SubRunPrincipal::runPrincipal | ( | ) | const |
Definition at line 65 of file SubRunPrincipal.cc.
References art::errors::NullPointerError, and runPrincipal_.
|
inline |
Definition at line 43 of file SubRunPrincipal.h.
References runPrincipal_.
Referenced by art::Source< T >::throwIfInsane_().
|
inlineoverridevirtual |
Implements art::Principal.
Definition at line 98 of file SubRunPrincipal.h.
References rangeSet_.
Referenced by art::EDProducer::doEndSubRun(), and art::EDFilter::doEndSubRun().
|
inline |
Definition at line 85 of file SubRunPrincipal.h.
References aux_, fillGroup(), put(), and art::SubRunAuxiliary::setEndTime().
|
overrideprivatevirtual |
Implements art::Principal.
Definition at line 39 of file SubRunPrincipal.cc.
References aux(), and art::SubRunAuxiliary::setProcessHistoryID().
Referenced by branchType().
|
inlineinherited |
Definition at line 106 of file Principal.h.
References art::Principal::producedProducts_.
|
inline |
Definition at line 48 of file SubRunPrincipal.h.
References runPrincipal_.
|
inlineinherited |
Definition at line 150 of file Principal.h.
References art::Principal::groups_.
Referenced by art::DataViewImpl::size().
|
inline |
Definition at line 69 of file SubRunPrincipal.h.
References aux(), and art::SubRunAuxiliary::subRun().
|
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 103 of file SubRunPrincipal.h.
References rangeSet_.
Referenced by art::EndPathExecutor::setAuxiliaryRangeSetID().
|
private |
Definition at line 118 of file SubRunPrincipal.h.
Referenced by aux(), setEndTime(), and SubRunPrincipal().
|
static |
Definition at line 31 of file SubRunPrincipal.h.
Referenced by branchType().
|
private |
Definition at line 120 of file SubRunPrincipal.h.
Referenced by seenRanges(), and updateSeenRanges().
|
private |
Definition at line 119 of file SubRunPrincipal.h.
Referenced by runPrincipal(), runPrincipalExemptPtr(), and setRunPrincipal().