1 #ifndef DataFormats_Provenance_ProductRegistry_h
2 #define DataFormats_Provenance_ProductRegistry_h
18 #include "boost/array.hpp"
19 #include "boost/shared_ptr.hpp"
27 class ProductHolderIndexHelper;
51 void setFrozen(
bool initializeLookupInfo =
true)
const;
89 for(ProductRegistry::ProductList::const_iterator itEntry =
productList_.begin(),
91 itEntry != itEntryEnd; ++itEntry) {
92 iFunc(itEntry->second);
97 void print(std::ostream& os)
const;
unsigned short BranchListIndex
std::vector< std::string > missingDictionaries_
boost::shared_ptr< ProductHolderIndexHelper > lumiProductLookup_
void setProductProduced(BranchType branchType) const
ConstProductList & constProductList() const
void throwIfNotFrozen() const
std::vector< std::string > allBranchNames() const
std::map< BranchKey, BranchDescription > ProductList
ProductHolderIndex indexFrom(BranchID const &iID) const
BranchListIndex producedBranchListIndex() const
bool anyProducts(BranchType const brType) const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
std::string merge(ProductRegistry const &other, std::string const &fileName, BranchDescription::MatchMode parametersMustMatch=BranchDescription::Permissive, BranchDescription::MatchMode branchesMustMatch=BranchDescription::Permissive)
ProductHolderIndex eventNextIndexValue_
unsigned int ProductHolderIndex
ProductList::size_type size() const
ProductHolderIndex const & getNextIndexValue(BranchType branchType) const
void addLabelAlias(BranchDescription const &productdesc, std::string const &labelAlias, std::string const &instanceAlias)
virtual void addCalled(BranchDescription const &, bool iFromListener)
boost::shared_ptr< ProductHolderIndexHelper > const & productLookup(BranchType branchType) const
ProductList const & productList() const
void setProducedBranchListIndex(BranchListIndex blix) const
std::vector< std::string > & missingDictionaries() const
BranchListIndex producedBranchListIndex_
ProductHolderIndex lumiNextIndexValue_
void initializeTransients() const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
virtual ~ProductRegistry()
std::vector< BranchDescription const * > allBranchDescriptions() const
boost::array< bool, NumBranchTypes > productProduced_
void callForEachBranch(T const &iFunc)
void print(std::ostream &os) const
bool productProduced(BranchType branchType) const
ProductHolderIndex runNextIndexValue_
void setFrozen(bool initializeLookupInfo=true) const
void initializeLookupTables() const
boost::shared_ptr< ProductHolderIndexHelper > runProductLookup_
ProductList & productListUpdator()
bool anyProductProduced() const
void throwIfFrozen() const
void updateConstProductRegistry()
void updateFromInput(ProductList const &other)
boost::shared_ptr< ProductHolderIndexHelper > eventProductLookup_
std::map< BranchID, ProductHolderIndex > branchIDToIndex_
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
ConstProductList constProductList_
void addProduct(BranchDescription const &productdesc, bool iFromListener=false)
ProductHolderIndex & nextIndexValue(BranchType branchType) const
void copyProduct(BranchDescription const &productdesc)
std::map< BranchKey, ConstBranchDescription > ConstProductList