#include <RootSecondaryFileSequence.h>
Private Member Functions | |
void | initFile_ (bool skipBadFiles) override |
RootFileSharedPtr | makeRootFile (std::shared_ptr< InputFile > filePtr) override |
Private Attributes | |
std::vector< BranchID > | associationsFromSecondary_ |
bool | enablePrefetching_ |
PoolSource & | input_ |
std::vector< ProcessHistoryID > | orderedProcessHistoryIDs_ |
Additional Inherited Members | |
Protected Types inherited from edm::RootInputFileSequence | |
typedef std::shared_ptr< RootFile > | RootFileSharedPtr |
Protected Member Functions inherited from edm::RootInputFileSequence | |
bool | atFirstFile () const |
bool | atLastFile () const |
std::string const & | fallbackFileName () const |
std::vector< FileCatalogItem > const & | fileCatalogItems () const |
std::string const & | fileName () const |
std::vector< std::shared_ptr< IndexIntoFile > > const & | indexesIntoFiles () const |
void | initFile (bool skipBadFiles) |
void | initTheFile (bool skipBadFiles, bool deleteIndexIntoFile, InputSource *input, char const *inputTypeName, InputType inputType) |
std::string const & | lfn () const |
size_t | lfnHash () const |
std::string const & | logicalFileName () const |
bool | noFiles () const |
bool | noMoreFiles () const |
size_t | numberOfFiles () const |
std::shared_ptr< RootFile const > | rootFile () const |
std::shared_ptr< RootFile > & | rootFile () |
size_t | sequenceNumberOfFile () const |
void | setAtFileSequenceNumber (size_t offset) |
void | setAtFirstFile () |
void | setAtNextFile () |
void | setAtPreviousFile () |
void | setIndexIntoFile (size_t index) |
void | setNoMoreFiles () |
bool | skipToItemInNewFile (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) |
bool | skipToItemInNewFile (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, size_t fileNameHash) |
bool | usedFallback () const |
Definition at line 28 of file RootSecondaryFileSequence.h.
|
explicit |
Definition at line 21 of file RootSecondaryFileSequence.cc.
References enablePrefetching_, edm::RootInputFileSequence::fileName(), StorageFactory::get(), edm::RootInputFileSequence::initFile(), input_, edm::Service< T >::isAvailable(), edm::RootInputFileSequence::noMoreFiles(), edm::InputSource::productRegistryUpdate(), edm::RootInputFileSequence::rootFile(), edm::RootInputFileSequence::setAtFirstFile(), edm::RootInputFileSequence::setAtNextFile(), edm::PoolSource::skipBadFiles(), StorageFactory::stagein(), and edm::ProductRegistry::updateFromInput().
|
override |
Definition at line 53 of file RootSecondaryFileSequence.cc.
|
delete |
|
overridevirtual |
Implements edm::RootInputFileSequence.
Definition at line 62 of file RootSecondaryFileSequence.cc.
References edm::RootInputFileSequence::rootFile().
Referenced by endJob().
void edm::RootSecondaryFileSequence::endJob | ( | void | ) |
Definition at line 57 of file RootSecondaryFileSequence.cc.
References closeFile_().
void edm::RootSecondaryFileSequence::initAssociationsFromSecondary | ( | std::set< BranchID > const & | associationsFromSecondary | ) |
Definition at line 102 of file RootSecondaryFileSequence.cc.
References associationsFromSecondary_, and edm::RootInputFileSequence::rootFile().
|
overrideprivatevirtual |
Implements edm::RootInputFileSequence.
Definition at line 70 of file RootSecondaryFileSequence.cc.
References edm::RootInputFileSequence::initTheFile(), and edm::SecondaryFile.
|
overrideprivatevirtual |
Implements edm::RootInputFileSequence.
Definition at line 75 of file RootSecondaryFileSequence.cc.
References associationsFromSecondary_, edm::InputSource::branchIDListHelper(), edm::PoolSource::bypassVersionCheck(), edm::PoolSource::dropDescendants(), enablePrefetching_, edm::RootInputFileSequence::fileName(), edm::RootInputFileSequence::indexesIntoFiles(), input_, edm::PoolSource::labelRawDataLikeMC(), edm::RootInputFileSequence::logicalFileName(), edm::PoolSource::nStreams(), orderedProcessHistoryIDs_, edm::InputSource::processConfiguration(), edm::InputSource::processHistoryRegistryForUpdate(), edm::InputSource::processingMode(), edm::PoolSource::productSelectorRules(), edm::PoolSource::runHelper(), edm::SecondaryFile, edm::RootInputFileSequence::sequenceNumberOfFile(), edm::InputSource::thinnedAssociationsHelper(), and edm::PoolSource::treeMaxVirtualSize().
|
delete |
|
private |
Definition at line 46 of file RootSecondaryFileSequence.h.
Referenced by initAssociationsFromSecondary(), and makeRootFile().
|
private |
Definition at line 48 of file RootSecondaryFileSequence.h.
Referenced by makeRootFile(), and RootSecondaryFileSequence().
|
private |
Definition at line 45 of file RootSecondaryFileSequence.h.
Referenced by makeRootFile(), and RootSecondaryFileSequence().
|
private |
Definition at line 47 of file RootSecondaryFileSequence.h.
Referenced by makeRootFile().