41 std::shared_ptr<EventSkipperByID> eventSkipperByID)
75 ex.
addContext(
"Calling StreamerInputFile::openStreamerFile()");
77 ex <<
"Error Opening Streamer Input File: " << name <<
"\n";
82 <<
"Error Opening Streamer Input File, file does not exist: " << name <<
"\n";
102 ex.
addContext(
"Calling StreamerInputFile::readBytes()");
116 ex.
addContext(
"Calling StreamerInputFile::skipBytes()");
127 <<
"Failed reading streamer file, first read in readStartMessage\n";
135 <<
"Expecting an init Message at start of file\n";
148 <<
"Failed reading streamer file, second read in readStartMessage\n";
152 <<
"Failed reading streamer file, init header size from data too small\n";
183 FDEBUG(10) <<
"Comparing Header" << std::endl;
202 <<
"\nhas different run number or protocol version than previous\n";
213 bool eventRead =
false;
224 <<
"Failed reading streamer file, first read in readEventMessage\n" 225 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
233 <<
"Failed reading streamer file, unknown code in event header\n" 234 <<
"code = " << code <<
"\n";
239 <<
"Failed reading streamer file, event header size from data too small\n";
255 <<
"Failed reading streamer file, second read in readEventMessage\n" 256 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
262 <<
"Failed reading streamer file, skip event in readEventMessage\n" 263 <<
"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