LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::NoDelayedReader Class Reference

#include "NoDelayedReader.h"

Inheritance diagram for art::NoDelayedReader:
art::DelayedReader

Public Member Functions

 ~NoDelayedReader () noexcept
 
 NoDelayedReader ()
 
std::unique_ptr< EDProductgetProduct (Group const *, ProductID, RangeSet &) const
 
void setPrincipal (cet::exempt_ptr< Principal >)
 
std::vector< ProductProvenancereadProvenance () const
 
bool isAvailableAfterCombine (ProductID) const
 
std::unique_ptr< PrincipalreadFromSecondaryFile (int &idx)
 

Private Member Functions

std::unique_ptr< EDProductgetProduct_ (Group const *, ProductID, RangeSet &) const
 

Detailed Description

Definition at line 14 of file NoDelayedReader.h.

Constructor & Destructor Documentation

art::NoDelayedReader::~NoDelayedReader ( )
defaultnoexcept
art::NoDelayedReader::NoDelayedReader ( )
default

Member Function Documentation

std::unique_ptr< EDProduct > art::DelayedReader::getProduct ( Group const *  grp,
ProductID  pid,
RangeSet rs 
) const
inherited

Definition at line 15 of file DelayedReader.cc.

18  {
19  return getProduct_(grp, pid, rs);
20  }
virtual std::unique_ptr< EDProduct > getProduct_(Group const *, ProductID, RangeSet &) const =0
std::unique_ptr< EDProduct > art::NoDelayedReader::getProduct_ ( Group const *  ,
ProductID  pid,
RangeSet  
) const
privatevirtual

Implements art::DelayedReader.

Definition at line 15 of file NoDelayedReader.cc.

References art::errors::LogicError.

18  {
19  throw Exception(errors::LogicError, "NoDelayedReader")
20  << "getProduct() called for ProductID: " << pid << '\n';
21  }
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
bool art::DelayedReader::isAvailableAfterCombine ( ProductID  pid) const
inherited

Definition at line 45 of file DelayedReader.cc.

46  {
48  }
virtual bool isAvailableAfterCombine_(ProductID) const
std::unique_ptr< Principal > art::DelayedReader::readFromSecondaryFile ( int &  idx)
inherited

Definition at line 57 of file DelayedReader.cc.

58  {
59  return readFromSecondaryFile_(idx);
60  }
virtual std::unique_ptr< Principal > readFromSecondaryFile_(int &idx)
vector< ProductProvenance > art::DelayedReader::readProvenance ( ) const
inherited

Definition at line 33 of file DelayedReader.cc.

34  {
35  return readProvenance_();
36  }
virtual std::vector< ProductProvenance > readProvenance_() const
void art::DelayedReader::setPrincipal ( cet::exempt_ptr< Principal principal)
inherited

Definition at line 23 of file DelayedReader.cc.

24  {
25  setPrincipal_(principal);
26  }
virtual void setPrincipal_(cet::exempt_ptr< Principal >)

The documentation for this class was generated from the following files: