LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "EventPrincipal.h"
Public Types | |
using | Auxiliary = EventAuxiliary |
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 = Auxiliary::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 | |
cet::exempt_ptr< SubRunPrincipal const > | subRunPrincipal_ {nullptr} |
EventAuxiliary | aux_ |
bool | lastInSubRun_ |
Definition at line 17 of file EventPrincipal.h.
Definition at line 19 of file EventPrincipal.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::EventPrincipal::EventPrincipal | ( | EventAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< DelayedReader > && | rtrv = std::make_unique<NoDelayedReader>() , |
||
bool | lastInSubRun = false |
||
) |
Definition at line 10 of file EventPrincipal.cc.
References aux_, art::InEvent, lastInSubRun_, and art::EventAuxiliary::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::EventPrincipal::createGroupsForProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 115 of file EventPrincipal.cc.
References art::Principal::createGroupsForProducedProducts(), and refreshProcessHistoryID().
|
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().
EventNumber_t art::EventPrincipal::event | ( | ) | const |
Definition at line 51 of file EventPrincipal.cc.
References aux_, art::EventID::event(), and art::EventAuxiliary::id().
EventAuxiliary const & art::EventPrincipal::eventAux | ( | ) | const |
EventID const & art::EventPrincipal::eventID | ( | ) | const |
Definition at line 45 of file EventPrincipal.cc.
References aux_, and art::EventAuxiliary::id().
Referenced by art::OutputModule::doWriteEvent(), art::Event::id(), art::Source< T >::throwIfInsane_(), and art::EndPathExecutor::writeEvent().
EventAuxiliary::ExperimentType art::EventPrincipal::ExperimentType | ( | ) | const |
Definition at line 81 of file EventPrincipal.cc.
References aux_, and art::EventAuxiliary::experimentType().
Referenced by art::Event::experimentType().
|
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_().
bool art::EventPrincipal::isLastInSubRun | ( | ) | const |
Definition at line 87 of file EventPrincipal.cc.
References lastInSubRun_.
Referenced by art::EndPathExecutor::writeEvent().
bool art::EventPrincipal::isReal | ( | ) | const |
Definition at line 75 of file EventPrincipal.cc.
References aux_, and art::EventAuxiliary::isRealData().
Referenced by art::Event::isRealData().
Event art::EventPrincipal::makeEvent | ( | ModuleContext const & | mc | ) |
Definition at line 27 of file EventPrincipal.cc.
References art::Principal::makeInserter().
Referenced by art::detail::Producer::doEvent(), art::detail::Filter::doEvent(), art::ResultsProducer::doEvent(), art::OutputModule::doEvent(), art::ProducingService::doPostReadEvent(), and art::TriggerPathsExecutor::process_event().
Event art::EventPrincipal::makeEvent | ( | ModuleContext const & | mc | ) | const |
Definition at line 33 of file EventPrincipal.cc.
|
protectedinherited |
Definition at line 813 of file Principal.cc.
References art::Principal::branchType_.
Referenced by makeEvent(), art::ResultsPrincipal::makeResults(), art::RunPrincipal::makeRun(), art::SubRunPrincipal::makeSubRun(), and art::Principal::processHistoryID().
|
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(), art::ResultsPrincipal::createGroupsForProducedProducts(), art::SubRunPrincipal::createGroupsForProducedProducts(), art::Event::processHistoryID(), and 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().
void art::EventPrincipal::refreshProcessHistoryID | ( | ) |
Definition at line 109 of file EventPrincipal.cc.
References aux_, art::Principal::processHistoryID(), and art::EventAuxiliary::setProcessHistoryID().
Referenced by createGroupsForProducedProducts().
RunNumber_t art::EventPrincipal::run | ( | ) | const |
Definition at line 63 of file EventPrincipal.cc.
References aux_, art::EventAuxiliary::id(), and art::EventID::run().
|
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().
void art::EventPrincipal::setSubRunPrincipal | ( | cet::exempt_ptr< SubRunPrincipal const > | srp | ) |
Definition at line 103 of file EventPrincipal.cc.
References subRunPrincipal_.
|
inherited |
Definition at line 263 of file Principal.cc.
References art::Principal::groupMutex_, and art::Principal::groups_.
Referenced by art::Principal::processHistoryID().
SubRunNumber_t art::EventPrincipal::subRun | ( | ) | const |
Definition at line 57 of file EventPrincipal.cc.
References aux_, art::EventAuxiliary::id(), and art::EventID::subRun().
SubRunPrincipal const & art::EventPrincipal::subRunPrincipal | ( | ) | const |
Definition at line 93 of file EventPrincipal.cc.
References art::errors::NullPointerError, and subRunPrincipal_.
Timestamp const & art::EventPrincipal::time | ( | ) | const |
Definition at line 69 of file EventPrincipal.cc.
References aux_, and art::EventAuxiliary::time().
Referenced by art::Event::time().
|
protectedinherited |
Definition at line 707 of file Principal.cc.
References art::Principal::rangeSet_.
Referenced by art::Principal::processHistoryID().
|
private |
Definition at line 52 of file EventPrincipal.h.
Referenced by event(), eventAux(), eventID(), EventPrincipal(), ExperimentType(), isReal(), refreshProcessHistoryID(), run(), subRun(), and time().
|
static |
Definition at line 20 of file EventPrincipal.h.
|
private |
Definition at line 53 of file EventPrincipal.h.
Referenced by EventPrincipal(), and isLastInSubRun().
|
private |
Definition at line 51 of file EventPrincipal.h.
Referenced by setSubRunPrincipal(), and subRunPrincipal().