MARootFileWriter.hh

Go to the documentation of this file.
00001 
00046 #ifndef _Q_A_ROOT_FILE_WRITER_H_
00047 #define _Q_A_ROOT_FILE_WRITER_H_
00048 
00049 #include "QCuore.hh"
00050 #include "QFileWriter.hh"
00051 
00052 class TFile;
00053 class QATree;
00054 class QAEventR;
00055 
00056 class MARootFileWriter : public QFileWriter {
00057 
00058         public:
00059                 MARootFileWriter(QSequence *s);
00060 
00061                 virtual ~MARootFileWriter();
00062 
00063                 void Open(const std::string& filename);
00064 
00065                 void Dump(const QEvent& ev);
00066 
00067                 void Close();
00068 
00069         private:
00070                 TFile *fRootOutput;
00071                 QATree* fTree;
00072                 QAEventR* fEvent; 
00073                 std::string fDescription;
00074         std::map<std::string, std::string> fAliases;
00075         bool fForceApolloFlag;
00076         bool fFixNoiseFlag;
00077 
00078 };
00079 
00080 #endif

Generated on Tue Nov 16 10:50:00 2010 for CUORE Software by  doxygen 1.5.6