Go to the documentation of this file.
19 initialNumberOfEventsToSkip_(
pset.getUntrackedParameter<unsigned
int>(
"skipEvents")) {
36 <<
"No fileNames were specified\n";
49 if (eview ==
nullptr) {
60 for (
int i = 0;
i != toSkip; ++
i) {
62 if (evMsg ==
nullptr) {
98 <<
"received wrong message type: expected INIT, got " <<
header->code() <<
"\n";
112 desc.
setComment(
"Reads events from streamer files.");
113 desc.
addUntracked<std::vector<std::string> >(
"fileNames")->setComment(
"Names of files to be processed.");
115 ->setComment(
"Skip the first 'skipEvents' events that otherwise would have been processed.");
118 desc.
addUntracked<
bool>(
"inputFileTransitionsEachEvent",
false);
121 descriptions.
add(
"source", desc);
def create(alignables, pedeDump, additionalData, outputFile, config)
EventMsgView const * getNextEvent()
~StreamerFileReader() override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void skip(int toSkip) override
edm::propagate_const< std::unique_ptr< StreamerInputFile > > streamReader_
StreamerFileReader(ParameterSet const &pset, InputSourceDescription const &desc)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Next checkNext() override
void setComment(std::string const &value)
void genuineReadFile() override
InitMsgView const * getHeader()
edm::propagate_const< std::shared_ptr< EventSkipperByID > > eventSkipperByID_
std::shared_ptr< EventSkipperByID const > eventSkipperByID() const
std::vector< FileCatalogItem > streamerNames_
static void fillDescription(ParameterSetDescription &desc)
int initialNumberOfEventsToSkip_
void genuineCloseFile() override