1 #ifndef IOPool_Input_RootEmbeddedFileSequence_h
2 #define IOPool_Input_RootEmbeddedFileSequence_h
21 class HepRandomEngine;
27 class FileCatalogItem;
28 class InputFileCatalog;
30 class EmbeddedRootSource;
38 unsigned int nStreams);
bool(RootEmbeddedFileSequence::* fptr_)(EventPrincipal &, size_t &, CLHEP::HepRandomEngine *, EventID const *)
virtual RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
int const treeMaxVirtualSize_
void readOneSpecified(EventPrincipal &cache, size_t &fileNameHash, SecondaryEventIDAndFileInfo const &id)
virtual void initFile_(bool skipBadFiles) override
EmbeddedRootSource & input_
static std::string const input
bool readOneRandomWithID(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)
virtual void closeFile_() override
bool readOneSequential(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *)
virtual ~RootEmbeddedFileSequence()
bool readOneRandom(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *)
RootEmbeddedFileSequence(ParameterSet const &pset, EmbeddedRootSource &input, InputFileCatalog const &catalog, unsigned int nStreams)
bool readOneEvent(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)
ProductSelectorRules productSelectorRules_
bool readOneSequentialWithID(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)
int initialNumberOfEventsToSkip_
static void fillDescription(ParameterSetDescription &desc)
RootEmbeddedFileSequence & operator=(RootEmbeddedFileSequence const &)=delete
void dropUnwantedBranches_(std::vector< std::string > const &wantedBranches)
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_
void skipEntries(unsigned int offset)
std::shared_ptr< RootFile > RootFileSharedPtr
int eventsRemainingInFile_