ATO-123 - Configurin of the stream level. Swith to dump all signal withour zerro...
[u/mrichter/AliRoot.git] / TPC / TPCsim / AliTPCDigitizer.h
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
13 class AliTPCDigitizer : public AliDigitizer {
14  public:    
15   enum EStreamFlags{
16     kStreamCrosstalk        =0x1,     // flag: stream crosstalk signal ()
17     kStreamSignal           =0x2,     // flag: stream signal per pad
18     kStreamSignalAll        =0x4      // flag: stream signal per pad dump all signal (without 0 suppression)
19   };
20   AliTPCDigitizer();
21     AliTPCDigitizer(AliDigitizationInput * digInput);
22     virtual ~AliTPCDigitizer();
23     // Initialize merging and digitization
24     virtual Bool_t Init();
25     // Do the main work
26     virtual void Digitize(Option_t* option=0);    
27     Int_t GetDebug() const {return fDebug;}       // get debug level
28     void SetDebug(Int_t level){fDebug = level;}   // set debug level        
29  private: 
30     void DigitizeFast(Option_t* option=0); //digitize - using row pointers
31     void DigitizeSave(Option_t* option=0); // digitize using controlled arrays   
32     void DigitizeWithTailAndCrossTalk(Option_t* option=0); 
33     Int_t fDebug;                         //
34     TTreeSRedirector *fDebugStreamer;     //!debug streamer
35  private:
36     AliTPCDigitizer& operator=(const AliTPCDigitizer&);
37     AliTPCDigitizer(const AliTPCDigitizer&);
38     ClassDef(AliTPCDigitizer,2)  // MUON merging/digitization
39 };    
40 #endif
41