#include <ProcessBlockHelper.h>
Public Member Functions | |
std::vector< unsigned int > const & | cacheEntriesPerFile () const final |
std::vector< unsigned int > const & | cacheIndexVectorsPerFile () const final |
void | clearAfterOutputFilesClose () |
bool | dropProcessesAndReorderStored (StoredProcessBlockHelper &storedProcessBlockHelper, std::set< std::string > const &processesToKeep, std::vector< unsigned int > const &nEntries, std::vector< unsigned int > &finalIndexToStoredIndex, std::vector< std::string > const &firstFileFinalProcesses) const |
void | fillFromPrimaryInput (StoredProcessBlockHelper const &storedProcessBlockHelper, std::vector< unsigned int > const &nEntries) |
bool | firstFileDropProcessesAndReorderStored (StoredProcessBlockHelper &storedProcessBlockHelper, std::set< std::string > const &processesToKeep, std::vector< unsigned int > const &nEntries, std::vector< unsigned int > &finalIndexToStoredIndex) const |
bool | initializedFromInput () const |
void | initializeFromPrimaryInput (StoredProcessBlockHelper const &storedProcessBlockHelper) |
std::vector< std::vector < unsigned int > > const & | nEntries () const final |
unsigned int | nProcessesInFirstFile () const final |
unsigned int | outerOffset () const final |
std::vector< std::vector < unsigned int > > const & | processBlockCacheIndices () const final |
unsigned int | processBlockIndex (std::string const &processName, EventToProcessBlockIndexes const &) const final |
ProcessBlockHelperBase const * | topProcessBlockHelper () const final |
std::vector< std::string > const & | topProcessesWithProcessBlockProducts () const final |
Public Member Functions inherited from edm::ProcessBlockHelperBase | |
std::vector< std::string > const & | addedProcesses () const |
void | emplaceBackAddedProcessName (std::string const &processName) |
void | emplaceBackProcessName (std::string const &processName) |
std::vector< std::string > const & | processesWithProcessBlockProducts () const |
std::string | selectProcess (ProductRegistry const &, ProductLabels const &, TypeID const &) const |
void | setAddedProcesses (std::vector< std::string > const &val) |
void | setProcessesWithProcessBlockProducts (std::vector< std::string > const &val) |
void | updateForNewProcess (ProductRegistry const &, std::string const &processName) |
virtual | ~ProcessBlockHelperBase () |
Private Member Functions | |
void | dropProcessesAndReorderStoredImpl (StoredProcessBlockHelper &storedProcessBlockHelper, std::vector< std::string > &finalProcesses, std::vector< unsigned int > const &nEntries, std::vector< unsigned int > const &finalIndexToStoredIndex) const |
void | fillEntriesFromPrimaryInput (std::vector< unsigned int > nEntries) |
void | fillFromPrimaryInputWhenNotEmpty (std::vector< std::string > const &storedProcesses, std::vector< unsigned int > const &storedCacheIndices, std::vector< unsigned int > const &nEntries) |
Private Attributes | |
std::vector< unsigned int > | cacheEntriesPerFile_ |
unsigned int | cacheIndexOffset_ = 0 |
std::vector< unsigned int > | cacheIndexVectorsPerFile_ |
bool | initializedFromInput_ = false |
std::vector< std::vector < unsigned int > > | nEntries_ |
unsigned int | nProcessesInFirstFile_ = 0 |
unsigned int | outerOffset_ = 0 |
std::vector< std::vector < unsigned int > > | processBlockCacheIndices_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ProcessBlockHelperBase | |
static constexpr unsigned int | invalidCacheIndex () |
static constexpr unsigned int | invalidProcessIndex () |
Definition at line 19 of file ProcessBlockHelper.h.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 30 of file ProcessBlockHelper.cc.
References cacheEntriesPerFile_.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 26 of file ProcessBlockHelper.cc.
References cacheIndexVectorsPerFile_.
void edm::ProcessBlockHelper::clearAfterOutputFilesClose | ( | ) |
Definition at line 158 of file ProcessBlockHelper.cc.
References cacheEntriesPerFile_, cacheIndexOffset_, cacheIndexVectorsPerFile_, nEntries_, outerOffset_, and processBlockCacheIndices_.
bool edm::ProcessBlockHelper::dropProcessesAndReorderStored | ( | StoredProcessBlockHelper & | storedProcessBlockHelper, |
std::set< std::string > const & | processesToKeep, | ||
std::vector< unsigned int > const & | nEntries, | ||
std::vector< unsigned int > & | finalIndexToStoredIndex, | ||
std::vector< std::string > const & | firstFileFinalProcesses | ||
) | const |
Definition at line 83 of file ProcessBlockHelper.cc.
References dropProcessesAndReorderStoredImpl(), edm::StoredProcessBlockHelper::processesWithProcessBlockProducts(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::RootFile::dropProcessesAndReorder().
|
private |
Definition at line 170 of file ProcessBlockHelper.cc.
References cms::cuda::assert(), edm::ProcessBlockHelperBase::invalidCacheIndex(), dqmiolumiharvest::j, isotrackApplyRegressor::k, eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, edm::StoredProcessBlockHelper::processBlockCacheIndices(), edm::StoredProcessBlockHelper::processesWithProcessBlockProducts(), edm::StoredProcessBlockHelper::setProcessBlockCacheIndices(), and edm::StoredProcessBlockHelper::setProcessesWithProcessBlockProducts().
Referenced by dropProcessesAndReorderStored(), and firstFileDropProcessesAndReorderStored().
|
private |
Definition at line 271 of file ProcessBlockHelper.cc.
References cacheEntriesPerFile_, cacheIndexOffset_, eostools::move(), and nEntries_.
Referenced by fillFromPrimaryInput(), and fillFromPrimaryInputWhenNotEmpty().
void edm::ProcessBlockHelper::fillFromPrimaryInput | ( | StoredProcessBlockHelper const & | storedProcessBlockHelper, |
std::vector< unsigned int > const & | nEntries | ||
) |
Definition at line 132 of file ProcessBlockHelper.cc.
References cacheIndexVectorsPerFile_, fillEntriesFromPrimaryInput(), fillFromPrimaryInputWhenNotEmpty(), edm::ProcessBlockHelperBase::invalidCacheIndex(), eostools::move(), nProcessesInFirstFile_, outerOffset_, edm::StoredProcessBlockHelper::processBlockCacheIndices(), processBlockCacheIndices_, and edm::StoredProcessBlockHelper::processesWithProcessBlockProducts().
|
private |
Definition at line 224 of file ProcessBlockHelper.cc.
References cms::cuda::assert(), cacheIndexOffset_, cacheIndexVectorsPerFile_, fillEntriesFromPrimaryInput(), edm::ProcessBlockHelperBase::invalidCacheIndex(), edm::ProcessBlockHelperBase::invalidProcessIndex(), dqmiolumiharvest::j, isotrackApplyRegressor::k, eostools::move(), nProcessesInFirstFile_, outerOffset_, processBlockCacheIndices_, edm::ProcessBlockHelperBase::processesWithProcessBlockProducts(), and findQualityFiles::size.
Referenced by fillFromPrimaryInput().
bool edm::ProcessBlockHelper::firstFileDropProcessesAndReorderStored | ( | StoredProcessBlockHelper & | storedProcessBlockHelper, |
std::set< std::string > const & | processesToKeep, | ||
std::vector< unsigned int > const & | nEntries, | ||
std::vector< unsigned int > & | finalIndexToStoredIndex | ||
) | const |
Definition at line 47 of file ProcessBlockHelper.cc.
References dropProcessesAndReorderStoredImpl(), LaserDQM_cfg::process, and edm::StoredProcessBlockHelper::processesWithProcessBlockProducts().
Referenced by edm::RootFile::dropProcessesAndReorder().
|
inline |
Definition at line 31 of file ProcessBlockHelper.h.
References initializedFromInput_.
Referenced by edm::RootFile::dropProcessesAndReorder().
void edm::ProcessBlockHelper::initializeFromPrimaryInput | ( | StoredProcessBlockHelper const & | storedProcessBlockHelper | ) |
Definition at line 122 of file ProcessBlockHelper.cc.
References cms::cuda::assert(), relativeConstraints::empty, initializedFromInput_, nProcessesInFirstFile_, edm::ProcessBlockHelperBase::processesWithProcessBlockProducts(), edm::StoredProcessBlockHelper::processesWithProcessBlockProducts(), and edm::ProcessBlockHelperBase::setProcessesWithProcessBlockProducts().
Referenced by edm::RootFile::RootFile().
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 24 of file ProcessBlockHelper.cc.
References nEntries_.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 18 of file ProcessBlockHelper.cc.
References nProcessesInFirstFile_.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 42 of file ProcessBlockHelper.cc.
References outerOffset_.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 20 of file ProcessBlockHelper.cc.
References processBlockCacheIndices_.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 32 of file ProcessBlockHelper.cc.
References edm::EventToProcessBlockIndexes::index(), edm::ProcessBlockHelperBase::invalidCacheIndex(), nProcessesInFirstFile_, processBlockCacheIndices_, and edm::ProcessBlockHelperBase::processesWithProcessBlockProducts().
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 12 of file ProcessBlockHelper.cc.
|
finalvirtual |
Implements edm::ProcessBlockHelperBase.
Definition at line 14 of file ProcessBlockHelper.cc.
References edm::ProcessBlockHelperBase::processesWithProcessBlockProducts().
|
private |
Definition at line 100 of file ProcessBlockHelper.h.
Referenced by cacheEntriesPerFile(), clearAfterOutputFilesClose(), and fillEntriesFromPrimaryInput().
|
private |
Definition at line 114 of file ProcessBlockHelper.h.
Referenced by clearAfterOutputFilesClose(), fillEntriesFromPrimaryInput(), and fillFromPrimaryInputWhenNotEmpty().
|
private |
Definition at line 99 of file ProcessBlockHelper.h.
Referenced by cacheIndexVectorsPerFile(), clearAfterOutputFilesClose(), fillFromPrimaryInput(), and fillFromPrimaryInputWhenNotEmpty().
|
private |
Definition at line 104 of file ProcessBlockHelper.h.
Referenced by initializedFromInput(), and initializeFromPrimaryInput().
|
private |
Definition at line 94 of file ProcessBlockHelper.h.
Referenced by clearAfterOutputFilesClose(), fillEntriesFromPrimaryInput(), and nEntries().
|
private |
Definition at line 102 of file ProcessBlockHelper.h.
Referenced by fillFromPrimaryInput(), fillFromPrimaryInputWhenNotEmpty(), initializeFromPrimaryInput(), nProcessesInFirstFile(), and processBlockIndex().
|
private |
Definition at line 110 of file ProcessBlockHelper.h.
Referenced by clearAfterOutputFilesClose(), fillFromPrimaryInput(), fillFromPrimaryInputWhenNotEmpty(), and outerOffset().
|
private |
Definition at line 87 of file ProcessBlockHelper.h.
Referenced by clearAfterOutputFilesClose(), fillFromPrimaryInput(), fillFromPrimaryInputWhenNotEmpty(), processBlockCacheIndices(), and processBlockIndex().