1 #ifndef IOPool_Input_RootEmbeddedFileSequence_h
2 #define IOPool_Input_RootEmbeddedFileSequence_h
20 class HepRandomEngine;
26 class FileCatalogItem;
27 class InputFileCatalog;
29 class EmbeddedRootSource;
bool(RootEmbeddedFileSequence::* fptr_)(EventPrincipal &, size_t &, CLHEP::HepRandomEngine *, EventID const *)
virtual RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
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 *)
bool readOneEvent(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)
bool readOneSequentialWithID(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id)
int initialNumberOfEventsToSkip_
static void fillDescription(ParameterSetDescription &desc)
RootEmbeddedFileSequence & operator=(RootEmbeddedFileSequence const &)=delete
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_
void skipEntries(unsigned int offset)
int eventsRemainingInFile_
RootEmbeddedFileSequence(ParameterSet const &pset, EmbeddedRootSource &input, InputFileCatalog const &catalog)