#include <RunPrincipal.h>
Public Types | |
typedef RunAuxiliary | Auxiliary |
typedef Principal | Base |
Public Types inherited from edm::Principal | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef unsigned long | CacheIdentifier_t |
typedef boost::filter_iterator < FilledProductPtr, ProductHolderCollection::const_iterator > | const_iterator |
typedef ProductHolderBase const * | ConstProductHolderPtr |
typedef boost::filter_iterator < FilledProductPtr, ProductHolderCollection::iterator > | iterator |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef std::vector < propagate_const < std::shared_ptr < ProductHolderBase > > > | ProductHolderCollection |
typedef std::shared_ptr < ProductHolderBase > | SharedProductPtr |
typedef ProductHolderCollection::size_type | size_type |
Private Member Functions | |
virtual bool | isComplete_ () const override |
virtual unsigned int | transitionIndex_ () const override |
virtual bool | unscheduledFill (std::string const &, SharedResourcesAcquirer *sra, ModuleCallingContext const *) const override |
Private Attributes | |
edm::propagate_const < std::shared_ptr < RunAuxiliary > > | aux_ |
bool | complete_ |
RunIndex | index_ |
ProcessHistoryID | m_reducedHistoryID |
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< ProductHolderBase > phb) |
void | addProductOrThrow (std::unique_ptr< ProductHolderBase > phb) |
void | checkUniquenessAndType (WrapperBase const *prod, ProductHolderBase const *productHolder) const |
ProductHolderBase * | getExistingProduct (BranchID const &branchID) |
ProductHolderBase const * | getExistingProduct (BranchID const &branchID) const |
ProductHolderBase const * | getExistingProduct (ProductHolderBase const &phb) const |
void | putOrMerge (BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const |
Definition at line 31 of file RunPrincipal.h.
Definition at line 33 of file RunPrincipal.h.
typedef Principal edm::RunPrincipal::Base |
Definition at line 34 of file RunPrincipal.h.
edm::RunPrincipal::RunPrincipal | ( | std::shared_ptr< RunAuxiliary > | aux, |
std::shared_ptr< ProductRegistry const > | reg, | ||
ProcessConfiguration const & | pc, | ||
HistoryAppender * | historyAppender, | ||
unsigned int | iRunIndex | ||
) |
Definition at line 10 of file RunPrincipal.cc.
|
inline |
Definition at line 42 of file RunPrincipal.h.
|
inline |
Definition at line 57 of file RunPrincipal.h.
References aux_.
Referenced by beginTime(), endTime(), id(), and run().
|
inline |
|
inline |
Definition at line 77 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::endTime().
Referenced by edm::OutputModuleCommunicatorT< T >::writeRun().
void edm::RunPrincipal::fillRunPrincipal | ( | ProcessHistoryRegistry const & | processHistoryRegistry, |
DelayedReader * | reader = 0 |
||
) |
Definition at line 21 of file RunPrincipal.cc.
References aux_, complete_, edm::Principal::fillPrincipal(), m_reducedHistoryID, edm::Principal::processHistory(), parseEventContent::prod, edm::Principal::reader(), and edm::ProcessHistoryRegistry::reducedProcessHistoryID().
|
inline |
Definition at line 69 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::id().
Referenced by edm::GetProductCheckerOutputModule::writeRun().
|
inline |
Multiple Runs may be processed simultaneously. The return value can be used to identify a particular Run. The value will range from 0 to one less than the maximum number of allowed simultaneous Runs. A particular value will be reused once the processing of the previous Run using that index has been completed.
Definition at line 53 of file RunPrincipal.h.
References index_.
Referenced by edm::Run::index(), transitionIndex_(), edm::OutputModuleCommunicatorT< T >::writeLumi(), and edm::OutputModuleCommunicatorT< T >::writeRun().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::Principal.
Definition at line 101 of file RunPrincipal.h.
References complete_.
|
inline |
Definition at line 85 of file RunPrincipal.h.
References aux_.
void edm::RunPrincipal::put | ( | BranchDescription const & | bd, |
std::unique_ptr< WrapperBase > | edp | ||
) | const |
Definition at line 33 of file RunPrincipal.cc.
References eostools::move(), and edm::Principal::putOrMerge().
Referenced by edm::Run::commit_().
|
inline |
Definition at line 65 of file RunPrincipal.h.
References m_reducedHistoryID.
|
inline |
Definition at line 61 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::run().
Referenced by edm::OutputModuleCommunicatorT< T >::writeRun().
|
inline |
|
inline |
Definition at line 81 of file RunPrincipal.h.
References aux_.
|
inline |
Definition at line 89 of file RunPrincipal.h.
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 40 of file RunPrincipal.cc.
References index(), and edm::RunIndex::value().
|
inlineoverrideprivatevirtual |
|
private |
Definition at line 109 of file RunPrincipal.h.
Referenced by aux(), fillRunPrincipal(), mergeAuxiliary(), and setEndTime().
|
private |
Definition at line 113 of file RunPrincipal.h.
Referenced by fillRunPrincipal(), isComplete_(), and setComplete().
|
private |
Definition at line 111 of file RunPrincipal.h.
Referenced by index().
|
private |
Definition at line 110 of file RunPrincipal.h.
Referenced by fillRunPrincipal(), and reducedProcessHistoryID().