]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRawFitterv0.h
Correct treatment of tracks with pT<pTmin
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRawFitterv0.h
index 631d1e73378223f065e031a4839cacf38a22055d..bfb39d19a972414e00f6998d8b84ae715465e010 100644 (file)
@@ -25,12 +25,11 @@ public:
   void SubtractPedestals(Bool_t subtract) {fPedSubtract  = subtract;}
   void SetAmpOffset     (Int_t extPed=5)  {fAmpOffset    = extPed ;}
   void SetAmpThreshold  (Int_t thr=5)     {fAmpThreshold = thr ;}
-  void SetSamples(const UShort_t *sig, Int_t sigStart, Int_t sigLength);
   void SetNBunches(const Int_t nBunches) { fNBunches = nBunches; }
   void SetChannelGeo(const Int_t module, const Int_t cellX,
                     const Int_t cellZ,  const Int_t caloFlag);
 
-  virtual Bool_t Eval();
+  virtual Bool_t Eval(const UShort_t *signal, Int_t sigStart, Int_t sigLength);
   Double_t GetEnergy()        const { return fEnergy;      }
   Double_t GetTime()          const { return fTime;        }
   Double_t GetSignalQuality() const { return fQuality;     }
@@ -40,18 +39,17 @@ public:
   Int_t    GetCellZ()         const { return fCellZ;       }
   Int_t    GetCaloFlag()      const { return fCaloFlag;    }
   Bool_t   IsOverflow()       const { return fOverflow;    }
+  Int_t    GetAmpOffset()     const { return fAmpOffset;   }
+  Int_t    GetAmpThreshold()  const { return fAmpThreshold;}
 
   void SetCalibData(AliPHOSCalibData * cdata){ fCalibData=cdata ;}
 
 protected:   
   
-  UShort_t *fSignal;        // array of samples
   Int_t    fModule;         // PHOS module number
   Int_t    fCellX;          // cell number along X-axis
   Int_t    fCellZ;          // cell number along Z-axis
   Int_t    fCaloFlag;       // 0=LG, 1=HG, 2=TRU
-  Int_t    fStart;          // time bin of start signal
-  Int_t    fLength;         // signal length in time bins
   Int_t    fNBunches;       // number of bunches in a signal
   Bool_t   fPedSubtract;    // pedestals subtraction (kTRUE="yes")
   Double_t fEnergy;         // "digit" energy
@@ -63,7 +61,7 @@ protected:
   Bool_t   fOverflow ;      // kTRUE is the signal overflows
   AliPHOSCalibData * fCalibData ;   //! Calibration database if avalable
 
-  ClassDef(AliPHOSRawFitterv0,1)
+  ClassDef(AliPHOSRawFitterv0,2)
 };
 
 #endif