| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DaqFileWriter.cc

Go to the documentation of this file.
00001 /*
00002  *  DaqFileWriter.cc
00003  *  DaqFormatModules
00004  *
00005  *  Created by Simon Patton on 8/8/10.
00006  *  Copyright 2010 DayaBay Collaboration. All rights reserved.
00007  *
00008  */
00009 #include "DaqFileWriter.h"
00010 
00011 #include "DaqReadoutSvc/IDaqReadoutSvc.h"
00012 #include "FileReadoutFormat/DaqToFStream.h"
00013 
00014 using DybDaq::DaqFormatWriter;
00015 using DybDaq::DaqFileWriter;
00016 using DybDaq::DaqToOStream;
00017 using DybDaq::DaqToFStream;
00018 
00019 DaqFileWriter::DaqFileWriter(const std::string& name,
00020                                  ISvcLocator* svc) :
00021     DaqFormatWriter(name,
00022                     svc) {
00023     declareProperty("OutputDir",
00024                     m_outputDir,
00025                     "The directory into which to write the output files");
00026 }
00027 
00028 DaqFileWriter::~DaqFileWriter() {
00029 }
00030 
00031 DaqToOStream* DaqFileWriter::createDaqToOStream(const FileTraits& traits) {
00032   return new DaqToFStream(traits,
00033                           m_outputDir);
00034 }
00035 
00036 void DaqFileWriter::wroteFileHead() {
00037 }
00038 
00039 void DaqFileWriter::wroteData() {
00040 }
00041 
00042 void DaqFileWriter::wroteFileFoot() {
00043 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:46:28 2011 for DaqFormatModules by doxygen 1.4.7