LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "KeptProvenance.h"
Public Member Functions | |
KeptProvenance (DropMetaData dropMetaData, bool dropMetaDataForDroppedData, std::set< ProductID > &branchesWithStoredHistory) | |
ProductProvenance const & | insert (ProductProvenance const &) |
ProductProvenance const & | emplace (ProductID, ProductStatus) |
void | setStatus (ProductProvenance const &, ProductStatus) |
auto | begin () const |
auto | end () const |
void | insertAncestors (ProductProvenance const &iGetParents, Principal const &principal) |
Private Attributes | |
DropMetaData const | dropMetaData_ |
bool const | dropMetaDataForDroppedData_ |
std::set< ProductID > & | branchesWithStoredHistory_ |
std::set< ProductProvenance > | provenance_ {} |
Definition at line 21 of file KeptProvenance.h.
detail::KeptProvenance::KeptProvenance | ( | DropMetaData | dropMetaData, |
bool | dropMetaDataForDroppedData, | ||
std::set< ProductID > & | branchesWithStoredHistory | ||
) |
Definition at line 7 of file KeptProvenance.cc.
References branchesWithStoredHistory_, and dropMetaDataForDroppedData_.
|
inline |
Definition at line 32 of file KeptProvenance.h.
References provenance_.
ProductProvenance const & detail::KeptProvenance::emplace | ( | ProductID | pid, |
ProductStatus | status | ||
) |
Definition at line 23 of file KeptProvenance.cc.
References provenance_.
|
inline |
Definition at line 37 of file KeptProvenance.h.
References insertAncestors(), and provenance_.
ProductProvenance const & detail::KeptProvenance::insert | ( | ProductProvenance const & | pp | ) |
Definition at line 17 of file KeptProvenance.cc.
References provenance_.
void detail::KeptProvenance::insertAncestors | ( | ProductProvenance const & | iGetParents, |
Principal const & | principal | ||
) |
Definition at line 29 of file KeptProvenance.cc.
References branchesWithStoredHistory_, art::Principal::branchMapper(), art::BranchMapper::branchToProductProvenance(), art::DropMetaData::DropAll, dropMetaData_, dropMetaDataForDroppedData_, art::DropMetaData::DropNone, art::Principal::getForOutput(), art::ProductProvenance::parentage(), art::Parentage::parents(), and provenance_.
Referenced by end().
void detail::KeptProvenance::setStatus | ( | ProductProvenance const & | key, |
ProductStatus | status | ||
) |
Definition at line 57 of file KeptProvenance.cc.
References art::errors::LogicError, art::ProductProvenance::productID(), and provenance_.
|
private |
Definition at line 48 of file KeptProvenance.h.
Referenced by insertAncestors(), and KeptProvenance().
|
private |
Definition at line 46 of file KeptProvenance.h.
Referenced by insertAncestors().
|
private |
Definition at line 47 of file KeptProvenance.h.
Referenced by insertAncestors(), and KeptProvenance().
|
private |
Definition at line 49 of file KeptProvenance.h.
Referenced by begin(), emplace(), end(), insert(), insertAncestors(), and setStatus().