#include <LuminosityBlockPrincipal.h>
Public Types | |
typedef LuminosityBlockAuxiliary | Auxiliary |
typedef Principal | Base |
enum | ShouldWriteLumi { kUninitialized, kNo, kYes } |
Public Types inherited from edm::Principal | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef unsigned long | CacheIdentifier_t |
typedef boost::filter_iterator< FilledProductPtr, ProductResolverCollection::const_iterator > | const_iterator |
typedef ProductResolverBase const * | ConstProductResolverPtr |
typedef boost::filter_iterator< FilledProductPtr, ProductResolverCollection::iterator > | iterator |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef std::vector< propagate_const< std::shared_ptr< ProductResolverBase > > > | ProductResolverCollection |
typedef std::shared_ptr< ProductResolverBase > | SharedProductPtr |
typedef ProductResolverCollection::size_type | size_type |
Private Member Functions | |
unsigned int | transitionIndex_ () const override |
Private Attributes | |
LuminosityBlockAuxiliary | aux_ |
LuminosityBlockIndex | index_ |
edm::propagate_const< std::shared_ptr< RunPrincipal > > | runPrincipal_ |
ShouldWriteLumi | shouldWriteLumi_ = kUninitialized |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProductGetter | |
static void | assignEDProductGetter (EDProductGetter const *&) |
static EDProductGetter const * | switchProductGetter (EDProductGetter const *) |
These can only be used internally by the framework. More... | |
Protected Member Functions inherited from edm::Principal | |
void | addProduct_ (std::unique_ptr< ProductResolverBase > phb) |
void | addProductOrThrow (std::unique_ptr< ProductResolverBase > phb) |
template<typename F > | |
void | applyToResolvers (F iFunc) |
ProductResolverBase * | getExistingProduct (BranchID const &branchID) |
ProductResolverBase const * | getExistingProduct (BranchID const &branchID) const |
ProductResolverBase const * | getExistingProduct (ProductResolverBase const &phb) const |
void | put_ (BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const |
Definition at line 31 of file LuminosityBlockPrincipal.h.
Definition at line 33 of file LuminosityBlockPrincipal.h.
Definition at line 34 of file LuminosityBlockPrincipal.h.
Enumerator | |
---|---|
kUninitialized | |
kNo | |
kYes |
Definition at line 75 of file LuminosityBlockPrincipal.h.
edm::LuminosityBlockPrincipal::LuminosityBlockPrincipal | ( | std::shared_ptr< ProductRegistry const > | reg, |
ProcessConfiguration const & | pc, | ||
HistoryAppender * | historyAppender, | ||
unsigned int | index, | ||
bool | isForPrimaryProcess = true |
||
) |
Definition at line 7 of file LuminosityBlockPrincipal.cc.
|
inlineoverride |
Definition at line 42 of file LuminosityBlockPrincipal.h.
|
inline |
Definition at line 65 of file LuminosityBlockPrincipal.h.
References aux_.
Referenced by beginTime(), edm::SubProcess::doBeginLuminosityBlockAsync(), endTime(), id(), luminosityBlock(), mergeAuxiliary(), dqmservices::DQMProtobufReader::readLuminosityBlock_(), LHESource::readLuminosityBlock_(), LH5Source::readLuminosityBlock_(), edm::PoolSource::readLuminosityBlock_(), edm::RootFile::readLuminosityBlock_(), DQMRootSource::readLuminosityBlock_(), edm::InputSource::readLuminosityBlock_(), and run().
|
inline |
Definition at line 56 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::beginTime().
Referenced by edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), and edm::Schedule::writeLumiAsync().
|
inline |
Definition at line 58 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::endTime().
Referenced by edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
void edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal | ( | ProcessHistory const * | processHistory, |
DelayedReader * | reader = nullptr |
||
) |
Definition at line 16 of file LuminosityBlockPrincipal.cc.
References aux_, edm::Principal::fillPrincipal(), edm::Principal::processHistory(), edm::LuminosityBlockAuxiliary::processHistoryID(), and edm::Principal::reader().
Referenced by dqmservices::DQMProtobufReader::readLuminosityBlock_(), LH5Source::readLuminosityBlock_(), LHESource::readLuminosityBlock_(), edm::RootFile::readLuminosityBlock_(), DQMRootSource::readLuminosityBlock_(), and edm::InputSource::readLuminosityBlock_().
|
inline |
Definition at line 54 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::id().
Referenced by edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), dqmservices::DQMProtobufReader::readLuminosityBlock_(), DQMRootSource::readLuminosityBlock_(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), and edm::Schedule::writeLumiAsync().
|
inline |
Definition at line 52 of file LuminosityBlockPrincipal.h.
References index_.
Referenced by edm::SubProcess::deleteLumiFromCache(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginLuminosityBlock(), edm::SubProcess::doBeginLuminosityBlockAsync(), edm::EDLooperBase::doDuringLoop(), edm::EDLooperBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndLuminosityBlock(), edm::SubProcess::doEndLuminosityBlockAsync(), edm::stream::EDAnalyzerAdaptorBase::doStreamBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptorBase< EDProducerBase >::doStreamBeginLuminosityBlock(), edm::SubProcess::doStreamBeginLuminosityBlockAsync(), edm::SubProcess::doStreamEndLuminosityBlockAsync(), edm::LuminosityBlockForOutput::index(), edm::LuminosityBlock::index(), BeautifulSoup.PageElement::insert(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::SubProcess::processAsync(), put(), edm::InputSource::readAndMergeLumi(), edm::InputSource::readLuminosityBlock(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), transitionIndex_(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::SubProcess::writeLumiAsync(), and edm::Schedule::writeLumiAsync().
|
inline |
Definition at line 62 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::luminosityBlock().
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), and edm::EventProcessor::writeLumiAsync().
|
inline |
Definition at line 69 of file LuminosityBlockPrincipal.h.
References aux(), aux_, and edm::LuminosityBlockAuxiliary::mergeAuxiliary().
void edm::LuminosityBlockPrincipal::put | ( | BranchDescription const & | bd, |
std::unique_ptr< WrapperBase > | edp | ||
) | const |
Definition at line 21 of file LuminosityBlockPrincipal.cc.
References eostools::move(), and edm::Principal::put_().
Referenced by edm::LuminosityBlock::commit_().
void edm::LuminosityBlockPrincipal::put | ( | ProductResolverIndex | index, |
std::unique_ptr< WrapperBase > | edp | ||
) | const |
Definition at line 25 of file LuminosityBlockPrincipal.cc.
References runTheMatrix::const, edm::Principal::getProductResolverByIndex(), index(), and eostools::move().
|
inline |
Definition at line 67 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::run().
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 46 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
Referenced by edm::EDLooperBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginLuminosityBlock(), edm::EDLooperBase::doDuringLoop(), edm::EDLooperBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::stream::ProducingModuleAdaptor< T, M, B >::doEndLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::EventPrincipal::runPrincipal(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::Schedule::writeLumiAsync(), and edm::EventProcessor::writeLumiAsync().
|
inline |
Definition at line 48 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
|
inline |
Definition at line 64 of file LuminosityBlockPrincipal.h.
References aux_, and eostools::move().
|
inline |
Definition at line 60 of file LuminosityBlockPrincipal.h.
References aux_, edm::LuminosityBlockAuxiliary::setEndTime(), and protons_cff::time.
|
inline |
Definition at line 50 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
|
inline |
Definition at line 77 of file LuminosityBlockPrincipal.h.
References shouldWriteLumi_, and relativeConstraints::value.
Referenced by edm::RootFile::readLuminosityBlock_().
|
inline |
Definition at line 76 of file LuminosityBlockPrincipal.h.
References shouldWriteLumi_.
Referenced by edm::RootFile::readLuminosityBlock_(), and edm::EventProcessor::writeLumiAsync().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 30 of file LuminosityBlockPrincipal.cc.
References index(), and edm::LuminosityBlockIndex::value().
|
private |
Definition at line 84 of file LuminosityBlockPrincipal.h.
Referenced by aux(), fillLuminosityBlockPrincipal(), mergeAuxiliary(), setAux(), and setEndTime().
|
private |
Definition at line 86 of file LuminosityBlockPrincipal.h.
Referenced by index().
|
private |
Definition at line 82 of file LuminosityBlockPrincipal.h.
Referenced by runPrincipal(), and setRunPrincipal().
|
private |
Definition at line 88 of file LuminosityBlockPrincipal.h.
Referenced by setShouldWriteLumi(), and shouldWriteLumi().