bugfix
[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
3d44ce66 6#include <AliDigitizer.h>
7#include <AliRunDigitizer.h>
88cb7938 8
88cb7938 9class TClonesArray;
66d2ede1 10class AliFMDDigitizer : public AliDigitizer {
11 public:
12
13 AliFMDDigitizer();
14 AliFMDDigitizer(AliRunDigitizer * manager);
15 virtual ~AliFMDDigitizer();
88cb7938 16 virtual Bool_t Init();
4110645f 17
66d2ede1 18
19 // Do the main work
20 void Exec(Option_t* option=0) ;
383238cf 21 Int_t PutNoise(Int_t charge) {return (Int_t)(gRandom->Gaus(charge,500));}
4110645f 22 TClonesArray *Digits() const {return fDigits;}
23 TClonesArray *Hits() const {return fHits;}
66d2ede1 24
66d2ede1 25
26 enum {kBgTag = -1};
27
28
29 private:
4110645f 30 TClonesArray *fDigits; // ! array with digits
31 TClonesArray *fHits; // List of hits
32 AliRunDigitizer* GetManager(){return fManager;}
33
66d2ede1 34 ClassDef(AliFMDDigitizer,0)
35};
36#endif
37
4110645f 38
39
40