5 #include <Event/Event.h>
6 #include <Event/oBuffer.h>
7 #include <Event/olzoBuffer.h>
28 , m_MaxSize(10000000000
LL)
49 unsigned filenamesize =
m_FileRule.size() + 15;
51 char *outfilename =
new char[filenamesize];
53 int snprintfbytes = snprintf(outfilename, filenamesize,
m_FileRule.c_str(), irun,
m_iSeq);
54 if (static_cast<unsigned>(snprintfbytes) > filenamesize)
56 cout <<
PHWHERE <<
" " <<
Name() <<
": filename exceeds length " << filenamesize
57 <<
", tried " << snprintfbytes
59 <<
" which uses other than %010d-%04d for runnumber/segment" << endl;
63 S_IRWXU | S_IROTH | S_IRGRP);
66 cout <<
"could not open " << outfilename <<
" quitting" << endl;
69 cout <<
"opening new file " << outfilename << endl;
77 cout <<
Name() <<
": ERROR WRITING OUT FILTERED EVENT "
102 os <<
"Fun4AllFileOutStream writing to " <<
m_OutFileDesc << endl;