CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FRDFileHandler.h
Go to the documentation of this file.
1 // $Id: FRDFileHandler.h,v 1.14 2012/04/04 12:16:57 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_FRDFileHandler_h
5 #define EventFilter_StorageManager_FRDFileHandler_h
6 
9 
10 #include <stdint.h>
11 #include <boost/scoped_ptr.hpp>
12 
13 
14 namespace stor {
15 
16  class I2OChain;
17 
18 
28  class FRDFileHandler : public FileHandler
29  {
30  public:
32  (
34  const DbFileHandlerPtr,
35  const uint64_t& maxFileSize
36  );
37 
42 
43 
44  private:
45 
49  virtual void do_writeEvent(const I2OChain&);
50 
51  boost::scoped_ptr<FRDEventFileWriter> writer_; // writes FED Raw Data file
52  };
53 
54 } // stor namespace
55 
56 #endif // EventFilter_StorageManager_FRDFileHandler_h
57 
58 
virtual void do_writeEvent(const I2OChain &)
boost::shared_ptr< FileRecord > FileRecordPtr
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:71
unsigned long long uint64_t
Definition: Time.h:15
FRDFileHandler(FilesMonitorCollection::FileRecordPtr, const DbFileHandlerPtr, const uint64_t &maxFileSize)
boost::scoped_ptr< FRDEventFileWriter > writer_
virtual void closeFile(const FilesMonitorCollection::FileRecord::ClosingReason &)