ATO-123 - Configurin of the stream level. Swith to dump all signal withour zerro...
[u/mrichter/AliRoot.git] / TPC / TPCsim / AliTPCDigitizer.h
CommitLineData
3c038d07 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
c68184b6 6/* $Id$ */
7
3c038d07 8#include "AliDigitizer.h"
9dd0bc2d 9class TTreeSRedirector;
3c038d07 10
f21fc003 11class AliDigitizationInput;
3c038d07 12
13class AliTPCDigitizer : public AliDigitizer {
14 public:
3ec92887 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();
f21fc003 21 AliTPCDigitizer(AliDigitizationInput * digInput);
3c038d07 22 virtual ~AliTPCDigitizer();
23 // Initialize merging and digitization
24 virtual Bool_t Init();
25 // Do the main work
f21fc003 26 virtual void Digitize(Option_t* option=0);
3c038d07 27 Int_t GetDebug() const {return fDebug;} // get debug level
28 void SetDebug(Int_t level){fDebug = level;} // set debug level
f648982e 29 private:
f21fc003 30 void DigitizeFast(Option_t* option=0); //digitize - using row pointers
31 void DigitizeSave(Option_t* option=0); // digitize using controlled arrays
5f7e0985 32 void DigitizeWithTailAndCrossTalk(Option_t* option=0);
33 Int_t fDebug; //
34 TTreeSRedirector *fDebugStreamer; //!debug streamer
3c038d07 35 private:
9dd0bc2d 36 AliTPCDigitizer& operator=(const AliTPCDigitizer&);
37 AliTPCDigitizer(const AliTPCDigitizer&);
f648982e 38 ClassDef(AliTPCDigitizer,2) // MUON merging/digitization
3c038d07 39};
40#endif
41