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 {
21  namespace streamer {
23  public:
24  explicit StreamerFileWriter(edm::ParameterSet const& ps);
25  explicit StreamerFileWriter(std::string const& fileName);
27 
29 
30  void doOutputHeader(InitMsgBuilder const& init_message);
31  void doOutputHeader(InitMsgView const& init_message);
32 
33  void doOutputEvent(EventMsgBuilder const& msg);
34  void doOutputEvent(EventMsgView const& msg);
35 
36  void start() {}
37  void stop() {}
38 
39  uint32 get_adler32() const { return stream_writer_->adler32(); }
40 
41  private:
43  };
44  } // namespace streamer
45 } // namespace edm
46 #endif
void doOutputEvent(EventMsgBuilder const &msg)
edm::propagate_const< std::unique_ptr< StreamerOutputFile > > stream_writer_
tuple msg
Definition: mps_check.py:286
HLT enums.
StreamerFileWriter(edm::ParameterSet const &ps)
unsigned int uint32
Definition: MsgTools.h:14
void doOutputHeader(InitMsgBuilder const &init_message)
static void fillDescription(ParameterSetDescription &desc)