#include <RunPrincipal.h>
Public Types | |
typedef RunAuxiliary | Auxiliary |
typedef Principal | Base |
Public Types inherited from edm::Principal | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef boost::filter_iterator < FilledGroupPtr, GroupCollection::const_iterator > | const_iterator |
typedef Group const * | ConstGroupPtr |
typedef std::vector < boost::shared_ptr< Group > > | GroupCollection |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef boost::shared_ptr< Group > | SharedGroupPtr |
typedef GroupCollection::size_type | size_type |
Public Member Functions | |
RunAuxiliary const & | aux () const |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
void | fillRunPrincipal (DelayedReader *reader=0) |
RunID const & | id () const |
void | mergeAuxiliary (RunAuxiliary const &aux) |
void | put (ConstBranchDescription const &bd, WrapperOwningHolder const &edp) |
void | readImmediate () const |
RunNumber_t | run () const |
RunPrincipal (boost::shared_ptr< RunAuxiliary > aux, boost::shared_ptr< ProductRegistry const > reg, ProcessConfiguration const &pc, HistoryAppender *historyAppender=0) | |
void | setEndTime (Timestamp const &time) |
void | setUnscheduledHandler (boost::shared_ptr< UnscheduledHandler >) |
~RunPrincipal () | |
Public Member Functions inherited from edm::Principal | |
void | addGroupInput (boost::shared_ptr< ConstBranchDescription > bd) |
void | addGroupScheduled (boost::shared_ptr< ConstBranchDescription > bd) |
void | addGroupSource (boost::shared_ptr< ConstBranchDescription > bd) |
void | addOnDemandGroup (boost::shared_ptr< ConstBranchDescription > bd) |
void | adjustIndexesAfterProductRegistryAddition () |
bool | adjustToNewProductRegistry (ProductRegistry const ®) |
const_iterator | begin () const |
BranchType const & | branchType () const |
void | clearPrincipal () |
void | deleteProduct (BranchID const &id) |
const_iterator | end () const |
void | fillPrincipal (ProcessHistoryID const &hist, DelayedReader *reader) |
ProductData const * | findGroupByTag (TypeID const &typeID, InputTag const &tag) const |
void | getAllProvenance (std::vector< Provenance const * > &provenances) const |
BasicHandle | getByLabel (TypeID const &tid, std::string const &label, std::string const &productInstanceName, std::string const &processName, size_t &cachedOffset, int &fillCount) const |
BasicHandle | getBySelector (TypeID const &tid, SelectorBase const &s) const |
BasicHandle | getByType (TypeID const &tid) const |
OutputHandle | getForOutput (BranchID const &bid, bool getProd) const |
ConstGroupPtr | getGroup (BranchID const &oid, bool resolveProd, bool fillOnDemand) const |
void | getMany (TypeID const &tid, SelectorBase const &, BasicHandleVec &results) const |
void | getManyByType (TypeID const &tid, BasicHandleVec &results) const |
size_t | getMatchingSequence (TypeID const &typeID, SelectorBase const &selector, BasicHandle &result) const |
Provenance | getProvenance (BranchID const &bid) const |
void | maybeFlushCache (TypeID const &tid, InputTag const &tag) const |
Principal (boost::shared_ptr< ProductRegistry const > reg, ProcessConfiguration const &pc, BranchType bt, HistoryAppender *historyAppender) | |
ProcessConfiguration const & | processConfiguration () const |
ProcessHistory const & | processHistory () const |
ProcessHistoryID const & | processHistoryID () const |
EDProductGetter const * | prodGetter () const |
ProductRegistry const & | productRegistry () const |
DelayedReader * | reader () const |
void | recombine (Principal &other, std::vector< BranchID > const &bids) |
size_t | size () const |
virtual | ~Principal () |
Public Member Functions inherited from edm::EDProductGetter | |
EDProductGetter () | |
virtual | ~EDProductGetter () |
Private Member Functions | |
void | resolveProductImmediate (Group const &g) const |
virtual bool | unscheduledFill (std::string const &) const |
Private Attributes | |
boost::shared_ptr< RunAuxiliary > | aux_ |
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 | addGroup_ (std::auto_ptr< Group > g) |
void | addGroupOrThrow (std::auto_ptr< Group > g) |
void | checkUniquenessAndType (WrapperOwningHolder const &prod, Group const *group) const |
Group * | getExistingGroup (BranchID const &branchID) |
Group * | getExistingGroup (Group const &g) |
ConstGroupPtr | getGroupByIndex (ProductTransientIndex const &oid, bool resolveProd, bool fillOnDemand) const |
void | putOrMerge (WrapperOwningHolder const &prod, Group const *group) const |
void | putOrMerge (WrapperOwningHolder const &prod, ProductProvenance &prov, Group *group) |
void | resolveProduct (Group const &g, bool fillOnDemand) const |
Definition at line 28 of file RunPrincipal.h.
Definition at line 30 of file RunPrincipal.h.
typedef Principal edm::RunPrincipal::Base |
Definition at line 31 of file RunPrincipal.h.
edm::RunPrincipal::RunPrincipal | ( | boost::shared_ptr< RunAuxiliary > | aux, |
boost::shared_ptr< ProductRegistry const > | reg, | ||
ProcessConfiguration const & | pc, | ||
HistoryAppender * | historyAppender = 0 |
||
) |
Definition at line 11 of file RunPrincipal.cc.
|
inline |
Definition at line 38 of file RunPrincipal.h.
|
inline |
Definition at line 42 of file RunPrincipal.h.
References aux_.
Referenced by edm::SubProcess::beginRun(), beginTime(), endTime(), id(), run(), and edm::RootOutputFile::writeRun().
|
inline |
Definition at line 54 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::beginTime().
Referenced by edm::EventProcessor::beginRun(), edm::OccurrenceTraits< RunPrincipal, BranchActionBegin >::preScheduleSignal(), and DQMRootOutputModule::writeRun().
|
inline |
Definition at line 58 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::endTime().
Referenced by edm::EventProcessor::endRun(), edm::OccurrenceTraits< RunPrincipal, BranchActionEnd >::preScheduleSignal(), and DQMRootOutputModule::writeRun().
void edm::RunPrincipal::fillRunPrincipal | ( | DelayedReader * | reader = 0 | ) |
Definition at line 21 of file RunPrincipal.cc.
References aux_, edm::Principal::begin(), edm::Principal::end(), edm::Principal::fillPrincipal(), i, edm::Principal::processHistoryID(), and edm::Principal::reader().
|
inline |
Definition at line 50 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::id().
Referenced by edm::OccurrenceTraits< RunPrincipal, BranchActionBegin >::preScheduleSignal(), edm::OccurrenceTraits< RunPrincipal, BranchActionEnd >::preScheduleSignal(), edm::GetProductCheckerOutputModule::writeRun(), and DQMRootOutputModule::writeRun().
|
inline |
void edm::RunPrincipal::put | ( | ConstBranchDescription const & | bd, |
WrapperOwningHolder const & | edp | ||
) |
Definition at line 31 of file RunPrincipal.cc.
References edm::ConstBranchDescription::branchID(), edm::hlt::Exception, g, edm::Principal::getExistingGroup(), edm::errors::InsertFailure, edm::WrapperHolder::isValid(), edm::ConstBranchDescription::produced(), and edm::Principal::putOrMerge().
Referenced by edm::Run::commit_().
void edm::RunPrincipal::readImmediate | ( | ) | const |
Definition at line 48 of file RunPrincipal.cc.
References edm::Principal::begin(), edm::Group::branchDescription(), edm::Principal::end(), g, i, edm::ConstBranchDescription::produced(), edm::Group::productUnavailable(), and resolveProductImmediate().
|
private |
Definition at line 60 of file RunPrincipal.cc.
References edm::Group::branchDescription(), edm::ProductData::getInterface(), edm::getProduct(), edm::ConstBranchDescription::produced(), edm::Group::productData(), edm::Principal::putOrMerge(), and edm::Principal::reader().
Referenced by readImmediate().
|
inline |
Definition at line 46 of file RunPrincipal.h.
References aux(), and edm::RunAuxiliary::run().
Referenced by edm::EventProcessor::beginRun(), Types.LuminosityBlockID::cppID(), edm::EventProcessor::endRun(), edm::InputSource::markRun(), and edm::PoolOutputModule::writeRun().
|
inline |
Definition at line 62 of file RunPrincipal.h.
References aux_.
Referenced by edm::InputSource::doEndRun().
|
inline |
Definition at line 70 of file RunPrincipal.h.
|
inlineprivatevirtual |
|
private |
Definition at line 85 of file RunPrincipal.h.
Referenced by aux(), fillRunPrincipal(), mergeAuxiliary(), and setEndTime().