CMS 3D CMS Logo

StreamerFileWriter.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_StreamerFileWriter_h
2 #define IOPool_Streamer_StreamerFileWriter_h
3 
5 
13 
14 #include <iostream>
15 #include <vector>
16 #include <memory>
17 #include <string>
18 
19 namespace edm
20 {
23  {
24  public:
25 
26  explicit StreamerFileWriter(edm::ParameterSet const& ps);
27  explicit StreamerFileWriter(std::string const& fileName);
29 
30  static void fillDescription(ParameterSetDescription& desc);
31 
32  void doOutputHeader(InitMsgBuilder const& init_message);
33  void doOutputHeader(InitMsgView const& init_message);
34 
35  void doOutputEvent(EventMsgBuilder const& msg);
36  void doOutputEvent(EventMsgView const& msg);
37 
38  void start(){}
39  void stop(){};
40 
41  uint32 get_adler32() const { return stream_writer_->adler32();}
42 
43  private:
44 
46 
47  };
48 }
49 #endif
StreamerFileWriter(edm::ParameterSet const &ps)
void doOutputHeader(InitMsgBuilder const &init_message)
edm::propagate_const< std::unique_ptr< StreamerOutputFile > > stream_writer_
unsigned int uint32
Definition: MsgTools.h:13
HLT enums.
static void fillDescription(ParameterSetDescription &desc)
void doOutputEvent(EventMsgBuilder const &msg)