e7a4aaeee54d844d212ae079ed4ab6c907e106c5
[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     AliTPCDigitizer();
16     AliTPCDigitizer(AliDigitizationInput * digInput);
17     virtual ~AliTPCDigitizer();
18     // Initialize merging and digitization
19     virtual Bool_t Init();
20     // Do the main work
21     virtual void Digitize(Option_t* option=0);    
22     Int_t GetDebug() const {return fDebug;}       // get debug level
23     void SetDebug(Int_t level){fDebug = level;}   // set debug level        
24  private: 
25     void DigitizeFast(Option_t* option=0); //digitize - using row pointers
26     void DigitizeSave(Option_t* option=0); // digitize using controlled arrays   
27     void DigitizeWithTailAndCrossTalk(Option_t* option=0); 
28     Int_t fDebug;                         //
29     TTreeSRedirector *fDebugStreamer;     //!debug streamer
30  private:
31     AliTPCDigitizer& operator=(const AliTPCDigitizer&);
32     AliTPCDigitizer(const AliTPCDigitizer&);
33     ClassDef(AliTPCDigitizer,2)  // MUON merging/digitization
34 };    
35 #endif
36