#include <RootDelayedReader.h>
Public Types | |
typedef roottree::BranchInfo | BranchInfo |
typedef roottree::BranchMap | BranchMap |
typedef roottree::EntryNumber | EntryNumber |
typedef roottree::BranchMap::const_iterator | iterator |
Private Member Functions | |
BranchMap const & | branches () const |
iterator | branchIter (BranchKey const &k) const |
bool | found (iterator const &iter) const |
BranchInfo const & | getBranchInfo (iterator const &iter) const |
virtual std::unique_ptr< WrapperBase > | getProduct_ (BranchKey const &k, EDProductGetter const *ep) override |
virtual void | mergeReaders_ (DelayedReader *other) override |
virtual 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_ = nullptr |
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> const * | preEventReadFromSourceSignal_ = nullptr |
std::unique_ptr< SharedResourcesAcquirer > | resourceAcquirer_ |
RootTree const & | tree_ |
edm::propagate_const< TClass * > | wrapperBaseTClass_ |
Definition at line 32 of file RootDelayedReader.h.
Definition at line 34 of file RootDelayedReader.h.
Definition at line 35 of file RootDelayedReader.h.
Definition at line 37 of file RootDelayedReader.h.
typedef roottree::BranchMap::const_iterator edm::RootDelayedReader::iterator |
Definition at line 36 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.
|
virtual |
Definition at line 40 of file RootDelayedReader.cc.
|
delete |
|
inlineprivate |
Definition at line 67 of file RootDelayedReader.h.
References edm::RootTree::branches(), and tree_.
Referenced by branchIter(), and found().
Definition at line 68 of file RootDelayedReader.h.
References branches().
Referenced by getProduct_().
|
inlineprivate |
Definition at line 69 of file RootDelayedReader.h.
References branches().
Referenced by getProduct_().
|
inlineprivate |
Definition at line 70 of file RootDelayedReader.h.
Referenced by getProduct_().
|
overrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 49 of file RootDelayedReader.cc.
References cms::Exception::addContext(), beamvalidation::br, branchIter(), edm::RootTree::branchType(), SimDataFormats::CaloAnalysis::cp, edm::RootTree::entryNumberForIndex(), cppFunctionSkipper::exception, found(), 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_.
Referenced by setSignals().
|
inlineoverrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 63 of file RootDelayedReader.h.
References nextReader_, and trackingPlots::other.
|
delete |
|
inlinefinaloverridevirtual |
Implements edm::DelayedReader.
Definition at line 51 of file RootDelayedReader.h.
References postEventReadFromSourceSignal_.
|
inlinefinaloverridevirtual |
Implements edm::DelayedReader.
Definition at line 48 of file RootDelayedReader.h.
References preEventReadFromSourceSignal_.
|
inlineoverrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 64 of file RootDelayedReader.h.
References nextReader_, and sharedResources_().
|
inline |
Definition at line 55 of file RootDelayedReader.h.
References getProduct_(), gen::k, postEventReadFromSourceSignal_, and preEventReadFromSourceSignal_.
|
overrideprivatevirtual |
Reimplemented from edm::DelayedReader.
Definition at line 44 of file RootDelayedReader.cc.
References mutex_, and resourceAcquirer_.
Referenced by reset_().
|
private |
Definition at line 74 of file RootDelayedReader.h.
|
private |
Definition at line 78 of file RootDelayedReader.h.
Referenced by getProduct_().
|
mutableprivate |
Definition at line 87 of file RootDelayedReader.h.
Referenced by getProduct_().
|
private |
Definition at line 77 of file RootDelayedReader.h.
Referenced by RootDelayedReader(), and sharedResources_().
|
private |
Definition at line 75 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 81 of file RootDelayedReader.h.
Referenced by preEventReadFromSourceSignal(), and setSignals().
|
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 branches(), and getProduct_().
|
private |
Definition at line 79 of file RootDelayedReader.h.
Referenced by getProduct_().