QCalibData.hh

Go to the documentation of this file.
00001 #ifndef _QCALIBDATA_HH_
00002 #define _QCALIBDATA_HH_
00003 
00011 #include "QEventData.hh"
00012 
00013 class QCalibDataR;
00014 class MApplyCalibration;
00015 class MCalSimulationReader;
00016 class MQuickFileReader;
00017 
00018 Q_BEGIN_NAMESPACE
00019 
00020 class QCalibDataBase : public QEventData {
00021 
00022     public:
00023 
00025         virtual ~QCalibDataBase();
00026 
00028         const double& GetEnergy() const {return fEnergy;}
00029 
00030     protected:
00031 
00033         QCalibDataBase();
00034 
00036         void Clear();
00037 
00039         void SetEnergy(const double& energy) {fEnergy = energy; SetIsSet(true);}
00040 
00041     private:
00042 
00044         double fEnergy;
00045 
00046         friend class ::QCalibDataR;
00047 };
00048 
00056 class QCalibData : public QCalibDataBase {
00057 
00058     public:
00059 
00061         QCalibData();
00062 
00064         ~QCalibData();
00065 
00066     private:
00067 
00068         friend class ::MApplyCalibration;
00069         friend class ::MCalSimulationReader;
00070         friend class ::MQuickFileReader;
00071 
00072 };
00073 
00074 Q_END_NAMESPACE
00075 
00076 #endif

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1