]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDigitizer.h
Change of coordinate system x->-x, z->-z
[u/mrichter/AliRoot.git] / STEER / AliDigitizer.h
1 #ifndef ALIDIGITIZER_H
2 #define ALIDIGITIZER_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 ////////////////////////////////////////////////////////////////////////
9 //
10 //  Base Class for Detector specific Merging/Digitization   
11 //                  
12 //  Author: Jiri Chudoba (CERN)
13 //
14 ////////////////////////////////////////////////////////////////////////
15
16 #include "TTask.h"
17
18 class AliRunDigitizer;
19
20 class AliDigitizer: public TTask {
21
22  public:
23 // ctor with name and title
24     AliDigitizer(const Text_t* name="AliDigitizer",
25                 const Text_t* title="AliDigitizer");
26 // ctor to be used with name and title
27     AliDigitizer(AliRunDigitizer *manager,
28                  const Text_t* name="AliDigitizer",
29                  const Text_t* title="AliDigitizer");
30 // Copy ctor needed because there is a pointer
31     AliDigitizer(const AliDigitizer &dig);
32     AliDigitizer& operator=(AliDigitizer &dig)
33       {dig.Copy(*this);return *this;}
34       
35     virtual ~AliDigitizer();
36     virtual Bool_t Init() {return kTRUE;}
37 //    virtual void Digitize() = 0;
38
39 protected:
40     Int_t GetNInputStreams() const;
41     void Copy(AliDigitizer &dig) const;
42
43     AliRunDigitizer *fManager;   // Pointer to the Digitizer manager
44     
45     ClassDef(AliDigitizer,1) // Base class for detector digitizers
46 };
47
48 #endif // ALIDIGITIZER_H
49