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 class MQinoMiNtpReader;
00018 
00019 Q_BEGIN_NAMESPACE
00020 
00021 class QCalibDataBase : public QEventData {
00022 
00023     public:
00024 
00026         virtual ~QCalibDataBase();
00027 
00029         const double& GetEnergy() const {return fEnergy;}
00030 
00031     protected:
00032 
00034         QCalibDataBase();
00035 
00037         void Clear();
00038 
00040         void SetEnergy(const double& energy) {fEnergy = energy; SetIsSet(true);}
00041 
00042     private:
00043 
00045         double fEnergy;
00046 
00047         friend class ::QCalibDataR;
00048 };
00049 
00057 class QCalibData : public QCalibDataBase {
00058 
00059     public:
00060 
00062         QCalibData();
00063 
00065         ~QCalibData();
00066 
00067     private:
00068 
00069         friend class ::MApplyCalibration;
00070         friend class ::MCalSimulationReader;
00071         friend class ::MQuickFileReader;
00072         friend class ::MQinoMiNtpReader;
00073 
00074 };
00075 
00076 Q_END_NAMESPACE
00077 
00078 #endif

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