28 <<
"Error writing FED Raw Data event data to "
29 <<
fileName_ <<
". Possibly the output disk "
30 <<
"is full?" << std::endl;
36 <<
"Error writing FED Raw Data event data to "
37 <<
fileName_ <<
". Possibly the output disk "
38 <<
"is full?" << std::endl;
45 unsigned long dataSize)
47 ost_->write((
const char*) dataPtr, dataSize);
49 throw cms::Exception(
"FRDEventFileWriter",
"doOutputEventFragment")
50 <<
"Error writing FED Raw Data event data to "
51 <<
fileName_ <<
". Possibly the output disk "
52 <<
"is full?" << std::endl;
57 throw cms::Exception(
"FRDEventFileWriter",
"doOutputEventFragment")
58 <<
"Error writing FED Raw Data event data to "
59 <<
fileName_ <<
". Possibly the output disk "
60 <<
"is full?" << std::endl;
71 if (!
ost_->is_open()) {
73 <<
"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)