Transition to NewIO
[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"
88cb7938 7
66d2ede1 8class AliRunDigitizer;
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) ;
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
25
66d2ede1 26
27 enum {kBgTag = -1};
28
29
30 private:
4110645f 31 TClonesArray *fDigits; // ! array with digits
32 TClonesArray *fHits; // List of hits
33 AliRunDigitizer* GetManager(){return fManager;}
34
66d2ede1 35 ClassDef(AliFMDDigitizer,0)
36};
37#endif
38
4110645f 39
40
41