27 <<
"Error writing FED Raw Data event data to "
28 <<
fileName_ <<
". Possibly the output disk "
29 <<
"is full?" << std::endl;
35 <<
"Error writing FED Raw Data event data to "
36 <<
fileName_ <<
". Possibly the output disk "
37 <<
"is full?" << std::endl;
44 unsigned long dataSize)
46 ost_->write((
const char*) dataPtr, dataSize);
48 throw cms::Exception(
"FRDEventFileWriter",
"doOutputEventFragment")
49 <<
"Error writing FED Raw Data event data to "
50 <<
fileName_ <<
". Possibly the output disk "
51 <<
"is full?" << std::endl;
56 throw cms::Exception(
"FRDEventFileWriter",
"doOutputEventFragment")
57 <<
"Error writing FED Raw Data event data to "
58 <<
fileName_ <<
". Possibly the output disk "
59 <<
"is full?" << std::endl;
70 if (!
ost_->is_open()) {
72 <<
"Error opening FED Raw Data event output file: " << name <<
"\n";
T getUntrackedParameter(std::string const &, T const &) const
FRDEventFileWriter(edm::ParameterSet const &ps)
std::auto_ptr< std::ofstream > ost_
void doOutputEventFragment(unsigned char *dataPtr, unsigned long dataSize)
uint8 * startAddress() const
void initialize(std::string const &name)
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)
void doOutputEvent(FRDEventMsgView const &msg)