#include <FWCore/FWLite/interface/BareRootProductGetterBase.h>
Classes | |
struct | Buffer |
Public Member Functions | |
BareRootProductGetterBase () | |
BareRootProductGetterBase (BareRootProductGetterBase const &)=delete | |
edm::WrapperBase const * | getIt (edm::ProductID const &) const override |
edm::OptionalThinnedKey | getThinnedKeyFrom (edm::ProductID const &parent, unsigned int key, edm::ProductID const &thinned) const override |
std::optional< std::tuple< edm::WrapperBase const *, unsigned int > > | getThinnedProduct (edm::ProductID const &, unsigned int key) const override |
void | getThinnedProducts (edm::ProductID const &, std::vector< edm::WrapperBase const *> &foundContainers, std::vector< unsigned int > &keys) const override |
BareRootProductGetterBase const & | operator= (BareRootProductGetterBase const &)=delete |
~BareRootProductGetterBase () override | |
Public Member Functions inherited from edm::EDProductGetter | |
EDProductGetter () | |
EDProductGetter (EDProductGetter const &)=delete | |
EDProductGetter const & | operator= (EDProductGetter const &)=delete |
unsigned int | transitionIndex () const |
virtual | ~EDProductGetter () |
Private Types | |
typedef std::map< edm::BranchID, Buffer > | IdToBuffers |
Private Member Functions | |
Buffer * | createNewBuffer (edm::BranchID const &) const |
virtual TFile * | currentFile () const =0 |
edm::WrapperBase const * | getIt (edm::BranchID const &, Long_t eventEntry) const |
edm::ThinnedAssociation const * | getThinnedAssociation (edm::BranchID const &branchID, Long_t eventEntry) const |
unsigned int | transitionIndex_ () const override |
Private Attributes | |
fwlite::BranchMapReader | branchMap_ |
IdToBuffers | idToBuffers_ |
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... | |
Description: <one line="" class="" summary>="">
This file was originally FWCore/FWLite/src/BareRootProductGetter.h, and was copied to the interface/BareRootProductGetterBase.h in order to refactor it a little bit to make it usable for FireworksWeb.
Usage: <usage>
Definition at line 47 of file BareRootProductGetterBase.h.
|
private |
Definition at line 119 of file BareRootProductGetterBase.h.
|
default |
|
overridedefault |
|
delete |
|
private |
Definition at line 190 of file BareRootProductGetterBase.cc.
References b, MicroEventContent_cff::branch, fwlite::BranchMapReader::branchIDToBranch(), branchMap_, edm::BranchDescription::branchName(), edm::TypeWithDict::byName(), edm::BranchDescription::className(), runTheMatrix::const, Exception, newFWLiteAna::fullName, fwlite::BranchMapReader::getEventTree(), idToBuffers_, eostools::move(), dumpMFGeometry_cfg::prod, AlCaHLTBitMon_QueryRunRegistry::string, and edm::wrappedClassName().
Referenced by getIt().
|
privatepure virtual |
Implemented in BareRootProductGetter.
Referenced by getIt().
|
overridevirtual |
Implements edm::EDProductGetter.
Definition at line 46 of file BareRootProductGetterBase.cc.
References branchMap_, currentFile(), edm::poolNames::eventTreeName(), Exception, fwlite::BranchMapReader::getEventTree(), fwlite::BranchMapReader::getFile(), idToBuffers_, fwlite::BranchMapReader::productToBranchID(), fwlite::BranchMapReader::updateEvent(), and fwlite::BranchMapReader::updateFile().
Referenced by getThinnedAssociation(), getThinnedProduct(), and getThinnedProducts().
|
private |
Definition at line 74 of file BareRootProductGetterBase.cc.
References edmScanValgrind::buffer, runTheMatrix::const, createNewBuffer(), Exception, idToBuffers_, and dumpMFGeometry_cfg::prod.
|
private |
Definition at line 237 of file BareRootProductGetterBase.cc.
References runTheMatrix::const, edm::WrapperBase::dynamicTypeInfo(), Exception, getIt(), edm::errors::LogicError, and wrapper.
Referenced by getThinnedKeyFrom(), getThinnedProduct(), and getThinnedProducts().
|
overridevirtual |
Implements edm::EDProductGetter.
Definition at line 156 of file BareRootProductGetterBase.cc.
References cms::Exception::addContext(), branchMap_, EcalMonitorTask_cff::func, fwlite::BranchMapReader::getEventTree(), getThinnedAssociation(), edm::detail::getThinnedKeyFrom_implementation(), edm::BranchID::isValid(), submitPVResolutionJobs::key, class-composition::parent, fwlite::BranchMapReader::productToBranchID(), runTheMatrix::ret, and fwlite::BranchMapReader::thinnedAssociationsHelper().
|
overridevirtual |
Implements edm::EDProductGetter.
Definition at line 130 of file BareRootProductGetterBase.cc.
References b, branchMap_, fwlite::BranchMapReader::getEventTree(), getIt(), getThinnedAssociation(), edm::detail::getThinnedProduct(), submitPVResolutionJobs::key, AlCaHLTBitMon_ParallelJobs::p, fwlite::BranchMapReader::productToBranchID(), and fwlite::BranchMapReader::thinnedAssociationsHelper().
|
overridevirtual |
Implements edm::EDProductGetter.
Definition at line 142 of file BareRootProductGetterBase.cc.
References b, branchMap_, fwlite::BranchMapReader::getEventTree(), getIt(), getThinnedAssociation(), edm::detail::getThinnedProducts(), relativeConstraints::keys, AlCaHLTBitMon_ParallelJobs::p, fwlite::BranchMapReader::productToBranchID(), and fwlite::BranchMapReader::thinnedAssociationsHelper().
|
delete |
|
inlineoverrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 96 of file BareRootProductGetterBase.h.
|
mutableprivate |
Definition at line 121 of file BareRootProductGetterBase.h.
Referenced by createNewBuffer(), getIt(), getThinnedKeyFrom(), getThinnedProduct(), and getThinnedProducts().
|
mutableprivate |
Definition at line 120 of file BareRootProductGetterBase.h.
Referenced by createNewBuffer(), and getIt().