#include <LuminosityBlock.h>
Public Types | |
typedef unsigned long | CacheIdentifier_t |
Public Member Functions | |
CacheIdentifier_t | cacheIdentifier () const |
template<typename PROD , typename... Args> | |
void | emplace (EDPutToken token, Args &&... args) |
template<typename PROD , typename... Args> | |
void | emplace (EDPutTokenT< PROD > token, Args &&... args) |
puts a new product More... | |
template<typename PROD > | |
PROD const & | get (EDGetTokenT< PROD > token) const noexcept(false) |
void | getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
same as above, but using the InputTag class More... | |
template<typename PROD > | |
bool | getByLabel (std::string const &label, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByToken (EDGetToken token, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const |
template<typename PROD > | |
Handle< PROD > | getHandle (EDGetTokenT< PROD > token) const |
template<typename PROD > | |
void | getManyByType (std::vector< Handle< PROD >> &results) const |
Provenance | getProvenance (BranchID const &theID) const |
Run const & | getRun () const |
LuminosityBlockIndex | index () const |
void | labelsForToken (EDGetToken const &iToken, ProductLabels &oLabels) const |
LuminosityBlock (LuminosityBlockPrincipal const &lbp, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd) | |
LuminosityBlockAuxiliary const & | luminosityBlockAuxiliary () const override |
ModuleCallingContext const * | moduleCallingContext () const |
ProcessHistory const & | processHistory () const |
ProcessHistoryID const & | processHistoryID () const |
template<typename PROD > | |
void | put (EDPutToken token, std::unique_ptr< PROD > product) |
template<typename PROD > | |
void | put (EDPutTokenT< PROD > token, std::unique_ptr< PROD > product) |
template<typename PROD > | |
void | put (std::unique_ptr< PROD > product) |
Put a new product. More... | |
template<typename PROD > | |
void | put (std::unique_ptr< PROD > product, std::string const &productInstanceName) |
Put a new product with a 'product instance name'. More... | |
void | setConsumer (EDConsumerBase const *iConsumer) |
void | setProducer (ProducerBase const *iProducer) |
void | setSharedResourcesAcquirer (SharedResourcesAcquirer *iResourceAcquirer) |
~LuminosityBlock () override | |
Public Member Functions inherited from edm::LuminosityBlockBase | |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
template<class T > | |
bool | getByLabel (const InputTag &tag, Handle< T > &result) const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
same as above, but using the InputTag class More... | |
LuminosityBlockID | id () const |
LuminosityBlockNumber_t | luminosityBlock () const |
LuminosityBlockBase () | |
RunNumber_t | run () const |
virtual | ~LuminosityBlockBase () |
Private Types | |
typedef std::vector< edm::propagate_const< std::unique_ptr< WrapperBase > > > | ProductPtrVec |
Private Member Functions | |
void | commit_ (std::vector< edm::ProductResolverIndex > const &iShouldPut) |
template<typename PROD , typename... Args> | |
void | emplaceImpl (EDPutToken::value_type token, Args &&... args) |
void | fillRun () const |
BasicHandle | getByLabelImpl (std::type_info const &iWrapperType, std::type_info const &iProductType, InputTag const &iTag) const override |
LuminosityBlockPrincipal const & | luminosityBlockPrincipal () const |
template<typename PROD > | |
void | putImpl (EDPutToken::value_type token, std::unique_ptr< PROD > product) |
ProductPtrVec & | putProducts () |
ProductPtrVec const & | putProducts () const |
Private Attributes | |
LuminosityBlockAuxiliary const & | aux_ |
ModuleCallingContext const * | moduleCallingContext_ |
PrincipalGetAdapter | provRecorder_ |
ProductPtrVec | putProducts_ |
std::optional< Run > | run_ |
Static Private Attributes | |
static const std::string | emptyString_ |
Friends | |
class | ProducerBase |
class | RawInputSource |
template<typename T > | |
class | stream::ProducingModuleAdaptorBase |
Definition at line 50 of file LuminosityBlock.h.
typedef unsigned long edm::LuminosityBlock::CacheIdentifier_t |
If you are caching data from the LuminosityBlock, you should also keep this number. If this number changes then you know that the data you have cached is invalid. The value of '0' will never be returned so you can use that to denote that you have not yet checked the value.
Definition at line 71 of file LuminosityBlock.h.
|
private |
Definition at line 164 of file LuminosityBlock.h.
LuminosityBlock::LuminosityBlock | ( | LuminosityBlockPrincipal const & | lbp, |
ModuleDescription const & | md, | ||
ModuleCallingContext const * | moduleCallingContext, | ||
bool | isAtEnd | ||
) |
Definition at line 12 of file LuminosityBlock.cc.
|
override |
Definition at line 18 of file LuminosityBlock.cc.
LuminosityBlock::CacheIdentifier_t LuminosityBlock::cacheIdentifier | ( | ) | const |
Definition at line 22 of file LuminosityBlock.cc.
References edm::Principal::cacheIdentifier(), and luminosityBlockPrincipal().
|
private |
Definition at line 65 of file LuminosityBlock.cc.
References edm::get_underlying_safe(), mps_fire::i, index(), edm::isEndTransition(), luminosityBlockPrincipal(), eostools::move(), AlCaHLTBitMon_ParallelJobs::p, edm::PrincipalGetAdapter::principal(), provRecorder_, edm::LuminosityBlockPrincipal::put(), putProducts(), edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex(), and edm::PrincipalGetAdapter::transition().
void LuminosityBlock::emplace | ( | EDPutToken | token, |
Args &&... | args | ||
) |
Definition at line 254 of file LuminosityBlock.h.
References writedatasetfile::args, emplaceImpl(), edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), PROD, provRecorder_, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), edm::principal_get_adapter_detail::throwOnPutOfWrongType(), unpackBuffers-CaloStage2::token, and UNLIKELY.
void LuminosityBlock::emplace | ( | EDPutTokenT< PROD > | token, |
Args &&... | args | ||
) |
puts a new product
Definition at line 246 of file LuminosityBlock.h.
References writedatasetfile::args, PROD, edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.
Referenced by ExternalGeneratorFilter::globalBeginLuminosityBlockProduce(), RawPCCProducer::globalEndLuminosityBlockProduce(), and ExternalGeneratorFilter::globalEndLuminosityBlockProduce().
|
private |
Definition at line 267 of file LuminosityBlock.h.
References writedatasetfile::args, cms::cuda::assert(), index(), eostools::move(), putProducts(), findQualityFiles::size, relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.
Referenced by emplace().
|
private |
Definition at line 40 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::getConsumer(), edm::PrincipalGetAdapter::getSharedResourcesAcquirer(), luminosityBlockPrincipal(), moduleCallingContext_, edm::PrincipalGetAdapter::moduleDescription(), provRecorder_, and run_.
Referenced by getRun().
|
noexcept |
Definition at line 356 of file LuminosityBlock.h.
References eostools::move(), PROD, edm::PRODUCT_TYPE, edm::principal_get_adapter_detail::throwOnPrematureRead(), unpackBuffers-CaloStage2::token, and UNLIKELY.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void LuminosityBlock::getAllStableProvenance | ( | std::vector< StableProvenance const * > & | provenances | ) | const |
Definition at line 61 of file LuminosityBlock.cc.
References edm::Principal::getAllStableProvenance(), and luminosityBlockPrincipal().
bool LuminosityBlock::getByLabel | ( | InputTag const & | tag, |
Handle< PROD > & | result | ||
) | const |
same as above, but using the InputTag class
Definition at line 304 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByLabel_(), moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, GlobalPosition_Frontier_DevDB_cff::tag, and edm::principal_get_adapter_detail::throwOnPrematureRead().
bool LuminosityBlock::getByLabel | ( | std::string const & | label, |
Handle< PROD > & | result | ||
) | const |
Definition at line 281 of file LuminosityBlock.h.
References emptyString_, label, and mps_fire::result.
Referenced by pat::PATTriggerProducer::beginLuminosityBlock(), and LumiCalculator::endLuminosityBlock().
bool LuminosityBlock::getByLabel | ( | std::string const & | label, |
std::string const & | productInstanceName, | ||
Handle< PROD > & | result | ||
) | const |
Definition at line 286 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), emptyString_, edm::PrincipalGetAdapter::getByLabel_(), label, moduleCallingContext_, eostools::move(), PROD, provRecorder_, mps_fire::result, and edm::principal_get_adapter_detail::throwOnPrematureRead().
|
overrideprivatevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 99 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::getByLabel_(), h, moduleCallingContext_, and provRecorder_.
bool LuminosityBlock::getByToken | ( | EDGetToken | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 318 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
Referenced by pat::PATTriggerEventProducer::beginLuminosityBlock(), BrilClient::dqmEndLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), CorrPCCProducer::endLuminosityBlock(), GetLumi::getRawValue(), RawPCCProducer::globalEndLuminosityBlockProduce(), and GenWeightsTableProducer::streamBeginLuminosityBlock().
bool LuminosityBlock::getByToken | ( | EDGetTokenT< PROD > | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 332 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
Handle< PROD > LuminosityBlock::getHandle | ( | EDGetTokenT< PROD > | token | ) | const |
Definition at line 346 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, edm::principal_get_adapter_detail::throwOnPrematureRead(), unpackBuffers-CaloStage2::token, and UNLIKELY.
void LuminosityBlock::getManyByType | ( | std::vector< Handle< PROD >> & | results | ) | const |
Definition at line 366 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getManyByType(), moduleCallingContext_, PROD, provRecorder_, bookConverter::results, and edm::principal_get_adapter_detail::throwOnPrematureRead().
Provenance LuminosityBlock::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 57 of file LuminosityBlock.cc.
References edm::Principal::getProvenance(), luminosityBlockPrincipal(), and moduleCallingContext_.
|
inline |
Definition at line 106 of file LuminosityBlock.h.
References fillRun(), and run_.
Referenced by LumiCalculator::endLuminosityBlock(), and edm::Event::getRun().
LuminosityBlockIndex LuminosityBlock::index | ( | ) | const |
Definition at line 20 of file LuminosityBlock.cc.
References edm::LuminosityBlockPrincipal::index(), and luminosityBlockPrincipal().
Referenced by commit_(), emplaceImpl(), RandomEngineStateProducer::globalBeginLuminosityBlockProduce(), ExternalGeneratorFilter::globalBeginLuminosityBlockProduce(), PedestalTask::globalEndLuminosityBlock(), TPTask::globalEndLuminosityBlock(), RawTask::globalEndLuminosityBlock(), RecHitTask::globalEndLuminosityBlock(), DigiTask::globalEndLuminosityBlock(), LaserTask::globalEndLuminosityBlock(), SiStripMonitorDigi::globalEndLuminosityBlock(), BeautifulSoup.PageElement::insert(), edm::global::impl::LuminosityBlockSummaryCacheHolder< T, S >::maybeClearCache(), edm::limited::impl::LuminosityBlockSummaryCacheHolder< T, S >::maybeClearCache(), put(), putImpl(), ExternalGeneratorFilter::streamBeginLuminosityBlock(), and ExternalGeneratorFilter::streamEndLuminosityBlockSummary().
|
inline |
Definition at line 146 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::labelsForToken(), and provRecorder_.
|
inlineoverridevirtual |
Implements edm::LuminosityBlockBase.
Definition at line 59 of file LuminosityBlock.h.
References aux_.
Referenced by PixelLumiDQM::beginLuminosityBlock(), and PixelLumiDQM::endLuminosityBlock().
|
private |
Definition at line 53 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by cacheIdentifier(), commit_(), fillRun(), getAllStableProvenance(), getProvenance(), index(), and processHistoryID().
|
inline |
ProcessHistory const & LuminosityBlock::processHistory | ( | ) | const |
Definition at line 97 of file LuminosityBlock.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
ProcessHistoryID const & LuminosityBlock::processHistoryID | ( | ) | const |
Definition at line 93 of file LuminosityBlock.cc.
References luminosityBlockPrincipal(), and edm::Principal::processHistoryID().
void LuminosityBlock::put | ( | EDPutToken | token, |
std::unique_ptr< PROD > | product | ||
) |
Definition at line 228 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), eostools::move(), PROD, edm::PrincipalGetAdapter::productInstanceLabel(), provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), edm::principal_get_adapter_detail::throwOnPutOfWrongType(), unpackBuffers-CaloStage2::token, and UNLIKELY.
void LuminosityBlock::put | ( | EDPutTokenT< PROD > | token, |
std::unique_ptr< PROD > | product | ||
) |
Definition at line 215 of file LuminosityBlock.h.
References eostools::move(), PROD, edm::PrincipalGetAdapter::productInstanceLabel(), provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), edm::principal_get_adapter_detail::throwOnPutOfUninitializedToken(), unpackBuffers-CaloStage2::token, and UNLIKELY.
|
inline |
Put a new product.
Definition at line 115 of file LuminosityBlock.h.
References eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmservices::DQMProtobufReader::beginLuminosityBlock(), LumiProducer::beginLuminosityBlockProduce(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), AlcaBeamSpotProducer::endLuminosityBlockProduce(), EventCountProducer::endLuminosityBlockProduce(), AlcaPCCIntegrator::endLuminosityBlockProduce(), AlcaPCCProducer::endLuminosityBlockProduce(), SiPixelStatusProducer::endLuminosityBlockProduce(), RandomEngineStateProducer::globalBeginLuminosityBlockProduce(), ExpressLumiProducer::writeEmptyProductForEntry(), ExpressLumiProducer::writeProductsForEntry(), and LumiProducer::writeProductsForEntry().
void LuminosityBlock::put | ( | std::unique_ptr< PROD > | product, |
std::string const & | productInstanceName | ||
) |
Put a new product with a 'product instance name'.
Definition at line 205 of file LuminosityBlock.h.
References edm::PrincipalGetAdapter::getPutTokenIndex(), index(), eostools::move(), PROD, provRecorder_, putImpl(), edm::principal_get_adapter_detail::throwOnPutOfNullProduct(), and UNLIKELY.
|
private |
Definition at line 192 of file LuminosityBlock.h.
References cms::cuda::assert(), index(), eostools::move(), putProducts(), findQualityFiles::size, relativeConstraints::value, and pfClustersFromHGC3DClusters_cfi::wp.
Referenced by put().
|
inlineprivate |
Definition at line 165 of file LuminosityBlock.h.
References putProducts_.
Referenced by commit_(), emplaceImpl(), and putImpl().
|
inlineprivate |
void LuminosityBlock::setConsumer | ( | EDConsumerBase const * | iConsumer | ) |
Definition at line 26 of file LuminosityBlock.cc.
References provRecorder_, run_, and edm::PrincipalGetAdapter::setConsumer().
Referenced by edm::EDAnalyzer::doBeginLuminosityBlock(), edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDAnalyzerBase::doBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doBeginLuminosityBlock(), edm::limited::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::limited::EDFilterBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginLuminosityBlock(), edm::EDAnalyzer::doEndLuminosityBlock(), edm::EDProducer::doEndLuminosityBlock(), edm::EDFilter::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDAnalyzerBase::doEndLuminosityBlock(), edm::global::EDAnalyzerBase::doEndLuminosityBlock(), edm::limited::EDProducerBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDFilterBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::limited::EDProducerBase::doStreamBeginLuminosityBlock(), edm::global::EDProducerBase::doStreamBeginLuminosityBlock(), edm::limited::EDFilterBase::doStreamBeginLuminosityBlock(), edm::global::EDFilterBase::doStreamBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::limited::EDProducerBase::doStreamEndLuminosityBlock(), edm::global::EDProducerBase::doStreamEndLuminosityBlock(), edm::limited::EDFilterBase::doStreamEndLuminosityBlock(), edm::global::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptorBase::doStreamEndLuminosityBlock(), and edm::stream::ProducingModuleAdaptorBase< EDProducerBase >::doStreamEndLuminosityBlock().
void LuminosityBlock::setProducer | ( | ProducerBase const * | iProducer | ) |
Definition at line 47 of file LuminosityBlock.cc.
References provRecorder_, putProducts_, edm::PrincipalGetAdapter::putTokenIndexToProductResolverIndex(), and edm::PrincipalGetAdapter::setProducer().
Referenced by edm::PuttableSourceBase::doBeginLumi(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::limited::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::limited::EDFilterBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDProducerBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDFilterBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), and edm::stream::ProducingModuleAdaptor< T, M, B >::doEndLuminosityBlock().
void LuminosityBlock::setSharedResourcesAcquirer | ( | SharedResourcesAcquirer * | iResourceAcquirer | ) |
Definition at line 33 of file LuminosityBlock.cc.
References provRecorder_, run_, and edm::PrincipalGetAdapter::setSharedResourcesAcquirer().
|
friend |
Definition at line 175 of file LuminosityBlock.h.
|
friend |
Definition at line 174 of file LuminosityBlock.h.
|
friend |
Definition at line 177 of file LuminosityBlock.h.
|
private |
Definition at line 183 of file LuminosityBlock.h.
Referenced by luminosityBlockAuxiliary().
|
staticprivate |
Definition at line 188 of file LuminosityBlock.h.
Referenced by getByLabel().
|
private |
Definition at line 186 of file LuminosityBlock.h.
Referenced by fillRun(), getByLabel(), getByLabelImpl(), getByToken(), getHandle(), getManyByType(), getProvenance(), and moduleCallingContext().
|
private |
Definition at line 181 of file LuminosityBlock.h.
Referenced by commit_(), emplace(), fillRun(), getByLabel(), getByLabelImpl(), getByToken(), getHandle(), getManyByType(), labelsForToken(), luminosityBlockPrincipal(), processHistory(), put(), setConsumer(), setProducer(), and setSharedResourcesAcquirer().
|
private |
Definition at line 182 of file LuminosityBlock.h.
Referenced by putProducts(), and setProducer().
|
mutableprivate |
Definition at line 185 of file LuminosityBlock.h.
Referenced by fillRun(), getRun(), setConsumer(), and setSharedResourcesAcquirer().