MLiveTime.hh

Go to the documentation of this file.
00001 #ifndef _M_LIVETIME_HH_
00002 #define _M_LIVETIME_HH_
00003 
00048 #include "QFileReader.hh"
00049 #include "TFile.h"
00050 #include "QTree.hh"
00051 #include "QBaseEventR.hh"
00052 
00053 class MLiveTime : public QFileReader {
00054 
00055     public:
00057         MLiveTime(QSequence* s);
00058 
00060         ~MLiveTime();
00061 
00063                   void Init();
00064                   
00066         void Open(const std::string& filename);
00067 
00069         QEvent* Fill(QEvent* ev);
00070 
00072         void Close();
00073                   
00075                   void Done();
00076 
00077     private:
00079                  TFile* fFile;
00080                  
00082                  QTree* fTree;
00083                  
00085                  int fRun;
00086                  
00088                  int fPreviousRun;
00089                  
00091                  QBaseEventR* fEventR;
00092                  
00094                  std::map<int, double> fLiveTimes;
00095                  
00097                  std::string fOutputFilename;
00098                  
00101         bool fIsBlinded;
00102         
00105         double fBlindingFactor;
00106 
00108                   std::vector<std::string> fAllowedTypes;
00109 };
00110 
00111 #endif
00112 

Generated on Tue Nov 16 10:49:57 2010 for CUORE Software by  doxygen 1.5.6