CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventFileHandler.h
Go to the documentation of this file.
1 // $Id: EventFileHandler.h,v 1.13.4.1 2011/03/07 11:33:04 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_EventFileHandler_h
5 #define EventFilter_StorageManager_EventFileHandler_h
6 
9 
11 
12 #include <stdint.h>
13 #include <boost/scoped_ptr.hpp>
14 
15 
16 namespace stor {
17 
18  class I2OChain;
19 
20 
30  {
31  public:
33  (
36  const DbFileHandlerPtr,
37  const DiskWritingParams&,
38  const uint64_t& maxFileSize
39  );
40 
45 
46 
47  private:
48 
53 
57  virtual void do_writeEvent(const I2OChain&);
58 
59  boost::scoped_ptr<edm::StreamerFileWriter> writer_; // writes streamer and index file
60  };
61 
62 } // stor namespace
63 
64 #endif // EventFilter_StorageManager_EventFileHandler_h
65 
66 
virtual void closeFile(const FilesMonitorCollection::FileRecord::ClosingReason &)
boost::shared_ptr< InitMsgBuffer > InitMsgSharedPtr
virtual void do_writeEvent(const I2OChain &)
boost::shared_ptr< FileRecord > FileRecordPtr
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:65
void writeHeader(InitMsgSharedPtr)
unsigned long long uint64_t
Definition: Time.h:15
boost::scoped_ptr< edm::StreamerFileWriter > writer_
EventFileHandler(InitMsgSharedPtr, FilesMonitorCollection::FileRecordPtr, const DbFileHandlerPtr, const DiskWritingParams &, const uint64_t &maxFileSize)