1 #ifndef FWCore_Framework_PrincipalCache_h
2 #define FWCore_Framework_PrincipalCache_h
31 #include "boost/shared_ptr.hpp"
38 class LuminosityBlockPrincipal;
41 class LuminosityBlockAuxiliary;
42 class ProductRegistry;
43 class PreallocationConfiguration;
65 void merge(boost::shared_ptr<RunAuxiliary>
aux, boost::shared_ptr<ProductRegistry const> reg);
66 void merge(boost::shared_ptr<LuminosityBlockAuxiliary>
aux, boost::shared_ptr<ProductRegistry const> reg);
69 void insert(boost::shared_ptr<RunPrincipal> rp);
70 void insert(boost::shared_ptr<LuminosityBlockPrincipal> lbp);
71 void insert(boost::shared_ptr<EventPrincipal> ep);
void throwRunMissing() const
boost::shared_ptr< RunPrincipal > const & runPrincipalPtr() const
void deleteLumi(ProcessHistoryID const &phid, RunNumber_t run, LuminosityBlockNumber_t lumi)
void merge(boost::shared_ptr< RunAuxiliary > aux, boost::shared_ptr< ProductRegistry const > reg)
void setNumberOfConcurrentPrincipals(PreallocationConfiguration const &)
std::vector< boost::shared_ptr< EventPrincipal > > eventPrincipals_
void throwLumiMissing() const
bool hasRunPrincipal() const
void insert(boost::shared_ptr< RunPrincipal > rp)
LuminosityBlockNumber_t lumi_
void adjustIndexesAfterProductRegistryAddition()
unsigned int LuminosityBlockNumber_t
void adjustEventsToNewProductRegistry(boost::shared_ptr< ProductRegistry const > reg)
RunPrincipal & runPrincipal() const
ProcessHistoryID reducedInputProcessHistoryID_
boost::shared_ptr< LuminosityBlockPrincipal > const & lumiPrincipalPtr() const
EventPrincipal & eventPrincipal(unsigned int iStreamIndex) const
boost::shared_ptr< RunPrincipal > runPrincipal_
void setProcessHistoryRegistry(ProcessHistoryRegistry const &phr)
bool hasLumiPrincipal() const
void deleteRun(ProcessHistoryID const &phid, RunNumber_t run)
ProcessHistoryID inputProcessHistoryID_
LuminosityBlockPrincipal & lumiPrincipal() const
boost::shared_ptr< LuminosityBlockPrincipal > lumiPrincipal_
ProcessHistoryRegistry const * processHistoryRegistry_