int FindStartIndex(double treshold);
float GetTiming() const;
float GetEnergy() const;
+
void SetData(double *data);
+ void SetData(UInt_t *data);
+
void SetSampleFreq(double freq);
void SetStartIndex(int startIndex);
void MakeInitialGuess();
*Abstratct class documentation
*/
virtual void Evaluate(Int_t start = 0, Int_t lenght = 100) = 0;
- Double_t GetMaxValue(Double_t *dta, Int_t size) const;
+ // Double_t GetMaxValue(Double_t *dta, Int_t size) const;
+ UInt_t GetMaxValue(UInt_t *dta, Int_t size) const;
protected:
Double_t *fFloatDataPtr; /**<Float representation of data that should be fitted */
+ UInt_t *fIntDataPtr; /**<data that should be fitted */
+
double fSampleFrequency; /**<The ADC sample frequency in MHz used under data taking */
double fDTofGuess; /**<Initial guess for t0*/
double fDAmplGuess; /**<Initial guess for amplitude*/