]>
Commit | Line | Data |
---|---|---|
52f74d0c | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | //////////////////////////////////////////////////////////////////////// | |
17 | // | |
3953b63d | 18 | // Base Class for Detector specific Merging/Digitization |
52f74d0c | 19 | // |
20 | // Author: Jiri Chudoba (CERN) | |
21 | // | |
22 | //////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | /* | |
25 | $Log$ | |
3953b63d | 26 | Revision 1.2 2001/10/04 15:56:34 jchudoba |
27 | TTask inheritance | |
28 | ||
8d5e6345 | 29 | Revision 1.1 2001/07/27 13:02:06 jchudoba |
30 | ABC for detector digits merging/digitization | |
31 | ||
52f74d0c | 32 | */ |
33 | ||
34 | // system includes | |
35 | #include <iostream.h> | |
36 | ||
37 | // ROOT includes | |
38 | ||
39 | // AliROOT includes | |
40 | #include "AliDigitizer.h" | |
41 | #include "AliRunDigitizer.h" | |
42 | ||
43 | ClassImp(AliDigitizer) | |
44 | ||
3953b63d | 45 | AliDigitizer::AliDigitizer(const Text_t* name, const Text_t* title) |
46 | :TTask(name,title) | |
52f74d0c | 47 | { |
3953b63d | 48 | // |
49 | // dummy default ctor with name and title | |
50 | // | |
8d5e6345 | 51 | fManager = 0; |
52f74d0c | 52 | } |
53 | ||
3953b63d | 54 | AliDigitizer::AliDigitizer(AliRunDigitizer *manager, |
55 | const Text_t* name, const Text_t* title) | |
56 | :TTask(name,title) | |
52f74d0c | 57 | { |
3953b63d | 58 | // |
59 | // ctor with name and title | |
60 | // | |
8d5e6345 | 61 | fManager = manager; |
52f74d0c | 62 | manager->AddDigitizer(this); |
52f74d0c | 63 | } |
64 | ||
3953b63d | 65 | |
66 | ||
52f74d0c | 67 | AliDigitizer::~AliDigitizer() {;} |