![]() |
![]() |
#include <RootEmbeddedFileSequence.h>
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Private Member Functions | |
virtual void | initFile_ (bool skipBadFiles) override |
virtual RootFileSharedPtr | makeRootFile (std::shared_ptr< InputFile > filePtr) override |
Private Attributes | |
bool | enablePrefetching_ |
int | eventsRemainingInFile_ |
bool(RootEmbeddedFileSequence::* | fptr_ )(EventPrincipal &, size_t &, CLHEP::HepRandomEngine *, EventID const *) |
int | initialNumberOfEventsToSkip_ |
EmbeddedRootSource & | input_ |
std::vector< ProcessHistoryID > | orderedProcessHistoryIDs_ |
bool | sameLumiBlock_ |
bool | sequential_ |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< RootFile > | RootFileSharedPtr |
![]() | |
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 32 of file RootEmbeddedFileSequence.h.
|
explicit |
Definition at line 26 of file RootEmbeddedFileSequence.cc.
|
virtual |
Definition at line 105 of file RootEmbeddedFileSequence.cc.
|
delete |
|
overridevirtual |
Implements edm::RootInputFileSequence.
Definition at line 113 of file RootEmbeddedFileSequence.cc.
void edm::RootEmbeddedFileSequence::endJob | ( | void | ) |
Definition at line 109 of file RootEmbeddedFileSequence.cc.
|
static |
Definition at line 319 of file RootEmbeddedFileSequence.cc.
Referenced by edm::EmbeddedRootSource::fillDescriptions().
|
overrideprivatevirtual |
Implements edm::RootInputFileSequence.
Definition at line 120 of file RootEmbeddedFileSequence.cc.
|
overrideprivatevirtual |
Implements edm::RootInputFileSequence.
Definition at line 125 of file RootEmbeddedFileSequence.cc.
|
delete |
bool edm::RootEmbeddedFileSequence::readOneEvent | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
CLHEP::HepRandomEngine * | engine, | ||
EventID const * | id | ||
) |
Definition at line 312 of file RootEmbeddedFileSequence.cc.
bool edm::RootEmbeddedFileSequence::readOneRandom | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
CLHEP::HepRandomEngine * | engine, | ||
EventID const * | |||
) |
Definition at line 240 of file RootEmbeddedFileSequence.cc.
bool edm::RootEmbeddedFileSequence::readOneRandomWithID | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
CLHEP::HepRandomEngine * | engine, | ||
EventID const * | id | ||
) |
Definition at line 273 of file RootEmbeddedFileSequence.cc.
bool edm::RootEmbeddedFileSequence::readOneSequential | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
CLHEP::HepRandomEngine * | , | ||
EventID const * | |||
) |
Definition at line 162 of file RootEmbeddedFileSequence.cc.
bool edm::RootEmbeddedFileSequence::readOneSequentialWithID | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
CLHEP::HepRandomEngine * | , | ||
EventID const * | id | ||
) |
Definition at line 181 of file RootEmbeddedFileSequence.cc.
void edm::RootEmbeddedFileSequence::readOneSpecified | ( | EventPrincipal & | cache, |
size_t & | fileNameHash, | ||
SecondaryEventIDAndFileInfo const & | id | ||
) |
Definition at line 222 of file RootEmbeddedFileSequence.cc.
void edm::RootEmbeddedFileSequence::skipEntries | ( | unsigned int | offset | ) |
Definition at line 146 of file RootEmbeddedFileSequence.cc.
|
private |
Definition at line 66 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 64 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 63 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 65 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 57 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 59 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 62 of file RootEmbeddedFileSequence.h.
|
private |
Definition at line 61 of file RootEmbeddedFileSequence.h.