#include <Principal.h>
Public Types | |
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 |
Protected Member Functions | |
void | fillGroup (BranchDescription const &) |
void | setProcessHistoryIDcombined (ProcessHistoryID const &) |
Private Attributes | |
BranchType | branchType_ {} |
ProcessHistory | processHistory_ {} |
std::atomic< bool > | processHistoryModified_ |
ProcessConfiguration const & | processConfiguration_ |
std::atomic< ProductTable const * > | presentProducts_ |
std::atomic< ProductTable const * > | producedProducts_ |
std::atomic< bool > | enableLookupOfProducedProducts_ |
std::recursive_mutex | groupMutex_ {} |
GroupCollection | groups_ {} |
std::unique_ptr< DelayedReader > | delayedReader_ {nullptr} |
std::vector< std::unique_ptr< Principal > > | secondaryPrincipals_ {} |
int | nextSecondaryFileIdx_ {} |
RangeSet | rangeSet_ {RangeSet::invalid()} |
RunAuxiliary | runAux_ {} |
SubRunAuxiliary | subRunAux_ {} |
std::atomic< EventAuxiliary * > | eventAux_ |
ResultsAuxiliary | resultsAux_ {} |
cet::exempt_ptr< RunPrincipal const > | runPrincipal_ {nullptr} |
std::atomic< SubRunPrincipal const * > | subRunPrincipal_ |
std::unique_ptr< History > | history_ {nullptr} |
bool | lastInSubRun_ {false} |
Definition at line 54 of file Principal.h.
using art::Principal::const_iterator = GroupCollection::const_iterator |
Definition at line 57 of file Principal.h.
using art::Principal::GroupCollection = std::map<ProductID, std::unique_ptr<Group>> |
Definition at line 56 of file Principal.h.
|
strong |
|
inlinevirtualnoexcept |
Definition at line 64 of file Principal.h.
art::Principal::Principal | ( | BranchType | branchType, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
ProcessHistoryID const & | hist, | ||
std::unique_ptr< DelayedReader > && | reader | ||
) |
Definition at line 124 of file Principal.cc.
art::Principal::Principal | ( | RunAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< DelayedReader > && | reader = std::make_unique<NoDelayedReader>() |
||
) |
Definition at line 146 of file Principal.cc.
art::Principal::Principal | ( | SubRunAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< DelayedReader > && | reader = std::make_unique<NoDelayedReader>() |
||
) |
Definition at line 169 of file Principal.cc.
art::Principal::Principal | ( | EventAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< History > && | history = std::make_unique<History>() , |
||
std::unique_ptr< DelayedReader > && | reader = std::make_unique<NoDelayedReader>() , |
||
bool | lastInSubRun = false |
||
) |
Definition at line 192 of file Principal.cc.
art::Principal::Principal | ( | ResultsAuxiliary const & | aux, |
ProcessConfiguration const & | pc, | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< DelayedReader > && | reader = std::make_unique<NoDelayedReader>() |
||
) |
Definition at line 219 of file Principal.cc.
|
delete |
void art::Principal::addToProcessHistory | ( | ) |
Definition at line 563 of file Principal.cc.
Principal::const_iterator art::Principal::begin | ( | ) | const |
Definition at line 386 of file Principal.cc.
Timestamp const & art::Principal::beginTime | ( | ) | const |
Definition at line 1097 of file Principal.cc.
cet::exempt_ptr< ProductProvenance const > art::Principal::branchToProductProvenance | ( | ProductID const & | pid | ) | const |
Definition at line 438 of file Principal.cc.
BranchType art::Principal::branchType | ( | ) | const |
Definition at line 1022 of file Principal.cc.
Principal::const_iterator art::Principal::cbegin | ( | ) | const |
Definition at line 393 of file Principal.cc.
Principal::const_iterator art::Principal::cend | ( | ) | const |
Definition at line 407 of file Principal.cc.
void art::Principal::createGroupsForProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 314 of file Principal.cc.
|
private |
Definition at line 72 of file Principal.cc.
|
private |
Definition at line 114 of file Principal.cc.
|
private |
Definition at line 93 of file Principal.cc.
void art::Principal::enableLookupOfProducedProducts | ( | ProductTables const & | producedProducts | ) |
Definition at line 334 of file Principal.cc.
Principal::const_iterator art::Principal::end | ( | ) | const |
Definition at line 400 of file Principal.cc.
Timestamp const & art::Principal::endTime | ( | ) | const |
Definition at line 1106 of file Principal.cc.
void art::Principal::endTime | ( | Timestamp const & | time | ) |
Definition at line 1115 of file Principal.cc.
EventNumber_t art::Principal::event | ( | ) | const |
Definition at line 1091 of file Principal.cc.
EventAuxiliary const & art::Principal::eventAux | ( | ) | const |
Definition at line 1040 of file Principal.cc.
EventID const & art::Principal::eventID | ( | ) | const |
Definition at line 1064 of file Principal.cc.
EventSelectionIDVector const & art::Principal::eventSelectionIDs | ( | ) | const |
Definition at line 908 of file Principal.cc.
EventAuxiliary::ExperimentType art::Principal::ExperimentType | ( | ) | const |
Definition at line 896 of file Principal.cc.
|
protected |
Definition at line 242 of file Principal.cc.
|
private |
Definition at line 607 of file Principal.cc.
|
private |
Definition at line 813 of file Principal.cc.
|
private |
Definition at line 771 of file Principal.cc.
|
private |
Definition at line 753 of file Principal.cc.
GroupQueryResult art::Principal::getByLabel | ( | ModuleContext const & | mc, |
WrappedTypeID const & | wrapped, | ||
std::string const & | label, | ||
std::string const & | productInstanceName, | ||
ProcessTag const & | processTag | ||
) | const |
Definition at line 652 of file Principal.cc.
GroupQueryResult art::Principal::getByProductID | ( | ProductID const | pid | ) | const |
Definition at line 1151 of file Principal.cc.
GroupQueryResult art::Principal::getBySelector | ( | ModuleContext const & | mc, |
WrappedTypeID const & | wrapped, | ||
SelectorBase const & | sel, | ||
ProcessTag const & | processTag | ||
) | const |
Definition at line 634 of file Principal.cc.
|
overrideprivatevirtual |
Implements art::PrincipalBase.
Definition at line 308 of file Principal.cc.
OutputHandle art::Principal::getForOutput | ( | ProductID const & | pid, |
bool | resolveProd | ||
) | const |
Definition at line 965 of file Principal.cc.
|
private |
Definition at line 1164 of file Principal.cc.
|
private |
Definition at line 1172 of file Principal.cc.
std::vector< InputTag > art::Principal::getInputTags | ( | ModuleContext const & | mc, |
WrappedTypeID const & | wrapped, | ||
SelectorBase const & | sel, | ||
ProcessTag const & | processTag | ||
) | const |
Definition at line 666 of file Principal.cc.
std::vector< GroupQueryResult > art::Principal::getMany | ( | ModuleContext const & | mc, |
WrappedTypeID const & | wrapped, | ||
SelectorBase const & | sel, | ||
ProcessTag const & | processTag | ||
) | const |
Definition at line 680 of file Principal.cc.
std::vector< cet::exempt_ptr< Group > > art::Principal::getMatchingSequence | ( | ModuleContext const & | mc, |
SelectorBase const & | selector, | ||
ProcessTag const & | processTag | ||
) | const |
Definition at line 696 of file Principal.cc.
cet::exempt_ptr< BranchDescription const > art::Principal::getProductDescription | ( | ProductID const | pid, |
bool const | alwaysEnableLookupOfProducedProducts = false |
||
) | const |
Definition at line 994 of file Principal.cc.
History const & art::Principal::history | ( | ) | const |
Definition at line 902 of file Principal.cc.
bool art::Principal::isLastInSubRun | ( | ) | const |
Definition at line 924 of file Principal.cc.
bool art::Principal::isReal | ( | ) | const |
Definition at line 890 of file Principal.cc.
void art::Principal::markProcessHistoryAsModified | ( | ) |
Definition at line 290 of file Principal.cc.
|
private |
Definition at line 741 of file Principal.cc.
Definition at line 1141 of file Principal.cc.
ProcessConfiguration const & art::Principal::processConfiguration | ( | ) | const |
Definition at line 373 of file Principal.cc.
ProcessHistory const & art::Principal::processHistory | ( | ) | const |
Definition at line 363 of file Principal.cc.
Definition at line 1131 of file Principal.cc.
EDProductGetter const * art::Principal::productGetter | ( | ProductID const & | pid | ) | const |
Definition at line 297 of file Principal.cc.
void art::Principal::put | ( | BranchDescription const & | bd, |
std::unique_ptr< ProductProvenance const > && | pp, | ||
std::unique_ptr< EDProduct > && | edp, | ||
std::unique_ptr< RangeSet > && | rs | ||
) |
Definition at line 930 of file Principal.cc.
void art::Principal::readImmediate | ( | ) | const |
Definition at line 341 of file Principal.cc.
void art::Principal::removeCachedProduct | ( | ProductID | pid | ) | const |
Definition at line 417 of file Principal.cc.
ResultsAuxiliary const & art::Principal::resultsAux | ( | ) | const |
Definition at line 1046 of file Principal.cc.
RunNumber_t art::Principal::run | ( | ) | const |
Definition at line 1070 of file Principal.cc.
RunAuxiliary const & art::Principal::runAux | ( | ) | const |
Definition at line 1028 of file Principal.cc.
RunID const & art::Principal::runID | ( | ) | const |
Definition at line 1052 of file Principal.cc.
RunPrincipal const & art::Principal::runPrincipal | ( | ) | const |
Definition at line 914 of file Principal.cc.
cet::exempt_ptr< RunPrincipal const > art::Principal::runPrincipalExemptPtr | ( | ) | const |
Definition at line 854 of file Principal.cc.
RangeSet art::Principal::seenRanges | ( | ) | const |
Definition at line 878 of file Principal.cc.
|
protected |
Definition at line 272 of file Principal.cc.
void art::Principal::setRunPrincipal | ( | cet::exempt_ptr< RunPrincipal const > | rp | ) |
Definition at line 866 of file Principal.cc.
void art::Principal::setSubRunPrincipal | ( | cet::exempt_ptr< SubRunPrincipal const > | srp | ) |
Definition at line 872 of file Principal.cc.
size_t art::Principal::size | ( | ) | const |
Definition at line 379 of file Principal.cc.
SubRunNumber_t art::Principal::subRun | ( | ) | const |
Definition at line 1082 of file Principal.cc.
SubRunAuxiliary const & art::Principal::subRunAux | ( | ) | const |
Definition at line 1034 of file Principal.cc.
SubRunID art::Principal::subRunID | ( | ) | const |
Definition at line 1058 of file Principal.cc.
SubRunPrincipal const & art::Principal::subRunPrincipal | ( | ) | const |
Definition at line 844 of file Principal.cc.
SubRunPrincipal const * art::Principal::subRunPrincipalPtr | ( | ) | const |
Definition at line 860 of file Principal.cc.
Timestamp const & art::Principal::time | ( | ) | const |
Definition at line 1125 of file Principal.cc.
|
private |
Definition at line 690 of file Principal.cc.
void art::Principal::updateSeenRanges | ( | RangeSet const & | rs | ) |
Definition at line 884 of file Principal.cc.
|
private |
Definition at line 296 of file Principal.h.
|
private |
Definition at line 316 of file Principal.h.
|
private |
Definition at line 304 of file Principal.h.
|
private |
Definition at line 337 of file Principal.h.
|
mutableprivate |
Definition at line 307 of file Principal.h.
|
private |
Definition at line 312 of file Principal.h.
|
private |
Definition at line 342 of file Principal.h.
|
private |
Definition at line 343 of file Principal.h.
|
mutableprivate |
Definition at line 330 of file Principal.h.
|
private |
Definition at line 302 of file Principal.h.
|
private |
Definition at line 299 of file Principal.h.
|
private |
Definition at line 297 of file Principal.h.
|
private |
Definition at line 298 of file Principal.h.
|
private |
Definition at line 303 of file Principal.h.
|
private |
Definition at line 332 of file Principal.h.
|
private |
Definition at line 339 of file Principal.h.
|
private |
Definition at line 333 of file Principal.h.
|
private |
Definition at line 340 of file Principal.h.
|
mutableprivate |
Definition at line 326 of file Principal.h.
|
private |
Definition at line 334 of file Principal.h.
|
private |
Definition at line 341 of file Principal.h.