]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDigitizer.cxx
Several pointers were set to zero in the default constructors to avoid memory managem...
[u/mrichter/AliRoot.git] / STEER / AliDigitizer.cxx
CommitLineData
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//
18// Pure Virtual Base Class for Detector specific Merging/Digitization
19//
20// Author: Jiri Chudoba (CERN)
21//
22////////////////////////////////////////////////////////////////////////
23
24/*
25$Log$
8d5e6345 26Revision 1.1 2001/07/27 13:02:06 jchudoba
27ABC for detector digits merging/digitization
28
52f74d0c 29*/
30
31// system includes
32#include <iostream.h>
33
34// ROOT includes
35
36// AliROOT includes
37#include "AliDigitizer.h"
38#include "AliRunDigitizer.h"
39
40ClassImp(AliDigitizer)
41
8d5e6345 42AliDigitizer::AliDigitizer() :TTask("AliDigitizer","")
52f74d0c 43{
44// dummy default ctor
8d5e6345 45 fManager = 0;
52f74d0c 46}
47
48AliDigitizer::AliDigitizer(AliRunDigitizer* manager)
8d5e6345 49 :TTask("AliDigitizer","")
52f74d0c 50{
8d5e6345 51 fManager = manager;
52f74d0c 52 manager->AddDigitizer(this);
52f74d0c 53}
54
55AliDigitizer::~AliDigitizer() {;}