1 #ifndef ALITOFDIGITIZER_H
2 #define ALITOFDIGITIZER_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //_________________________________________________________________________
7 // Task Class for making Digits in TOF
8 // Class performs digitization of Summable digits (in the TOF case this is just
9 // sum of contributions of all signals into a given pad).
10 // In addition it performs mixing of summable digits from different events.
12 //*-- Author: Fabrizio Pierella (Bologna University)
16 #include "AliDigitizer.h"
17 #include "AliTOFcalib.h"
18 #include "AliTOFCal.h"
19 #include "AliTOFGeometry.h"
21 class AliRunDigitizer;
25 class AliTOFDigitizer : public AliDigitizer {
29 AliTOFDigitizer(AliRunDigitizer * manager);
30 virtual ~AliTOFDigitizer();
33 void Exec(Option_t* option=0) ;
34 TClonesArray* SDigits() const {return fSDigitsArray;}
35 void ReadSDigit(Int_t);
37 void InitDecalibration(AliTOFcalib *calib);
38 void DecalibrateTOFSignal(AliTOFcalib *calib);
41 void CollectSDigit(AliTOFSDigit * sdigit) ;
42 Int_t PutNoise(Int_t /*charge*/){return 0;}; // not yet implemented
43 // due to the low noise expected level
44 AliTOFGeometry *fGeom; // AliTOFgeometry pointer
45 TClonesArray *fDigits; //! array with digits
46 TClonesArray *fSDigitsArray; //! List of summable digits; used as a container for all sdigits to be merged
47 AliTOFHitMap *fhitMap ; //! hit map used to perform the merging
49 ClassDef(AliTOFDigitizer,0) // TOF/Merging/Digitization