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 <iostream>
14 #include <vector>
15 #include <memory>
16 #include <string>
17 
18 namespace evf
19 {
22  {
23  public:
24 
25  explicit RecoEventWriterForFU(edm::ParameterSet const& ps);
27 
29 
30  void setInitMessageFile(std::string const&);
31  void setOutputFile(std::string const&);
32  void closeOutputFile();
33 
34  void doOutputHeader(InitMsgBuilder const& init_message);
35  void doOutputHeader(InitMsgView const& init_message);
36 
37  void doOutputEvent(EventMsgBuilder const& msg);
38  void doOutputEvent(EventMsgView const& msg);
39 
40  void start(){}
41  void stop(){}
42 
43  uint32 get_adler32() const { return stream_writer_events_->adler32();}
44 
45  private:
46 
47  boost::shared_ptr<StreamerOutputFile> stream_writer_preamble_;
48  boost::shared_ptr<StreamerOutputFile> stream_writer_events_;
49 
50  };
51 }
52 #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)