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

#include "ProductTables.h"

Public Member Functions

 ProductTables (ProductDescriptions const &descriptions)
 
auto const & descriptions (BranchType const bt) const
 
auto & get (BranchType const bt)
 
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 34 of file ProductTables.h.

Constructor & Destructor Documentation

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

Definition at line 65 of file ProductTables.cc.

66  : tables_{createProductTables(descriptions)}
67 {}
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:70
auto const & descriptions(BranchType const bt) const
Definition: ProductTables.h:43
art::ProductTables::ProductTables ( )
explicitprivatedefault

Member Function Documentation

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

Definition at line 43 of file ProductTables.h.

Referenced by art::OutputModule::doSelectProducts().

44  {
45  return tables_[bt].descriptions;
46  }
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:70
auto& art::ProductTables::get ( BranchType const  bt)
inline

Definition at line 49 of file ProductTables.h.

Referenced by art::Principal::createGroupsForProducedProducts().

50  {
51  return tables_[bt];
52  }
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:70
auto const& art::ProductTables::get ( BranchType const  bt) const
inline

Definition at line 55 of file ProductTables.h.

56  {
57  return tables_[bt];
58  }
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:70
art::ProductTables art::ProductTables::invalid ( )
static

Definition at line 60 of file ProductTables.cc.

61 {
62  return ProductTables{};
63 }
bool art::ProductTables::isValid ( ) const
inline

Definition at line 60 of file ProductTables.h.

61  {
62  return isValid_;
63  }

Member Data Documentation

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

Definition at line 69 of file ProductTables.h.

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

Definition at line 70 of file ProductTables.h.


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