]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDigitizer.h
Replacing Header with Id
[u/mrichter/AliRoot.git] / STEER / AliDigitizer.h
CommitLineData
52f74d0c 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
1edf4fe2 6/* $Id$*/
52f74d0c 7
8////////////////////////////////////////////////////////////////////////
9//
8d5e6345 10// Base Class for Detector specific Merging/Digitization
52f74d0c 11//
12// Author: Jiri Chudoba (CERN)
13//
14////////////////////////////////////////////////////////////////////////
15
8d5e6345 16#include "TTask.h"
17
52f74d0c 18class AliRunDigitizer;
19
8d5e6345 20class AliDigitizer: public TTask {
52f74d0c 21
22 public:
3953b63d 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");
e2afb3b6 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;}
3953b63d 34
52f74d0c 35 virtual ~AliDigitizer();
116cbefd 36 virtual Bool_t Init() const {return kTRUE;}
8d5e6345 37// virtual void Digitize() = 0;
52f74d0c 38
e2afb3b6 39protected:
418415f0 40 Int_t GetNInputStreams() const;
e2afb3b6 41 void Copy(AliDigitizer &dig) const;
418415f0 42
116cbefd 43 AliRunDigitizer *fManager; // Pointer to the Digitizer manager
8d5e6345 44
3953b63d 45 ClassDef(AliDigitizer,1) // Base class for detector digitizers
52f74d0c 46};
47
48#endif // ALIDIGITIZER_H