00001 #ifndef TINTEGRALRATIOAUSSFITANALYSEDPULSE_H 00002 #define TINTEGRALRATIOAUSSFITANALYSEDPULSE_H 00003 00004 #include "TAnalysedPulse.h" 00005 #include <TObject.h> 00006 00007 class TIntegralRatioAnalysedPulse:public TAnalysedPulse{ 00008 public: 00010 TIntegralRatioAnalysedPulse():TAnalysedPulse(){}; 00011 00015 TIntegralRatioAnalysedPulse(const IDs::source& sourceID, 00016 const TPulseIslandID& parentID, const TPulseIsland* parentTPI): 00017 TAnalysedPulse(sourceID,parentID,parentTPI){} 00018 00019 // defined in .cpp file to force vtable to be built 00020 virtual ~TIntegralRatioAnalysedPulse(){}; 00021 00024 double GetIntegralSmall()const{return fIntegralSmall;} 00025 double GetIntegralRatio()const{return fIntegralRatio;} 00027 00031 void SetIntegralSmall(const double& val){fIntegralSmall=val;} 00032 void SetIntegralRatio(const double& val){fIntegralRatio=val;} 00034 00035 double GetMean()const{return fMean;} 00036 double GetMin ()const{return fMin;} 00037 double GetMax ()const{return fMax;} 00038 00039 void SetMean(double v){fMean=v;} 00040 void SetMin (double v){fMin =v;} 00041 void SetMax (double v){fMax =v;} 00042 00044 virtual void Draw(const TH1F* tpi_pulse)const; 00045 00046 private: 00047 double fIntegralSmall; 00048 double fIntegralRatio; 00049 00050 double fMean; 00051 double fMin; 00052 double fMax; 00053 00054 ClassDef(TIntegralRatioAnalysedPulse,1); 00055 }; 00056 00057 #endif //TINTEGRALRATIOAUSSFITANALYSEDPULSE_H