Line data Source code
1 : #ifndef ALITPCDIGITIZER_H
2 : #define ALITPCDIGITIZER_H
3 : /* Copyright(c) 1998-2001, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 :
8 : #include "AliDigitizer.h"
9 : class TTreeSRedirector;
10 :
11 : class AliDigitizationInput;
12 : class AliTPCSAMPAEmulator;
13 :
14 : class AliTPCDigitizer : public AliDigitizer {
15 : public:
16 : enum EStreamFlags{
17 : kStreamCrosstalk =0x1, // flag: stream crosstalk signal ()
18 : kStreamSignal =0x2, // flag: stream signal per pad
19 : kStreamSignalAll =0x4 // flag: stream signal per pad dump all signal (without 0 suppression)
20 : };
21 : AliTPCDigitizer();
22 : AliTPCDigitizer(AliDigitizationInput * digInput);
23 : virtual ~AliTPCDigitizer();
24 : // Initialize merging and digitization
25 : virtual Bool_t Init();
26 : // Do the main work
27 : virtual void Digitize(Option_t* option=0);
28 0 : Int_t GetDebug() const {return fDebug;} // get debug level
29 0 : void SetDebug(Int_t level){fDebug = level;} // set debug level
30 0 : static AliTPCSAMPAEmulator *GetEmulator(){return fgSAMPAEmulator;}
31 0 : static void SetEmulator( AliTPCSAMPAEmulator *emulator){fgSAMPAEmulator=emulator;}
32 : private:
33 : void DigitizeFast(Option_t* option=0); //digitize - using row pointers
34 : void DigitizeSave(Option_t* option=0); // digitize using controlled arrays
35 : void DigitizeWithTailAndCrossTalk(Option_t* option=0);
36 : Int_t fDebug; //
37 : TTreeSRedirector *fDebugStreamer; //!debug streamer
38 : static AliTPCSAMPAEmulator *fgSAMPAEmulator;
39 : private:
40 : AliTPCDigitizer& operator=(const AliTPCDigitizer&);
41 : AliTPCDigitizer(const AliTPCDigitizer&);
42 12 : ClassDef(AliTPCDigitizer,2) // MUON merging/digitization
43 : };
44 : #endif
45 :
|