1 #ifndef FWCore_Framework_PrincipalCache_h
2 #define FWCore_Framework_PrincipalCache_h
39 class ProcessBlockPrincipal;
41 class LuminosityBlockPrincipal;
44 class LuminosityBlockAuxiliary;
45 class ProductRegistry;
46 class PreallocationConfiguration;
72 void merge(std::shared_ptr<RunAuxiliary>
aux, std::shared_ptr<ProductRegistry const> reg);
75 void insert(std::unique_ptr<ProcessBlockPrincipal>);
77 void insert(std::shared_ptr<RunPrincipal> rp);
78 void insert(std::unique_ptr<LuminosityBlockPrincipal> lbp);
79 void insert(std::shared_ptr<EventPrincipal> ep);
void throwRunMissing() const
std::unique_ptr< ProcessBlockPrincipal > processBlockPrincipal_
void setNumberOfConcurrentPrincipals(PreallocationConfiguration const &)
std::shared_ptr< RunPrincipal > const & runPrincipalPtr() const
void throwLumiMissing() const
bool hasRunPrincipal() const
LuminosityBlockNumber_t lumi_
void adjustIndexesAfterProductRegistryAddition()
ProcessBlockPrincipal & processBlockPrincipal(ProcessBlockType processBlockType) const
unsigned int LuminosityBlockNumber_t
std::unique_ptr< ProcessBlockPrincipal > inputProcessBlockPrincipal_
ProcessBlockPrincipal & inputProcessBlockPrincipal() const
RunPrincipal & runPrincipal() const
edm::ReusableObjectHolder< LuminosityBlockPrincipal > lumiHolder_
std::vector< std::shared_ptr< EventPrincipal > > eventPrincipals_
ProcessHistoryID reducedInputProcessHistoryID_
ProcessBlockPrincipal & processBlockPrincipal() const
void insert(std::unique_ptr< ProcessBlockPrincipal >)
void adjustEventsToNewProductRegistry(std::shared_ptr< ProductRegistry const > reg)
EventPrincipal & eventPrincipal(unsigned int iStreamIndex) const
void setProcessHistoryRegistry(ProcessHistoryRegistry const &phr)
void deleteRun(ProcessHistoryID const &phid, RunNumber_t run)
void insertForInput(std::unique_ptr< ProcessBlockPrincipal >)
ProcessHistoryID inputProcessHistoryID_
std::shared_ptr< LuminosityBlockPrincipal > getAvailableLumiPrincipalPtr()
ProcessHistoryRegistry const * processHistoryRegistry_
std::shared_ptr< RunPrincipal > runPrincipal_
void merge(std::shared_ptr< RunAuxiliary > aux, std::shared_ptr< ProductRegistry const > reg)