]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDigitizer.h
Updated mean-vertexer class. Two parameters tuned in the 3DVertexer
[u/mrichter/AliRoot.git] / TOF / AliTOFDigitizer.h
index ac2c6b8d444ea92c3cb32a42c41515a59b7969f2..59d4e53976ba1e3d7ace34db268c372524c08009 100644 (file)
@@ -1,26 +1,28 @@
 #ifndef ALITOFDIGITIZER_H
 #define ALITOFDIGITIZER_H
+
 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-//_________________________________________________________________________
-//  Task Class for making Digits in TOF      
-// Class performs digitization of Summable digits (in the TOF case this is just
-// sum of contributions of all signals into a given pad). 
-// In addition it performs mixing of summable digits from different events.
-//                  
-//*-- Author: Fabrizio Pierella (Bologna University)
+//_______________________________________________________________________________//
+//                                                                               //
+//  Task Class for making Digits in TOF                                          //
+// Class performs digitization of Summable digits (in the TOF case this is just  //
+// sum of contributions of all signals into a given pad).                        //
+// In addition it performs mixing of summable digits from different events.      //
+//                                                                               //
+// -- Author: Fabrizio Pierella (Bologna University)
+//                                                                               //
+//_______________________________________________________________________________//
+
+/* $Id$ */
 
-#include "TH1F.h"
-#include "TList.h"
 #include "AliDigitizer.h"
-#include "AliTOFcalib.h"
-#include "AliTOFCal.h"
-#include "AliTOFGeometry.h"
 
 class AliRunDigitizer;
 class AliTOFHitMap;
 class AliTOFSDigit;
+class AliTOFcalib;
 
 class AliTOFDigitizer : public AliDigitizer {
  public:
@@ -36,23 +38,23 @@ 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
                                                     // noise expected
                                                     // level
-  AliTOFGeometry *fGeom;       // Pointer to the TOF geometry
   TClonesArray *fDigits;       //! array with digits
   TClonesArray *fSDigitsArray; //! List of summable digits; used as a
                               //container for all sdigits to be
                               //merged
   AliTOFHitMap *fhitMap ;      //! hit map used to perform the merging
+  AliTOFcalib * fCalib;        //! calibration object
   
-  ClassDef(AliTOFDigitizer,0)  // TOF/Merging/Digitization
+  ClassDef(AliTOFDigitizer,2)  // TOF/Merging/Digitization
 };    
 #endif