Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion IOPool/Input/src/RepeatingCachedRootSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ namespace edm {
bool goToEvent_(EventID const& eventID) override;
void beginJob() override;

void fillProcessBlockHelper_() override;
bool nextProcessBlock_(ProcessBlockPrincipal&) override;
void readProcessBlock_(ProcessBlockPrincipal&) override;

std::unique_ptr<RootFile> makeRootFile(std::string const& logicalFileName,
std::string const& pName,
bool isSkipping,
Expand Down Expand Up @@ -271,7 +275,7 @@ std::unique_ptr<RootFile> RepeatingCachedRootSource::makeRootFile(
selectorRules_,
InputType::Primary,
branchIDListHelper(),
nullptr,
processBlockHelper().get(),
thinnedAssociationsHelper(),
nullptr, // associationsFromSecondary
duplicateChecker,
Expand Down Expand Up @@ -354,6 +358,16 @@ void RepeatingCachedRootSource::skip(int offset) {}

bool RepeatingCachedRootSource::goToEvent_(EventID const& eventID) { return false; }

void RepeatingCachedRootSource::fillProcessBlockHelper_() { rootFile_->fillProcessBlockHelper_(); }

bool RepeatingCachedRootSource::nextProcessBlock_(ProcessBlockPrincipal& processBlockPrincipal) {
return rootFile_->nextProcessBlock_(processBlockPrincipal);
}

void RepeatingCachedRootSource::readProcessBlock_(ProcessBlockPrincipal& processBlockPrincipal) {
rootFile_->readProcessBlock_(processBlockPrincipal);
}

//
// const member functions
//
Expand Down