]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDigitizer.h
Improved memory leaks in AliTOFtracker* classes: additional solution for bug #66136
[u/mrichter/AliRoot.git] / TOF / AliTOFDigitizer.h
index 003992e7ec683c50f29cb05f193ca798d06bea44..59d4e53976ba1e3d7ace34db268c372524c08009 100644 (file)
@@ -38,11 +38,11 @@ class AliTOFDigitizer : public AliDigitizer {
   TClonesArray* SDigits() const {return fSDigitsArray;}
   void ReadSDigit(Int_t inputFile);
   void CreateDigits();
-  void InitDecalibration(AliTOFcalib *calib) const;
-  void DecalibrateTOFSignal(AliTOFcalib *calib);
+  void InitDecalibration() const;
+  void DecalibrateTOFSignal();
   
  private:
-  void CollectSDigit(AliTOFSDigit * sdigit) ;
+  void CollectSDigit(const AliTOFSDigit * const sdigit) ;
   Int_t PutNoise(Int_t /*charge*/)const {return 0;}; // not yet
                                                     // implemented
                                                     // due to the low
@@ -53,7 +53,8 @@ class AliTOFDigitizer : public AliDigitizer {
                               //container for all sdigits to be
                               //merged
   AliTOFHitMap *fhitMap ;      //! hit map used to perform the merging
+  AliTOFcalib * fCalib;        //! calibration object
   
-  ClassDef(AliTOFDigitizer,1)  // TOF/Merging/Digitization
+  ClassDef(AliTOFDigitizer,2)  // TOF/Merging/Digitization
 };    
 #endif