LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "BranchMapper.h"
Public Types | |
using | result_t = cet::exempt_ptr< ProductProvenance const > |
Public Member Functions | |
BranchMapper (BranchMapper const &)=delete | |
BranchMapper & | operator= (BranchMapper const &)=delete |
BranchMapper (bool delayedRead=false) | |
virtual | ~BranchMapper ()=default |
void | write (std::ostream &) const |
result_t | branchToProductProvenance (ProductID const) const |
result_t | insert (std::unique_ptr< ProductProvenance const > &&) |
void | setDelayedRead (bool const value) |
Private Types | |
using | eiSet = std::map< ProductID, cet::value_ptr< ProductProvenance const >> |
Private Member Functions | |
void | readProvenance () const |
virtual void | readProvenance_ () const |
Private Attributes | |
eiSet | entryInfoSet_ {} |
bool | delayedRead_ |
Definition at line 32 of file BranchMapper.h.
|
private |
Definition at line 54 of file BranchMapper.h.
using art::BranchMapper::result_t = cet::exempt_ptr<ProductProvenance const> |
Definition at line 37 of file BranchMapper.h.
|
delete |
|
explicit |
Definition at line 11 of file BranchMapper.cc.
|
virtualdefault |
BranchMapper::result_t BranchMapper::branchToProductProvenance | ( | ProductID const | pid | ) | const |
Definition at line 33 of file BranchMapper.cc.
References entryInfoSet_, and readProvenance().
Referenced by art::detail::KeptProvenance::insertAncestors(), art::markAncestors(), and art::ProvenanceCheckerOutput::write().
BranchMapper::result_t BranchMapper::insert | ( | std::unique_ptr< ProductProvenance const > && | pp_ptr | ) |
Definition at line 24 of file BranchMapper.cc.
References entryInfoSet_, and readProvenance().
Referenced by art::ResultsPrincipal::put(), art::RunPrincipal::put(), art::SubRunPrincipal::put(), art::EventPrincipal::put(), and art::BranchMapperWithReader::readProvenance_().
|
delete |
|
private |
Definition at line 15 of file BranchMapper.cc.
References delayedRead_, and readProvenance_().
Referenced by branchToProductProvenance(), and insert().
|
inlineprivatevirtual |
Reimplemented in art::BranchMapperWithReader.
Definition at line 61 of file BranchMapper.h.
Referenced by readProvenance().
|
inline |
Definition at line 48 of file BranchMapper.h.
References delayedRead_, and fhicl::detail::atom::value().
void art::BranchMapper::write | ( | std::ostream & | ) | const |
Referenced by art::operator<<().
|
mutableprivate |
Definition at line 57 of file BranchMapper.h.
Referenced by readProvenance(), and setDelayedRead().
|
private |
Definition at line 56 of file BranchMapper.h.
Referenced by branchToProductProvenance(), and insert().