Add private method GetNInputStreams(). Do not use it, it's just a temporary fix the...
authorjchudoba <jchudoba@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jul 2002 07:29:53 +0000 (07:29 +0000)
committerjchudoba <jchudoba@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jul 2002 07:29:53 +0000 (07:29 +0000)
STEER/AliDigitizer.cxx
STEER/AliDigitizer.h

index 1ca5d32..7541da0 100644 (file)
@@ -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 ; 
+}
index eb90473..1067ff4 100644 (file)
@@ -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