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 {
22  public:
23  explicit StreamerFileWriter(edm::ParameterSet const& ps);
24  explicit StreamerFileWriter(std::string const& fileName);
26 
27  static void fillDescription(ParameterSetDescription& desc);
28 
29  void doOutputHeader(InitMsgBuilder const& init_message);
30  void doOutputHeader(InitMsgView const& init_message);
31 
32  void doOutputEvent(EventMsgBuilder const& msg);
33  void doOutputEvent(EventMsgView const& msg);
34 
35  void start() {}
36  void stop(){};
37 
38  uint32 get_adler32() const { return stream_writer_->adler32(); }
39 
40  private:
42  };
43 } // namespace edm
44 #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
tuple msg
Definition: mps_check.py:279
HLT enums.
static void fillDescription(ParameterSetDescription &desc)
void doOutputEvent(EventMsgBuilder const &msg)