CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoEventWriterForFU.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_RecoEventWriterForFU_h
2 #define IOPool_Streamer_RecoEventWriterForFU_h
3 
12 
13 #include "boost/shared_ptr.hpp"
14 
15 #include <iostream>
16 #include <vector>
17 #include <memory>
18 #include <string>
19 
20 namespace evf
21 {
24  {
25  public:
26 
27  explicit RecoEventWriterForFU(edm::ParameterSet const& ps);
29 
31 
32  void setInitMessageFile(std::string const&);
33  void setOutputFile(std::string const&);
34  void closeOutputFile();
35 
36  void doOutputHeader(InitMsgBuilder const& init_message);
37  void doOutputHeader(InitMsgView const& init_message);
38 
39  void doOutputEvent(EventMsgBuilder const& msg);
40  void doOutputEvent(EventMsgView const& msg);
41 
42  void start(){}
43  void stop(){}
44 
45  uint32 get_adler32() const { return stream_writer_events_->adler32();}
46 
47  private:
48 
49  boost::shared_ptr<StreamerOutputFile> stream_writer_preamble_;
50  boost::shared_ptr<StreamerOutputFile> stream_writer_events_;
51 
52  };
53 }
54 #endif
boost::shared_ptr< StreamerOutputFile > stream_writer_events_
void setInitMessageFile(std::string const &)
void setOutputFile(std::string const &)
unsigned int uint32
Definition: MsgTools.h:13
void doOutputEvent(EventMsgBuilder const &msg)
void doOutputHeader(InitMsgBuilder const &init_message)
boost::shared_ptr< StreamerOutputFile > stream_writer_preamble_
static void fillDescription(edm::ParameterSetDescription &desc)
RecoEventWriterForFU(edm::ParameterSet const &ps)