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.12.4.1 2011/03/07 11:33:04 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 DiskWritingParams&,
36  const uint64_t& maxFileSize
37  );
38 
43 
44 
45  private:
46 
50  virtual void do_writeEvent(const I2OChain&);
51 
52  boost::scoped_ptr<FRDEventFileWriter> writer_; // writes FED Raw Data file
53  };
54 
55 } // stor namespace
56 
57 #endif // EventFilter_StorageManager_FRDFileHandler_h
58 
59 
virtual void do_writeEvent(const I2OChain &)
FRDFileHandler(FilesMonitorCollection::FileRecordPtr, const DbFileHandlerPtr, const DiskWritingParams &, const uint64_t &maxFileSize)
boost::shared_ptr< FileRecord > FileRecordPtr
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
Definition: DbFileHandler.h:65
unsigned long long uint64_t
Definition: Time.h:15
boost::scoped_ptr< FRDEventFileWriter > writer_
virtual void closeFile(const FilesMonitorCollection::FileRecord::ClosingReason &)