AliFMDDigitizer 1st version
[u/mrichter/AliRoot.git] / FMD / AliFMDDigitizer.h
CommitLineData
66d2ede1 1#ifndef ALIFMDDIGITIZER_H
2#define ALIFMDDIGITIZER_H
3/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include "AliDigitizer.h"
7
8class AliRunDigitizer;
9
10class AliFMDDigitizer : public AliDigitizer {
11 public:
12
13 AliFMDDigitizer();
14 AliFMDDigitizer(AliRunDigitizer * manager);
15 virtual ~AliFMDDigitizer();
16 virtual Bool_t Init();
17
18
19 // Do the main work
20 void Exec(Option_t* option=0) ;
21 Int_t PutNoise(Int_t charge){return (Int_t)(gRandom->Gaus(charge,500));}
22 TClonesArray *SDigits() const {return fSDigits;}
23
24
25 void ReadDigit(Int_t a[][50][300], Int_t);
26
27 enum {kBgTag = -1};
28
29
30 private:
31 TClonesArray *fDigits; // ! array with digits
32 TClonesArray *fSDigits ; // List of summable digits
33
34 ClassDef(AliFMDDigitizer,0)
35};
36#endif
37