AliTPCTransform.h - removing warning visible in
[u/mrichter/AliRoot.git] / TOF / AliTOFDigitizer.h
CommitLineData
8e72349e 1#ifndef ALITOFDIGITIZER_H
2#define ALITOFDIGITIZER_H
0e46b9ae 3
8e72349e 4/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
68861244 5 * See cxx source for full Copyright notice */
6
0e46b9ae 7//_______________________________________________________________________________//
8// //
9// Task Class for making Digits in TOF //
10// Class performs digitization of Summable digits (in the TOF case this is just //
11// sum of contributions of all signals into a given pad). //
12// In addition it performs mixing of summable digits from different events. //
13// //
14// -- Author: Fabrizio Pierella (Bologna University)
15// //
16//_______________________________________________________________________________//
17
18/* $Id$ */
68861244 19
8e72349e 20#include "AliDigitizer.h"
68861244 21
8e72349e 22class AliRunDigitizer;
23class AliTOFHitMap;
24class AliTOFSDigit;
0e46b9ae 25class AliTOFcalib;
68861244 26
8e72349e 27class AliTOFDigitizer : public AliDigitizer {
28 public:
68861244 29
8e72349e 30 AliTOFDigitizer();
31 AliTOFDigitizer(AliRunDigitizer * manager);
32 virtual ~AliTOFDigitizer();
7aeeaf38 33 AliTOFDigitizer(const AliTOFDigitizer &source); // copy constructor
34 AliTOFDigitizer& operator=(const AliTOFDigitizer &source); // ass. op.
8e72349e 35
36 // Do the main work
37 void Exec(Option_t* option=0) ;
38 TClonesArray* SDigits() const {return fSDigitsArray;}
340693af 39 void ReadSDigit(Int_t inputFile);
55cb22a1 40 void CreateDigits();
8fc02d6f 41 void InitDecalibration() const;
42 void DecalibrateTOFSignal();
8e72349e 43
44 private:
45 void CollectSDigit(AliTOFSDigit * sdigit) ;
7aeeaf38 46 Int_t PutNoise(Int_t /*charge*/)const {return 0;}; // not yet
47 // implemented
48 // due to the low
49 // noise expected
50 // level
7aeeaf38 51 TClonesArray *fDigits; //! array with digits
52 TClonesArray *fSDigitsArray; //! List of summable digits; used as a
53 //container for all sdigits to be
54 //merged
55 AliTOFHitMap *fhitMap ; //! hit map used to perform the merging
8fc02d6f 56 AliTOFcalib * fCalib; //! calibration object
8e72349e 57
8fc02d6f 58 ClassDef(AliTOFDigitizer,2) // TOF/Merging/Digitization
8e72349e 59};
60#endif