![]() |
![]() |
#include <LuminosityBlockPrincipal.h>
Public Types | |
typedef LuminosityBlockAuxiliary | Auxiliary |
typedef Principal | Base |
![]() | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef boost::filter_iterator < FilledGroupPtr, GroupCollection::const_iterator > | const_iterator |
typedef std::vector < boost::shared_ptr< Group > > | GroupCollection |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef boost::shared_ptr < Group const > | SharedConstGroupPtr |
typedef boost::shared_ptr< Group > | SharedGroupPtr |
typedef GroupCollection::size_type | size_type |
Public Member Functions | |
LuminosityBlockAuxiliary const & | aux () const |
Timestamp const & | beginTime () const |
Timestamp const & | endTime () const |
void | fillLuminosityBlockPrincipal (boost::shared_ptr< BranchMapper > mapper=boost::shared_ptr< BranchMapper >(new BranchMapper), boost::shared_ptr< DelayedReader > rtrv=boost::shared_ptr< DelayedReader >(new NoDelayedReader)) |
LuminosityBlockID | id () const |
LuminosityBlockNumber_t | luminosityBlock () const |
LuminosityBlockPrincipal (boost::shared_ptr< LuminosityBlockAuxiliary > aux, boost::shared_ptr< ProductRegistry const > reg, ProcessConfiguration const &pc, boost::shared_ptr< RunPrincipal > rp) | |
void | mergeAuxiliary (LuminosityBlockAuxiliary const &aux) |
void | put (ConstBranchDescription const &bd, std::auto_ptr< EDProduct > edp, std::auto_ptr< ProductProvenance > productProvenance) |
void | readImmediate () const |
RunNumber_t | run () const |
RunPrincipal const & | runPrincipal () const |
RunPrincipal & | runPrincipal () |
void | setEndTime (Timestamp const &time) |
void | setUnscheduledHandler (boost::shared_ptr< UnscheduledHandler >) |
void | swap (LuminosityBlockPrincipal &) |
~LuminosityBlockPrincipal () | |
![]() | |
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 |
boost::shared_ptr< BranchMapper > | branchMapperPtr () const |
BranchType const & | branchType () const |
void | clearPrincipal () |
const_iterator | end () const |
void | fillPrincipal (ProcessHistoryID const &hist, boost::shared_ptr< BranchMapper > mapper, boost::shared_ptr< DelayedReader > rtrv) |
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 |
SharedConstGroupPtr const | 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) | |
ProcessConfiguration const & | processConfiguration () const |
ProcessHistory const & | processHistory () const |
ProcessHistoryID const & | processHistoryID () const |
EDProductGetter const * | prodGetter () const |
ProductRegistry const & | productRegistry () const |
void | recombine (Principal &other, std::vector< BranchID > const &bids) |
size_t | size () const |
boost::shared_ptr< DelayedReader > | store () const |
virtual | ~Principal () |
![]() | |
EDProductGetter () | |
ProductID | oldToNewProductID (ProductID const &oldProductID) const |
virtual | ~EDProductGetter () |
Private Member Functions | |
void | resolveProductImmediate (Group const &g) const |
virtual bool | unscheduledFill (std::string const &) const |
Private Attributes | |
boost::shared_ptr < LuminosityBlockAuxiliary > | aux_ |
boost::shared_ptr< RunPrincipal > | runPrincipal_ |
Additional Inherited Members | |
![]() | |
void | addGroup_ (std::auto_ptr< Group > g) |
void | addGroupOrThrow (std::auto_ptr< Group > g) |
void | checkUniquenessAndType (std::auto_ptr< EDProduct > &prod, Group const *group) const |
Group * | getExistingGroup (BranchID const &branchID) |
Group * | getExistingGroup (Group const &g) |
SharedConstGroupPtr const | getGroupByIndex (ProductTransientIndex const &oid, bool resolveProd, bool fillOnDemand) const |
ProcessHistory & | processHistoryUpdate () |
void | putOrMerge (std::auto_ptr< EDProduct > prod, Group const *group) const |
void | putOrMerge (std::auto_ptr< EDProduct > prod, std::auto_ptr< ProductProvenance > prov, Group *group) |
void | resolveProduct (Group const &g, bool fillOnDemand) const |
void | setProcessHistory (Principal const &principal) |
void | swapBase (Principal &) |
Definition at line 29 of file LuminosityBlockPrincipal.h.
Definition at line 31 of file LuminosityBlockPrincipal.h.
Definition at line 32 of file LuminosityBlockPrincipal.h.
edm::LuminosityBlockPrincipal::LuminosityBlockPrincipal | ( | boost::shared_ptr< LuminosityBlockAuxiliary > | aux, |
boost::shared_ptr< ProductRegistry const > | reg, | ||
ProcessConfiguration const & | pc, | ||
boost::shared_ptr< RunPrincipal > | rp | ||
) |
Definition at line 9 of file LuminosityBlockPrincipal.cc.
|
inline |
Definition at line 39 of file LuminosityBlockPrincipal.h.
|
inline |
Definition at line 73 of file LuminosityBlockPrincipal.h.
References aux_.
Referenced by beginTime(), endTime(), id(), luminosityBlock(), run(), and edm::RootOutputFile::writeLuminosityBlock().
|
inline |
Definition at line 57 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::beginTime().
Referenced by edm::EventProcessor::beginLumi(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionBegin >::preScheduleSignal(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionEnd >::preScheduleSignal().
|
inline |
Definition at line 61 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::endTime().
Referenced by edm::EventProcessor::endLumi().
void edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal | ( | boost::shared_ptr< BranchMapper > | mapper = boost::shared_ptr<BranchMapper>(new BranchMapper) , |
boost::shared_ptr< DelayedReader > | rtrv = boost::shared_ptr<DelayedReader>(new NoDelayedReader) |
||
) |
Definition at line 20 of file LuminosityBlockPrincipal.cc.
References aux_, edm::Principal::begin(), edm::Principal::end(), edm::Principal::fillPrincipal(), i, edm::Principal::processHistoryID(), runPrincipal_, and edm::Principal::setProcessHistory().
|
inline |
Definition at line 53 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::id().
Referenced by edm::NoDelayedReader::getProduct_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionBegin >::preScheduleSignal(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionEnd >::preScheduleSignal(), edm::GetProductCheckerOutputModule::writeLuminosityBlock(), and edm::PoolOutputModule::writeLuminosityBlock().
|
inline |
Definition at line 69 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::luminosityBlock().
Referenced by edm::EventProcessor::beginLumi(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::EventProcessor::endLumi(), and edm::InputSource::markLumi().
|
inline |
Definition at line 81 of file LuminosityBlockPrincipal.h.
References aux_.
void edm::LuminosityBlockPrincipal::put | ( | ConstBranchDescription const & | bd, |
std::auto_ptr< EDProduct > | edp, | ||
std::auto_ptr< ProductProvenance > | productProvenance | ||
) |
Definition at line 35 of file LuminosityBlockPrincipal.cc.
References edm::ConstBranchDescription::branchID(), edm::Principal::branchMapperPtr(), edm::hlt::Exception, g, edm::Principal::getExistingGroup(), edm::errors::InsertFailure, edm::ConstBranchDescription::produced(), and edm::Principal::putOrMerge().
Referenced by edm::LuminosityBlock::commit_().
void edm::LuminosityBlockPrincipal::readImmediate | ( | ) | const |
Definition at line 54 of file LuminosityBlockPrincipal.cc.
References edm::Principal::begin(), edm::Group::branchDescription(), edm::Principal::branchMapperPtr(), edm::Principal::end(), g, i, edm::ConstBranchDescription::produced(), edm::Group::productUnavailable(), and resolveProductImmediate().
|
private |
Definition at line 67 of file LuminosityBlockPrincipal.cc.
References edm::Group::branchDescription(), edm::getProduct(), edm::ConstBranchDescription::produced(), edm::Principal::putOrMerge(), and edm::Principal::store().
Referenced by readImmediate().
|
inline |
Definition at line 77 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::run().
Referenced by edm::EventProcessor::beginLumi(), Types.LuminosityBlockID::cppID(), and edm::EventProcessor::endLumi().
|
inline |
Definition at line 45 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
Referenced by edm::EventPrincipal::runPrincipal().
|
inline |
Definition at line 49 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
|
inline |
Definition at line 65 of file LuminosityBlockPrincipal.h.
References aux_.
Referenced by edm::InputSource::doEndLumi().
|
inline |
Definition at line 85 of file LuminosityBlockPrincipal.h.
void edm::LuminosityBlockPrincipal::swap | ( | LuminosityBlockPrincipal & | iOther | ) |
Definition at line 81 of file LuminosityBlockPrincipal.cc.
References aux_, runPrincipal_, std::swap(), and edm::Principal::swapBase().
|
inlineprivatevirtual |
Implements edm::Principal.
Definition at line 97 of file LuminosityBlockPrincipal.h.
|
private |
Definition at line 103 of file LuminosityBlockPrincipal.h.
Referenced by aux(), fillLuminosityBlockPrincipal(), mergeAuxiliary(), setEndTime(), and swap().
|
private |
Definition at line 101 of file LuminosityBlockPrincipal.h.
Referenced by fillLuminosityBlockPrincipal(), runPrincipal(), and swap().