StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
JanEventWriter.h
1 //
2 // Pibero Djawotho <pibero@iucf.indiana.edu>
3 // Indiana University
4 // Feb 19, 2006
5 //
6 
7 #ifndef JanEventWriter_hh
8 #define JanEventWriter_hh
9 
10 // C++ STL
11 #include <string>
12 #include <fstream>
13 
14 // Local
15 class JanEvent;
16 
18 public:
19  JanEventWriter(const string& filename = "/dev/stdout");
20  ~JanEventWriter();
21 
22  ostream& operator()(const JanEvent& event);
23 
24 private:
25  ofstream& out;
26 };
27 
28 #endif