#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Principal/Principal.h"
Public Types | |
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 |
Protected Member Functions | |
BranchMapper & | branchMapper () |
DelayedReader & | productReader () |
void | fillGroup (std::unique_ptr< Group > &&group) |
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 | |
virtual ProcessHistoryID const & | processHistoryID () const =0 |
virtual void | setProcessHistoryID (ProcessHistoryID const &)=0 |
GroupQueryResultVec | matchingSequenceFromInputFile (SelectorBase const &) const |
GroupQueryResultVec | findGroupsForProduct (WrappedTypeID const &wrapped, SelectorBase const &, bool stopIfProcessHasMatch) const |
size_t | findGroupsFromInputFile (WrappedTypeID const &wrapped, SelectorBase const &, GroupQueryResultVec &results, bool stopIfProcessHasMatch) const |
size_t | findGroups (ProcessLookup const &, SelectorBase const &, GroupQueryResultVec &results, bool stopIfProcessHasMatch, TypeID wanted_wrapper=TypeID{}) const |
size_t | findGroupsForProcess (std::vector< ProductID > const &vpid, SelectorBase const &selector, GroupQueryResultVec &results, TypeID wanted_wrapper) const |
bool | presentFromSource (ProductID) const |
EDProductGetter const * | deferredGetter_ (ProductID const pid) const |
EDProductGetter const * | getEDProductGetterImpl (ProductID const pid) const final override |
Private Attributes | |
ProcessHistory | processHistory_ {} |
ProcessConfiguration const & | processConfiguration_ |
cet::exempt_ptr< ProductTable const > | presentProducts_ |
cet::exempt_ptr< ProductTable const > | producedProducts_ {nullptr} |
std::map< ProductID, std::shared_ptr< DeferredProductGetter const > > | deferredGetters_ {} |
bool | processHistoryModified_ {false} |
GroupCollection | groups_ {} |
std::unique_ptr< BranchMapper > | branchMapperPtr_ |
std::unique_ptr< DelayedReader > | store_ |
std::vector< std::unique_ptr< Principal > > | secondaryPrincipals_ {} |
int | nextSecondaryFileIdx_ {} |
Static Private Attributes | |
static ProcessHistory | previousProcessHistory_ |
static ProcessHistory | pendingProcessHistory_ |
static int | pendingProcessHistorySet_ |
Definition at line 48 of file Principal.h.
using art::Principal::const_iterator = GroupCollection::const_iterator |
Definition at line 52 of file Principal.h.
using art::Principal::GroupCollection = std::map<ProductID, std::unique_ptr<Group>> |
Definition at line 51 of file Principal.h.
using art::Principal::GroupQueryResultVec = std::vector<GroupQueryResult> |
Definition at line 54 of file Principal.h.
Definition at line 56 of file Principal.h.
Definition at line 53 of file Principal.h.
using art::Principal::size_type = GroupCollection::size_type |
Definition at line 55 of file Principal.h.
|
virtualdefaultnoexcept |
|
delete |
art::Principal::Principal | ( | ProcessConfiguration const & | , |
ProcessHistoryID const & | , | ||
cet::exempt_ptr< ProductTable const > | presentProducts, | ||
std::unique_ptr< BranchMapper > && | , | ||
std::unique_ptr< DelayedReader > && | |||
) |
Definition at line 100 of file Principal.h.
References secondaryPrincipals_.
void art::Principal::addToProcessHistory | ( | ) |
Referenced by cend(), art::RootOutput::write(), art::RootOutput::writeRun(), and art::RootOutput::writeSubRun().
|
inline |
|
inline |
Definition at line 144 of file Principal.h.
References branchMapperPtr_.
Referenced by fillGroup().
|
inlineprotected |
Definition at line 196 of file Principal.h.
References branchMapperPtr_.
|
pure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by cend(), and art::SourceHelper::makePtr().
|
inline |
|
inline |
Definition at line 174 of file Principal.h.
References addToProcessHistory(), branchType(), fillGroup(), groups_, parentageEnabled(), rangesEnabled(), and seenRanges().
|
private |
Referenced by fillGroup().
|
inline |
|
pure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by cend(), and art::RootInputTree::fillGroups().
Definition at line 209 of file Principal.h.
References ana::assert(), branchMapper(), deferredGetter_(), findGroups(), findGroupsForProcess(), findGroupsForProduct(), findGroupsFromInputFile(), art::BranchDescription::friendlyClassName(), getGroup(), getGroupForPtr(), getResolvedGroup(), hadd_reco_validation::group, groups_, matchingSequenceFromInputFile(), art::BranchDescription::moduleLabel(), BlessedPlots::pid, presentFromSource(), processHistoryID(), art::BranchDescription::processName(), art::BranchDescription::producedClassName(), art::BranchDescription::productID(), makeDatasetsPage::results, setProcessHistoryID(), store_, and tryNextSecondaryFile().
|
private |
Referenced by fillGroup().
|
private |
Referenced by fillGroup().
|
private |
Referenced by fillGroup().
|
private |
Referenced by fillGroup().
GroupQueryResult art::Principal::getByLabel | ( | WrappedTypeID const & | wrapped, |
std::string const & | label, | ||
std::string const & | productInstanceName, | ||
std::string const & | processName | ||
) | const |
GroupQueryResult art::Principal::getByProductID | ( | ProductID const | pid | ) | const |
Referenced by getEDProductGetterImpl().
GroupQueryResult art::Principal::getBySelector | ( | WrappedTypeID const & | wrapped, |
SelectorBase const & | |||
) | const |
|
inlineinherited |
Definition at line 25 of file EDProductGetterFinder.h.
References art::EDProductGetterFinder::getEDProductGetterImpl().
|
inlinefinaloverrideprivatevirtual |
Implements art::EDProductGetterFinder.
Definition at line 267 of file Principal.h.
References getByProductID(), and art::GroupQueryResult::result().
OutputHandle art::Principal::getForOutput | ( | ProductID | const, |
bool | resolveProd | ||
) | const |
|
protected |
Referenced by fillGroup(), and art::EventPrincipal::history().
|
protected |
Referenced by fillGroup().
GroupQueryResultVec art::Principal::getMany | ( | WrappedTypeID const & | wrapped, |
SelectorBase const & | |||
) | const |
GroupQueryResultVec art::Principal::getMatchingSequence | ( | SelectorBase const & | ) | const |
|
protected |
Referenced by fillGroup().
|
private |
Referenced by fillGroup().
|
pure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by cend().
|
private |
Referenced by fillGroup().
|
inline |
Definition at line 138 of file Principal.h.
References processConfiguration_.
|
inline |
|
privatepure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by fillGroup().
EDProductGetter const* art::Principal::productGetter | ( | ProductID const | pid | ) | const |
Referenced by art::SourceHelper::makePtr().
|
inlineprotected |
|
pure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by cend(), art::Run::put_(), and art::SubRun::put_().
|
inline |
Definition at line 112 of file Principal.h.
References groups_, readProvenanceImmediate(), and febshutoff_auto::val.
|
inline |
Definition at line 123 of file Principal.h.
References branchMapperPtr_, groups_, febshutoff_auto::val, and void().
Referenced by readImmediate().
|
pure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by cend().
|
privatepure virtual |
Implemented in art::EventPrincipal, art::SubRunPrincipal, art::RunPrincipal, and art::ResultsPrincipal.
Referenced by fillGroup().
|
inline |
Definition at line 106 of file Principal.h.
References cet::make_exempt_ptr(), and producedProducts_.
|
inline |
|
protected |
Referenced by fillGroup().
|
private |
Definition at line 291 of file Principal.h.
Referenced by branchMapper(), and readProvenanceImmediate().
|
mutableprivate |
Definition at line 282 of file Principal.h.
|
private |
Definition at line 287 of file Principal.h.
Referenced by begin(), cbegin(), cend(), end(), fillGroup(), readImmediate(), readProvenanceImmediate(), and size().
|
mutableprivate |
Definition at line 304 of file Principal.h.
|
staticprivate |
Definition at line 274 of file Principal.h.
|
staticprivate |
Definition at line 275 of file Principal.h.
|
private |
Definition at line 278 of file Principal.h.
|
staticprivate |
Definition at line 273 of file Principal.h.
|
private |
Definition at line 277 of file Principal.h.
Referenced by processConfiguration().
|
private |
Definition at line 272 of file Principal.h.
Referenced by processHistory().
|
mutableprivate |
Definition at line 284 of file Principal.h.
|
private |
Definition at line 279 of file Principal.h.
Referenced by setProducedProducts().
|
private |
Definition at line 300 of file Principal.h.
Referenced by addSecondaryPrincipal().
|
private |
Definition at line 295 of file Principal.h.
Referenced by fillGroup(), and productReader().