#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::unique_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 32 of file RootDelayedReader.h.
Definition at line 34 of file RootDelayedReader.h.
Definition at line 35 of file RootDelayedReader.h.
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.
|
override |
Definition at line 38 of file RootDelayedReader.cc.
|
delete |
|
inlineprivate |
Definition at line 66 of file RootDelayedReader.h.
References edm::RootTree::branches(), and tree_.
Referenced by getBranchInfo().
|
inlineprivate |
Definition at line 67 of file RootDelayedReader.h.
References branches(), and edm::roottree::BranchMap::find().
Referenced by getProduct_().
|
overrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 44 of file RootDelayedReader.cc.
References cms::Exception::addContext(), beamvalidation::br, edm::RootTree::branchType(), SimDataFormats::CaloAnalysis::cp, edm::RootTree::entryNumberForIndex(), cppFunctionSkipper::exception, 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 62 of file RootDelayedReader.h.
References nextReader_, and trackingPlots::other.
|
delete |
|
inlinefinalvirtual |
Implements edm::DelayedReader.
Definition at line 48 of file RootDelayedReader.h.
References postEventReadFromSourceSignal_.
|
inlinefinalvirtual |
Implements edm::DelayedReader.
Definition at line 44 of file RootDelayedReader.h.
References preEventReadFromSourceSignal_.
|
inlineoverrideprivatevirtual |
Implements edm::DelayedReader.
Definition at line 63 of file RootDelayedReader.h.
References nextReader_, and sharedResources_().
|
inline |
Definition at line 53 of file RootDelayedReader.h.
References getProduct_(), gen::k, postEventReadFromSourceSignal_, and preEventReadFromSourceSignal_.
|
overrideprivatevirtual |
Reimplemented from edm::DelayedReader.
Definition at line 40 of file RootDelayedReader.cc.
References mutex_, and resourceAcquirer_.
Referenced by reset_().
|
private |
Definition at line 71 of file RootDelayedReader.h.
|
private |
Definition at line 76 of file RootDelayedReader.h.
Referenced by getProduct_().
|
mutableprivate |
Definition at line 87 of file RootDelayedReader.h.
Referenced by getProduct_().
|
private |
Definition at line 75 of file RootDelayedReader.h.
Referenced by RootDelayedReader(), and sharedResources_().
|
private |
Definition at line 72 of file RootDelayedReader.h.
Referenced by getProduct_(), mergeReaders_(), and reset_().
|
private |
Definition at line 81 of file RootDelayedReader.h.
Referenced by postEventReadFromSourceSignal(), and setSignals().
|
private |
Definition at line 79 of file RootDelayedReader.h.
Referenced by preEventReadFromSourceSignal(), and setSignals().
|
private |
Definition at line 74 of file RootDelayedReader.h.
Referenced by RootDelayedReader(), and sharedResources_().
|
private |
Definition at line 70 of file RootDelayedReader.h.
Referenced by branches(), and getProduct_().
|
private |
Definition at line 77 of file RootDelayedReader.h.
Referenced by getProduct_().