35 std::shared_ptr<RunPrincipal>
const&
53 std::shared_ptr<RunPrincipal>
const&
61 std::shared_ptr<LuminosityBlockPrincipal>
67 <<
"PrincipalCache::merge\n" 68 <<
"Illegal attempt to merge run into cache\n" 69 <<
"There is no run in cache to merge with\n" 70 <<
"Contact a Framework Developer\n";
75 <<
"PrincipalCache::merge\n" 76 <<
"Illegal attempt to merge run into cache\n" 77 <<
"Reduced ProcessHistoryID inconsistent with the one already in cache\n" 78 <<
"Contact a Framework Developer\n";
82 if (aux->run() !=
run_) {
84 <<
"PrincipalCache::merge\n" 85 <<
"Illegal attempt to merge run into cache\n" 86 <<
"Run number inconsistent with run number already in cache\n" 87 <<
"Contact a Framework Developer\n";
97 <<
"PrincipalCache::insert\n" 98 <<
"Illegal attempt to insert run into cache\n" 99 <<
"Contact a Framework Developer\n";
114 unsigned int iStreamIndex = ep->streamID().value();
122 <<
"PrincipalCache::deleteRun\n" 123 <<
"Illegal attempt to delete run from cache\n" 124 <<
"There is no run in cache to delete\n" 125 <<
"Contact a Framework Developer\n";
130 <<
"PrincipalCache::deleteRun\n" 131 <<
"Illegal attempt to delete run from cache\n" 132 <<
"Run number or reduced ProcessHistoryID inconsistent with those in cache\n" 133 <<
"Contact a Framework Developer\n";
153 std::vector<std::shared_ptr<LuminosityBlockPrincipal>>
temp;
155 p->adjustIndexesAfterProductRegistryAddition();
163 <<
"PrincipalCache::runPrincipal\n" 164 <<
"Requested a run that is not in the cache (should never happen)\n" 165 <<
"Contact a Framework Developer\n";
171 <<
"PrincipalCache::lumiPrincipal or PrincipalCache::lumiPrincipalPtr\n" 172 <<
"Requested a luminosity block that is not in the cache (should never happen)\n" 173 <<
"Contact a Framework Developer\n";
void throwRunMissing() const
void insert(std::shared_ptr< RunPrincipal > rp)
void setNumberOfConcurrentPrincipals(PreallocationConfiguration const &)
std::shared_ptr< RunPrincipal > const & runPrincipalPtr() const
void throwLumiMissing() const
void adjustIndexesAfterProductRegistryAddition()
RunPrincipal & runPrincipal() const
edm::ReusableObjectHolder< LuminosityBlockPrincipal > lumiHolder_
std::vector< std::shared_ptr< EventPrincipal > > eventPrincipals_
ProcessHistoryID reducedInputProcessHistoryID_
ProcessHistoryID const & reducedProcessHistoryID(ProcessHistoryID const &fullID) const
void adjustEventsToNewProductRegistry(std::shared_ptr< ProductRegistry const > reg)
EventPrincipal & eventPrincipal(unsigned int iStreamIndex) const
void deleteRun(ProcessHistoryID const &phid, RunNumber_t run)
ProcessHistoryID inputProcessHistoryID_
bool adjustToNewProductRegistry(ProductRegistry const ®)
unsigned int numberOfStreams() const
std::shared_ptr< LuminosityBlockPrincipal > getAvailableLumiPrincipalPtr()
void adjustIndexesAfterProductRegistryAddition()
ProcessHistoryRegistry const * processHistoryRegistry_
std::shared_ptr< RunPrincipal > runPrincipal_
void merge(std::shared_ptr< RunAuxiliary > aux, std::shared_ptr< ProductRegistry const > reg)