#include <VectorInputSource.h>
Public Member Functions | |
void | doBeginJob () |
Called at beginning of job. More... | |
void | doEndJob () |
Called at end of job. More... | |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
template<typename T > | |
size_t | loopOverEvents (EventPrincipal &cache, size_t &fileNameHash, size_t number, T eventOperator, CLHEP::HepRandomEngine *=nullptr, EventID const *id=nullptr) |
template<typename T , typename Iterator > | |
size_t | loopSpecified (EventPrincipal &cache, size_t &fileNameHash, Iterator const &begin, Iterator const &end, T eventOperator) |
ProcessHistoryRegistry const & | processHistoryRegistry () const |
ProcessHistoryRegistry & | processHistoryRegistryForUpdate () |
std::shared_ptr < ProductRegistry const > | productRegistry () const |
ProductRegistry & | productRegistryUpdate () const |
VectorInputSource (ParameterSet const &pset, VectorInputSourceDescription const &desc) | |
virtual | ~VectorInputSource () |
Private Member Functions | |
virtual void | beginJob ()=0 |
void | clearEventPrincipal (EventPrincipal &cache) |
virtual void | dropUnwantedBranches_ (std::vector< std::string > const &wantedBranches)=0 |
virtual void | endJob ()=0 |
virtual bool | readOneEvent (EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)=0 |
virtual void | readOneSpecified (EventPrincipal &cache, size_t &fileNameHash, SecondaryEventIDAndFileInfo const &event)=0 |
void | readOneSpecified (EventPrincipal &cache, size_t &fileNameHash, EventID const &event) |
Private Attributes | |
std::unique_ptr < ProcessHistoryRegistry > | processHistoryRegistry_ |
std::shared_ptr< ProductRegistry > | productRegistry_ |
Definition at line 26 of file VectorInputSource.h.
|
explicit |
Definition at line 11 of file VectorInputSource.cc.
|
virtual |
Definition at line 16 of file VectorInputSource.cc.
|
privatepure virtual |
Implemented in edm::EmbeddedRootSource.
Referenced by doBeginJob().
|
private |
Definition at line 24 of file VectorInputSource.cc.
References edm::EventPrincipal::clearEventPrincipal().
Referenced by loopOverEvents(), and loopSpecified().
void edm::VectorInputSource::doBeginJob | ( | ) |
Called at beginning of job.
Definition at line 29 of file VectorInputSource.cc.
References beginJob().
void edm::VectorInputSource::doEndJob | ( | ) |
void edm::VectorInputSource::dropUnwantedBranches | ( | std::vector< std::string > const & | wantedBranches | ) |
Definition at line 19 of file VectorInputSource.cc.
References dropUnwantedBranches_().
|
privatepure virtual |
Implemented in edm::EmbeddedRootSource.
Referenced by dropUnwantedBranches().
|
privatepure virtual |
Implemented in edm::EmbeddedRootSource.
Referenced by doEndJob().
size_t edm::VectorInputSource::loopOverEvents | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
size_t | number, | ||
T | eventOperator, | ||
CLHEP::HepRandomEngine * | engine = nullptr , |
||
EventID const * | id = nullptr |
||
) |
Definition at line 71 of file VectorInputSource.h.
References clearEventPrincipal(), newFWLiteAna::found, i, contentValuesFiles::number, and readOneEvent().
size_t edm::VectorInputSource::loopSpecified | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
Iterator const & | begin, | ||
Iterator const & | end, | ||
T | eventOperator | ||
) |
Definition at line 83 of file VectorInputSource.h.
References clearEventPrincipal(), end, i, and readOneSpecified().
|
inline |
Definition at line 47 of file VectorInputSource.h.
References processHistoryRegistry_.
|
inline |
Definition at line 48 of file VectorInputSource.h.
References processHistoryRegistry_.
Referenced by edm::RootEmbeddedFileSequence::makeRootFile().
|
inline |
Definition at line 45 of file VectorInputSource.h.
References productRegistry_.
|
inline |
Definition at line 46 of file VectorInputSource.h.
References productRegistry_.
Referenced by edm::RootEmbeddedFileSequence::RootEmbeddedFileSequence().
|
privatepure virtual |
Implemented in edm::EmbeddedRootSource.
Referenced by loopOverEvents().
|
privatepure virtual |
Implemented in edm::EmbeddedRootSource.
Referenced by loopSpecified(), and readOneSpecified().
|
inlineprivate |
Definition at line 57 of file VectorInputSource.h.
References info(), and readOneSpecified().
|
private |
Definition at line 67 of file VectorInputSource.h.
Referenced by processHistoryRegistry(), and processHistoryRegistryForUpdate().
|
private |
Definition at line 66 of file VectorInputSource.h.
Referenced by productRegistry(), and productRegistryUpdate().