LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::ProductTables Class Reference

#include "ProductTables.h"

Public Member Functions

 ProductTables (ProductDescriptions const &descriptions)
 
 ProductTables (ProductDescriptions const &descriptions, std::array< AvailableProducts_t, NumBranchTypes > const &)
 
auto const & get (BranchType const bt) const
 
bool isValid () const
 

Static Public Member Functions

static ProductTables invalid ()
 

Private Member Functions

 ProductTables ()=default
 

Private Attributes

bool isValid_ {false}
 
std::array< ProductTable, NumBranchTypestables_ {{}}
 

Detailed Description

Definition at line 33 of file ProductTables.h.

Constructor & Destructor Documentation

art::ProductTables::ProductTables ( ProductDescriptions const &  descriptions)
explicit

Definition at line 82 of file ProductTables.cc.

83  : tables_{createProductTables(descriptions)}
84 {}
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:55
art::ProductTables::ProductTables ( ProductDescriptions const &  descriptions,
std::array< AvailableProducts_t, NumBranchTypes > const &  availableProducts 
)
explicit

Definition at line 86 of file ProductTables.cc.

89  : tables_{createProductTables(descriptions, availableProducts)}
90 {}
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:55
art::ProductTables::ProductTables ( )
explicitprivatedefault

Member Function Documentation

auto const& art::ProductTables::get ( BranchType const  bt) const
inline

Definition at line 42 of file ProductTables.h.

Referenced by art::EventProcessor::readEvent(), art::EventProcessor::readRun(), and art::EventProcessor::readSubRun().

43  {
44  return tables_[bt];
45  }
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:55
art::ProductTables art::ProductTables::invalid ( )
static

Definition at line 77 of file ProductTables.cc.

78 {
79  return ProductTables{};
80 }
bool art::ProductTables::isValid ( ) const
inline

Definition at line 47 of file ProductTables.h.

48  {
49  return isValid_;
50  }

Member Data Documentation

bool art::ProductTables::isValid_ {false}
private

Definition at line 54 of file ProductTables.h.

std::array<ProductTable, NumBranchTypes> art::ProductTables::tables_ {{}}
private

Definition at line 55 of file ProductTables.h.


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