]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDigitizer.h
Removing the tasks from the digitization (Ruben)
[u/mrichter/AliRoot.git] / TOF / AliTOFDigitizer.h
index 003992e7ec683c50f29cb05f193ca798d06bea44..613f7456b4e2deaab1cd92e568e8041cd063c96b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "AliDigitizer.h"
 
-class AliRunDigitizer;
+class AliDigitizationInput;
 class AliTOFHitMap;
 class AliTOFSDigit;
 class AliTOFcalib;
@@ -28,21 +28,21 @@ class AliTOFDigitizer : public AliDigitizer {
  public:
   
   AliTOFDigitizer();
-  AliTOFDigitizer(AliRunDigitizer * manager);
+  AliTOFDigitizer(AliDigitizationInput * digInput);
   virtual ~AliTOFDigitizer();
   AliTOFDigitizer(const AliTOFDigitizer &source); // copy constructor
   AliTOFDigitizer& operator=(const AliTOFDigitizer &source); // ass. op.
   
   // Do the main work
-  void Exec(Option_t* option=0) ;
+  void Digitize(Option_t* option=0) ;
   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