]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FIT/AliFITDigitizer.h
Merge branch 'master_patch'
[u/mrichter/AliRoot.git] / FIT / AliFITDigitizer.h
CommitLineData
c1c44db3 1#ifndef ALIFITDIGITIZER_H
2#define ALIFITDIGITIZER_H
3/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/******************************************************************
6 * Produde digits from hits
7 * Alla.Maevskaya@cern.ch
8 ********************************************************************/
9
10#include <AliDigitizer.h>
11
12#include <AliDigitizationInput.h>
13class AliFIT;
14class AliFITHits;
15class AliFITDigit;
16
17class AliFITDigitizer : public AliDigitizer {
18 public:
19
20 AliFITDigitizer();
21 AliFITDigitizer(AliDigitizationInput * digInput);
22 virtual ~AliFITDigitizer();
23 virtual Bool_t Init();
24 TClonesArray *Hits() const {return fHits;}
25 TClonesArray *Digits() const {return fDigits;}
26 // Do the main work
27 void Digitize(Option_t* /*option=0*/) ;
28 void AddDigit(Int_t* digits, Int_t*);
29 void AddSDigit(Int_t npmt,
30 Int_t timeCFD, Int_t timeLED, Int_t timeQT0, Int_t timeQT1) ;
31
32 void ResetDigits();
33 void DigitizeHits();
34private:
35
36 AliFIT *fFIT; //!
37 TClonesArray *fHits; //! List of hits
38 TClonesArray *fDigits; //! digits
39 Int_t fNdigits; //! Number of digits
40
41
42 AliFITDigitizer(const AliFITDigitizer&);
43 AliFITDigitizer& operator=(const AliFITDigitizer&);
44
45 ClassDef(AliFITDigitizer,1)
46};
47
48#endif
49