#include <OutputProcessBlockHelper.h>
Public Member Functions | |
void | fillCacheIndices (StoredProcessBlockHelper &) const |
ProcessBlockHelperBase const * | processBlockHelper () const |
std::vector< std::string > const & | processesWithProcessBlockProducts () const |
bool | productsFromInputKept () const |
void | updateAfterProductSelection (std::set< std::string > const &processesWithKeptProcessBlockProducts, ProcessBlockHelperBase const &) |
Private Member Functions | |
unsigned int | nAddedProcesses () const |
void | setProcessOffset (unsigned int iFile, unsigned int nInputProcesses, std::vector< std::vector< unsigned int >> const &nEntries, std::vector< unsigned int > &processOffset) const |
void | setStoredFileInProcessOffset (unsigned int iFile, unsigned int nInputProcesses, std::vector< std::vector< unsigned int >> const &nEntries, std::vector< unsigned int > &storedFileInProcessOffset) const |
void | setStoredProcessOffset (unsigned int nInputProcesses, std::vector< std::vector< unsigned int >> const &nEntries, std::vector< unsigned int > &storedProcessOffset) const |
std::vector< unsigned int > const & | translateFromStoredIndex () const |
Private Attributes | |
unsigned int | nAddedProcesses_ = 0 |
ProcessBlockHelperBase const * | processBlockHelper_ = nullptr |
std::vector< std::string > | processesWithProcessBlockProducts_ |
bool | productsFromInputKept_ = false |
std::vector< unsigned int > | translateFromStoredIndex_ |
Friends | |
class | TestOneOutput |
Definition at line 20 of file OutputProcessBlockHelper.h.
void edm::OutputProcessBlockHelper::fillCacheIndices | ( | StoredProcessBlockHelper & | storedProcessBlockHelper | ) | const |
Definition at line 54 of file OutputProcessBlockHelper.cc.
References cms::cuda::assert(), edm::ProcessBlockHelperBase::cacheEntriesPerFile(), edm::ProcessBlockHelperBase::cacheIndexVectorsPerFile(), mps_fire::i, edm::ProcessBlockHelperBase::invalidCacheIndex(), eostools::move(), nAddedProcesses_, edm::ProcessBlockHelperBase::nEntries(), edm::ProcessBlockHelperBase::processBlockCacheIndices(), processBlockHelper_, edm::StoredProcessBlockHelper::processesWithProcessBlockProducts(), productsFromInputKept_, edm::StoredProcessBlockHelper::setProcessBlockCacheIndices(), setProcessOffset(), setStoredFileInProcessOffset(), setStoredProcessOffset(), findQualityFiles::size, and translateFromStoredIndex_.
|
inlineprivate |
Definition at line 39 of file OutputProcessBlockHelper.h.
References nAddedProcesses_.
|
inline |
Definition at line 33 of file OutputProcessBlockHelper.h.
References processBlockHelper_.
Referenced by updateAfterProductSelection(), and edm::TestOneOutput::writeProcessBlock().
|
inline |
Definition at line 22 of file OutputProcessBlockHelper.h.
References processesWithProcessBlockProducts_.
Referenced by edm::PoolOutputModule::respondToOpenInputFile(), edm::TestLimitedOutput::writeProcessBlock(), edm::TestGlobalOutput::writeProcessBlock(), and edm::TestOneOutput::writeProcessBlock().
|
inline |
Definition at line 31 of file OutputProcessBlockHelper.h.
References productsFromInputKept_.
|
private |
Definition at line 207 of file OutputProcessBlockHelper.cc.
References hltrates_dqm_sourceclient-live_cfg::offset, and translateFromStoredIndex_.
Referenced by fillCacheIndices().
|
private |
Definition at line 222 of file OutputProcessBlockHelper.cc.
References cms::cuda::assert(), hltrates_dqm_sourceclient-live_cfg::offset, findQualityFiles::size, and translateFromStoredIndex_.
Referenced by fillCacheIndices().
|
private |
Definition at line 188 of file OutputProcessBlockHelper.cc.
References cms::cuda::assert(), hltrates_dqm_sourceclient-live_cfg::offset, and translateFromStoredIndex_.
Referenced by fillCacheIndices().
|
inlineprivate |
Definition at line 38 of file OutputProcessBlockHelper.h.
References translateFromStoredIndex_.
Referenced by edm::TestOneOutput::writeProcessBlock().
void edm::OutputProcessBlockHelper::updateAfterProductSelection | ( | std::set< std::string > const & | processesWithKeptProcessBlockProducts, |
ProcessBlockHelperBase const & | processBlockHelper | ||
) |
Definition at line 12 of file OutputProcessBlockHelper.cc.
References edm::ProcessBlockHelperBase::addedProcesses(), cms::cuda::assert(), spr::find(), nAddedProcesses_, edm::ProcessBlockHelperBase::nProcessesInFirstFile(), LaserDQM_cfg::process, processBlockHelper(), processBlockHelper_, edm::ProcessBlockHelperBase::processesWithProcessBlockProducts(), processesWithProcessBlockProducts_, productsFromInputKept_, edm::ProcessBlockHelperBase::topProcessesWithProcessBlockProducts(), and translateFromStoredIndex_.
Referenced by edm::core::OutputModuleCore::selectProducts().
|
friend |
Definition at line 37 of file OutputProcessBlockHelper.h.
|
private |
Definition at line 62 of file OutputProcessBlockHelper.h.
Referenced by fillCacheIndices(), nAddedProcesses(), and updateAfterProductSelection().
|
private |
Definition at line 70 of file OutputProcessBlockHelper.h.
Referenced by fillCacheIndices(), processBlockHelper(), and updateAfterProductSelection().
|
private |
Definition at line 57 of file OutputProcessBlockHelper.h.
Referenced by processesWithProcessBlockProducts(), and updateAfterProductSelection().
|
private |
Definition at line 72 of file OutputProcessBlockHelper.h.
Referenced by fillCacheIndices(), productsFromInputKept(), and updateAfterProductSelection().
|
private |
Definition at line 66 of file OutputProcessBlockHelper.h.
Referenced by fillCacheIndices(), setProcessOffset(), setStoredFileInProcessOffset(), setStoredProcessOffset(), translateFromStoredIndex(), and updateAfterProductSelection().