#include <RootDelayedReader.h>
Public Types | |
typedef roottree::BranchInfo | BranchInfo |
typedef roottree::BranchMap | BranchMap |
typedef roottree::EntryNumber | EntryNumber |
Private Member Functions | |
BranchMap const & | branches () const |
BranchInfo const * | getBranchInfo (BranchID const &k) const |
std::shared_ptr< WrapperBase > | getProduct_ (BranchID const &k, EDProductGetter const *ep) override |
void | mergeReaders_ (DelayedReader *other) override |
void | reset_ () override |
std::pair < SharedResourcesAcquirer *, std::recursive_mutex * > | sharedResources_ () const override |
Private Attributes | |
edm::propagate_const < std::shared_ptr< InputFile > > | filePtr_ |
InputType | inputType_ |
std::exception_ptr | lastException_ |
std::shared_ptr < std::recursive_mutex > | mutex_ |
edm::propagate_const < DelayedReader * > | nextReader_ |
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> const * | postEventReadFromSourceSignal_ |
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> const * | preEventReadFromSourceSignal_ |
std::unique_ptr < SharedResourcesAcquirer > | resourceAcquirer_ |
RootTree const & | tree_ |
edm::propagate_const< TClass * > | wrapperBaseTClass_ |
Definition at line 33 of file RootDelayedReader.h.
Definition at line 35 of file RootDelayedReader.h.
Definition at line 36 of file RootDelayedReader.h.
Definition at line 37 of file RootDelayedReader.h.
edm::RootDelayedReader::RootDelayedReader | ( | RootTree const & | tree, |
std::shared_ptr< InputFile > | filePtr, | ||
InputType | inputType | ||
) |
Definition at line 23 of file RootDelayedReader.cc.
References edm::SharedResourcesRegistry::createAcquirerForSourceDelayedReader(), edm::SharedResourcesRegistry::instance(), eostools::move(), mutex_, edm::Primary, resourceAcquirer_, and mps_fire::resources.
|
override |
Definition at line 36 of file RootDelayedReader.cc.
|
delete |
|
inlineprivate |
Definition at line 67 of file RootDelayedReader.h.
References edm::RootTree::branches(), and tree_.
Referenced by getBranchInfo().
|
inlineprivate |
Definition at line 68 of file RootDelayedReader.h.
References branches(), and edm::roottree::BranchMap::find().
Referenced by getProduct_().
|
overrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 42 of file RootDelayedReader.cc.
References cms::Exception::addContext(), beamvalidation::br, edm::RootTree::branchType(), CommonMethods::cp(), alignCSCRings::e, edm::RootTree::entryNumberForIndex(), getBranchInfo(), edm::RootTree::getEntry(), edm::getWrapperBasePtr(), edm::InEvent, inputType_, lastException_, nextReader_, AlCaHLTBitMon_ParallelJobs::p, edm::InputFile::reportReadBranch(), edm::setRefCoreStreamer(), AlCaHLTBitMon_QueryRunRegistry::string, edm::EDProductGetter::transitionIndex(), tree_, and wrapperBaseTClass_.
|
inlineoverrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 63 of file RootDelayedReader.h.
References nextReader_.
|
delete |
|
inlinefinalvirtual |
Implements edm::DelayedReader.
Definition at line 49 of file RootDelayedReader.h.
References postEventReadFromSourceSignal_.
|
inlinefinalvirtual |
Implements edm::DelayedReader.
Definition at line 45 of file RootDelayedReader.h.
References preEventReadFromSourceSignal_.
|
inlineoverrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 64 of file RootDelayedReader.h.
References nextReader_.
|
inline |
Definition at line 54 of file RootDelayedReader.h.
References postEventReadFromSourceSignal_, and preEventReadFromSourceSignal_.
|
overrideprivatevirtual |
Reimplemented from edm::DelayedReader.
Definition at line 38 of file RootDelayedReader.cc.
References mutex_, and resourceAcquirer_.
|
private |
Definition at line 72 of file RootDelayedReader.h.
|
private |
Definition at line 77 of file RootDelayedReader.h.
Referenced by getProduct_().
|
mutableprivate |
Definition at line 89 of file RootDelayedReader.h.
Referenced by getProduct_().
|
private |
Definition at line 76 of file RootDelayedReader.h.
Referenced by RootDelayedReader(), and sharedResources_().
|
private |
Definition at line 73 of file RootDelayedReader.h.
Referenced by getProduct_(), mergeReaders_(), and reset_().
|
private |
Definition at line 82 of file RootDelayedReader.h.
Referenced by postEventReadFromSourceSignal(), and setSignals().
|
private |
Definition at line 80 of file RootDelayedReader.h.
Referenced by preEventReadFromSourceSignal(), and setSignals().
|
private |
Definition at line 75 of file RootDelayedReader.h.
Referenced by RootDelayedReader(), and sharedResources_().
|
private |
Definition at line 71 of file RootDelayedReader.h.
Referenced by branches(), and getProduct_().
|
private |
Definition at line 78 of file RootDelayedReader.h.
Referenced by getProduct_().