From: jchudoba Date: Wed, 17 Jul 2002 07:29:53 +0000 (+0000) Subject: Add private method GetNInputStreams(). Do not use it, it's just a temporary fix the... X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=418415f0901eeb555beab535babd34012a528021;p=u%2Fmrichter%2FAliRoot.git Add private method GetNInputStreams(). Do not use it, it's just a temporary fix the PHOS and EMCAL code. --- diff --git a/STEER/AliDigitizer.cxx b/STEER/AliDigitizer.cxx index 1ca5d326ee4..7541da0cd4c 100644 --- a/STEER/AliDigitizer.cxx +++ b/STEER/AliDigitizer.cxx @@ -23,6 +23,9 @@ /* $Log$ +Revision 1.3 2001/11/14 14:50:33 jchudoba +Pass custom name and title to the TTask base class + Revision 1.2 2001/10/04 15:56:34 jchudoba TTask inheritance @@ -65,3 +68,14 @@ AliDigitizer::AliDigitizer(AliRunDigitizer *manager, AliDigitizer::~AliDigitizer() {;} +//////////////////////////////////////////////////////////////////////// +Int_t AliDigitizer::GetNInputStreams() const +{ +// +// return number of input streams +// + Int_t nInputStreams = 0 ; + if (fManager) + nInputStreams = fManager->GetNinputs() ; + return nInputStreams ; +} diff --git a/STEER/AliDigitizer.h b/STEER/AliDigitizer.h index eb90473c0eb..1067ff4bd58 100644 --- a/STEER/AliDigitizer.h +++ b/STEER/AliDigitizer.h @@ -33,6 +33,8 @@ class AliDigitizer: public TTask { // virtual void Digitize() = 0; protected: + Int_t GetNInputStreams() const; + AliRunDigitizer *fManager; ClassDef(AliDigitizer,1) // Base class for detector digitizers