X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFDigitizer.h;h=613f7456b4e2deaab1cd92e568e8041cd063c96b;hb=18445bcf48de20017fb45d43c900157724b44e36;hp=e563297727bba4a55a6dfc9aa19f2d7f545c8a6d;hpb=88cb7938ca21d4a80991d4e7aa564008c29340f7;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFDigitizer.h b/TOF/AliTOFDigitizer.h index e563297727b..613f7456b4e 100644 --- a/TOF/AliTOFDigitizer.h +++ b/TOF/AliTOFDigitizer.h @@ -1,43 +1,60 @@ #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 "AliDigitizer.h" -class AliRunDigitizer; +class AliDigitizationInput; class AliTOFHitMap; class AliTOFSDigit; +class AliTOFcalib; 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); + void ReadSDigit(Int_t inputFile); void CreateDigits(); + void InitDecalibration() const; + void DecalibrateTOFSignal(); private: - void CollectSDigit(AliTOFSDigit * sdigit) ; - Int_t PutNoise(Int_t charge){return 0;}; // not yet implemented - // due to the low noise expected level - 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 + 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 + 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