23 std::shared_ptr<EventSkipperByID> eventSkipperByID)
47 std::shared_ptr<EventSkipperByID> eventSkipperByID)
77 throw cms::Exception(
"LogicalFileNameNotFound",
"StreamerInputFile::openStreamerFile()\n")
78 <<
"Logical file name '" << LFN <<
"' was not found in the file catalog.\n" 79 <<
"If you wanted a local file, you forgot the 'file:' prefix\n" 80 <<
"before the file name in your configuration file.\n";
92 ex.
addContext(
"Calling StreamerInputFile::openStreamerFile()");
94 ex <<
"Error Opening Streamer Input File: " << name <<
"\n";
99 <<
"Error Opening Streamer Input File, file does not exist: " << name <<
"\n";
119 ex.
addContext(
"Calling StreamerInputFile::readBytes()");
133 ex.
addContext(
"Calling StreamerInputFile::skipBytes()");
144 <<
"Failed reading streamer file, first read in readStartMessage\n";
152 <<
"Expecting an init Message at start of file\n";
165 <<
"Failed reading streamer file, second read in readStartMessage\n";
169 <<
"Failed reading streamer file, init header size from data too small\n";
200 FDEBUG(10) <<
"Comparing Header" << std::endl;
219 <<
"\nhas different run number or protocol version than previous\n";
230 bool eventRead =
false;
241 <<
"Failed reading streamer file, first read in readEventMessage\n" 242 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
250 <<
"Failed reading streamer file, unknown code in event header\n" 251 <<
"code = " << code <<
"\n";
256 <<
"Failed reading streamer file, event header size from data too small\n";
272 <<
"Failed reading streamer file, second read in readEventMessage\n" 273 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
279 <<
"Failed reading streamer file, skip event in readEventMessage\n" 280 <<
"Requested " << nWant <<
" bytes skipped, seek function returned " << nGot <<
" bytes\n";
const std::string names[nVars_]
static const StorageFactory * get(void)
void addContext(std::string const &context)
static void check(T const &p, std::string const &id, SelectedProducts const &iProducts)
std::unique_ptr< Storage > open(const std::string &url, int mode=IOFlags::OpenRead) const