00001 00013 #ifndef _Q_MAIN_PULSE_HH_ 00014 #define _Q_MAIN_PULSE_HH_ 00015 00016 #include "QPulse.hh" 00017 00018 class QMainPulseR; 00019 00020 Q_BEGIN_NAMESPACE 00021 00022 class QMainPulse : public QPulse { 00023 00024 public: 00026 QMainPulse(); 00027 00029 virtual ~QMainPulse() {} 00030 00032 const QSampleInfo& GetMasterSample() const { return fMasterSample; } 00034 QSampleInfo& GetMasterSample() { return fMasterSample; } 00035 00037 void SetMasterSample(const QSampleInfo& mainSample) { fMasterSample = mainSample; } 00039 bool GetIsHighHeater() const {return fMasterSample.GetIsHighHeater();} 00041 bool GetIsLowHeater() const {return fMasterSample.GetIsLowHeater();} 00043 bool GetIsStabHeater() const {return fMasterSample.GetIsStabHeater();} 00045 bool GetIsHeater() const {return fMasterSample.GetIsHeater();} 00047 bool GetIsSignal() const {return fMasterSample.GetIsSignal();} 00049 bool GetIsMuon() const {return fMasterSample.GetIsMuon();} 00051 bool GetIsNoise() const {return fMasterSample.GetIsNoise();} 00052 00054 void Clear(); 00055 00056 private: 00058 QSampleInfo fMasterSample; 00059 00060 friend class ::QMainPulseR; 00061 }; 00062 00063 Q_END_NAMESPACE 00064 00065 #endif