Adaption to new fluka common blocks (E. Futo)
[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"
ab256e65 7class TClonesArray;
66d2ede1 8class AliRunDigitizer;
66d2ede1 9class AliFMDDigitizer : public AliDigitizer {
10 public:
11
12 AliFMDDigitizer();
13 AliFMDDigitizer(AliRunDigitizer * manager);
14 virtual ~AliFMDDigitizer();
ab256e65 15 virtual Bool_t Init() {return kTRUE;} ///???????????
4110645f 16
66d2ede1 17
18 // Do the main work
19 void Exec(Option_t* option=0) ;
20 Int_t PutNoise(Int_t charge){return (Int_t)(gRandom->Gaus(charge,500));}
4110645f 21 TClonesArray *Digits() const {return fDigits;}
22 TClonesArray *Hits() const {return fHits;}
66d2ede1 23
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