23 std::shared_ptr<EventSkipperByID> eventSkipperByID) :
44 std::shared_ptr<EventSkipperByID> eventSkipperByID) :
82 ex.
addContext(
"Calling StreamerInputFile::openStreamerFile()");
84 ex <<
"Error Opening Streamer Input File: " << name <<
"\n";
89 <<
"Error Opening Streamer Input File, file does not exist: " 112 ex.
addContext(
"Calling StreamerInputFile::readBytes()");
127 ex.
addContext(
"Calling StreamerInputFile::skipBytes()");
138 <<
"Failed reading streamer file, first read in readStartMessage\n";
146 <<
"Expecting an init Message at start of file\n";
158 <<
"Failed reading streamer file, second read in readStartMessage\n";
162 <<
"Failed reading streamer file, init header size from data too small\n";
187 FDEBUG(10) <<
"Opening file " 195 FDEBUG(10) <<
"Comparing Header" << std::endl;
216 <<
"\nhas different run number or protocol version than previous\n";
227 bool eventRead =
false;
239 <<
"Failed reading streamer file, first read in readEventMessage\n" 240 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
248 <<
"Failed reading streamer file, unknown code in event header\n" 249 <<
"code = " << code <<
"\n";
254 <<
"Failed reading streamer file, event header size from data too small\n";
269 <<
"Failed reading streamer file, second read in readEventMessage\n" 270 <<
"Requested " << nWant <<
" bytes, read function returned " << nGot <<
" bytes\n";
276 <<
"Failed reading streamer file, skip event in readEventMessage\n" 277 <<
"Requested " << nWant <<
" bytes skipped, seek function returned " << nGot <<
" bytes\n";
static const HistoName names[]
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