9 #include "JanEventWriter.h"
11 JanEventWriter::JanEventWriter(
const string& filename)
12 : out(*new ofstream(filename.c_str()))
14 if (!out) cerr <<
"Can't open " << filename << endl;
17 JanEventWriter::~JanEventWriter()
22 ostream& JanEventWriter::operator()(
const JanEvent& event)