1 #ifndef IOPool_Input_RootEmbeddedFileSequence_h
2 #define IOPool_Input_RootEmbeddedFileSequence_h
20 class HepRandomEngine;
26 class FileCatalogItem;
27 class InputFileCatalog;
29 class EmbeddedRootSource;
50 EventPrincipal& cache,
size_t& fileNameHash, CLHEP::HepRandomEngine*,
EventID const*,
bool recycleFiles);
RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
bool readOneRandomWithID(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id, bool)
void readOneSpecified(EventPrincipal &cache, size_t &fileNameHash, SecondaryEventIDAndFileInfo const &id)
bool(RootEmbeddedFileSequence::* fptr_)(EventPrincipal &, size_t &, CLHEP::HepRandomEngine *, EventID const *, bool)
bool readOneSequentialWithID(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id, bool)
void initFile_(bool skipBadFiles) override
~RootEmbeddedFileSequence() override
bool readOneRandom(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *, bool)
EmbeddedRootSource & input_
static std::string const input
void closeFile_() override
bool readOneEvent(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id, bool recycleFiles)
bool readOneSequential(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *, bool recycleFiles)
bool enforceGUIDInFileName_
unsigned int maxFileSkips_
int initialNumberOfEventsToSkip_
static void fillDescription(ParameterSetDescription &desc)
RootEmbeddedFileSequence & operator=(RootEmbeddedFileSequence const &)=delete
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_
void skipEntries(unsigned int offset)
int eventsRemainingInFile_
unsigned int treeCacheSize_
RootEmbeddedFileSequence(ParameterSet const &pset, EmbeddedRootSource &input, InputFileCatalog const &catalog)