1 /**************************************************************************
2 * Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 ////////////////////////////////////////////////////////////////////////
18 // Base Class for Detector specific Merging/Digitization
20 // Author: Jiri Chudoba (CERN)
22 ////////////////////////////////////////////////////////////////////////
26 Revision 1.3.6.1 2002/07/24 10:08:13 alibrary
29 Revision 1.4 2002/07/17 07:29:53 jchudoba
30 Add private method GetNInputStreams(). Do not use it, it's just a temporary fix the PHOS and EMCAL code.
32 Revision 1.3 2001/11/14 14:50:33 jchudoba
33 Pass custom name and title to the TTask base class
35 Revision 1.2 2001/10/04 15:56:34 jchudoba
38 Revision 1.1 2001/07/27 13:02:06 jchudoba
39 ABC for detector digits merging/digitization
49 #include "AliDigitizer.h"
50 #include "AliRunDigitizer.h"
52 ClassImp(AliDigitizer)
54 AliDigitizer::AliDigitizer(const Text_t* name, const Text_t* title)
58 // dummy default ctor with name and title
63 AliDigitizer::AliDigitizer(AliRunDigitizer *manager,
64 const Text_t* name, const Text_t* title)
68 // ctor with name and title
71 manager->AddDigitizer(this);
76 AliDigitizer::~AliDigitizer() {;}
77 ////////////////////////////////////////////////////////////////////////
78 Int_t AliDigitizer::GetNInputStreams() const
81 // return number of input streams
83 Int_t nInputStreams = 0 ;
85 nInputStreams = fManager->GetNinputs() ;
86 return nInputStreams ;