]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor changes
authorphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2007 11:04:46 +0000 (11:04 +0000)
committerphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2007 11:04:46 +0000 (11:04 +0000)
HLT/PHOS/AliHLTPHOSRawAnalyzer.h

index a3916194f9903dff988b2f297e5223cccaeb7ae3..dcbd6d085b563ea87891d29767631f40d746fdd6 100644 (file)
@@ -24,7 +24,10 @@ class AliHLTPHOSRawAnalyzer
   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();
@@ -36,10 +39,13 @@ class AliHLTPHOSRawAnalyzer
    *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*/