00001 00008 #ifndef _QPULSEFITDATA_R_HH_ 00009 #define _QPULSEFITDATA_R_HH_ 00010 00011 00012 #include "QEventDataR.hh" 00013 #include "QVectorR.hh" 00014 #include "TString.h" 00015 00016 00017 namespace Cuore {class QEvent;} 00018 00019 class QPulseFitDataR: public QEventDataR { 00020 00021 public: 00023 QPulseFitDataR(){} 00025 virtual ~QPulseFitDataR(){} 00027 const Double_t& GetHeight() const {return fHeight;} 00029 const QVectorR& GetParams() const {return fParams;} 00031 const Bool_t& GetIsFitted() const {return fIsFitted;} 00033 const TString& GetModel() const {return fModel;} 00034 00036 void SetHeight(const Double_t& height) {fHeight = height;} 00038 QVectorR& GetParams() {return fParams;} 00040 void SetIsFitted(const Bool_t& isFitted) {fIsFitted = isFitted;} 00042 void SetModel(const TString& model) {fModel = model;} 00043 00045 void SetAliases(const std::string& myPath); 00046 private: 00048 void Assign(const Cuore::QEvent& ev); 00050 void Fill(Cuore::QEvent& ev) const; 00051 00052 Double_t fHeight; 00053 QVectorR fParams; 00054 Bool_t fIsFitted; 00055 TString fModel; 00056 00057 ClassDef(QPulseFitDataR,1); 00058 }; 00059 00060 #endif