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.15 2012/04/04 12:16:56 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 uint64_t& maxFileSize
38  );
39 
44 
45 
46  private:
47 
52 
56  virtual void do_writeEvent(const I2OChain&);
57 
58  boost::scoped_ptr<edm::StreamerFileWriter> writer_; // writes streamer and index file
59  };
60 
61 } // stor namespace
62 
63 #endif // EventFilter_StorageManager_EventFileHandler_h
64 
65 
virtual void closeFile(const FilesMonitorCollection::FileRecord::ClosingReason &)
EventFileHandler(InitMsgSharedPtr, FilesMonitorCollection::FileRecordPtr, const DbFileHandlerPtr, const uint64_t &maxFileSize)
boost::shared_ptr< InitMsgBuffer > InitMsgSharedPtr
virtual void do_writeEvent(const I2OChain &)
boost::shared_ptr< FileRecord > FileRecordPtr
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:71
void writeHeader(InitMsgSharedPtr)
unsigned long long uint64_t
Definition: Time.h:15
boost::scoped_ptr< edm::StreamerFileWriter > writer_