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)
14 #include "AliDigitizer.h"
16 class AliRunDigitizer;
20 class AliTOFDigitizer : public AliDigitizer {
24 AliTOFDigitizer(AliRunDigitizer * manager);
25 virtual ~AliTOFDigitizer();
28 void Exec(Option_t* option=0) ;
29 TClonesArray* SDigits() const {return fSDigitsArray;}
30 void ReadSDigit(Int_t);
34 void CollectSDigit(AliTOFSDigit * sdigit) ;
35 Int_t PutNoise(Int_t /*charge*/){return 0;}; // not yet implemented
36 // due to the low noise expected level
37 TClonesArray *fDigits; //! array with digits
38 TClonesArray *fSDigitsArray ; //! List of summable digits; used as a container for all sdigits to be merged
39 AliTOFHitMap *fhitMap ; //! hit map used to perform the merging
41 ClassDef(AliTOFDigitizer,0) // TOF/Merging/Digitization