]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrections to obey the coding conventions
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2003 08:00:36 +0000 (08:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2003 08:00:36 +0000 (08:00 +0000)
STEER/AliRunDigitizer.cxx
STEER/AliStream.cxx
STEER/AliTrackReference.h

index f263d0c317ee597c8abf2598b965c90dc93a324a..a9301e76a440220b05e1bbad9b36c727f180cf49 100644 (file)
@@ -356,7 +356,10 @@ Bool_t AliRunDigitizer::InitGlobal()
 
   TList* subTasks = GetListOfTasks();
   if (subTasks) {
-    subTasks->ForEach(AliDigitizer,Init)();
+    //    subTasks->ForEach(AliDigitizer,Init)();
+    TIter next(subTasks);
+    while (AliDigitizer * dig = (AliDigitizer *) next())
+      dig->Init();
   }  
   return kTRUE;
 }
index 1e328916022c42573d52c29b24bc9534b0c39d22..acd4d493d45758a2c0bbe3745d767c5e95316218 100644 (file)
 
 /* $Id$ */
 
-////////////////////////////////////////////////////////////////////////
-//
+//----------------------------------------------------------------------
 // AliStream.cxx
-//
 // - store file names associated with a given stream
 // - open and close files
 // - return serial event number of the next event in the stream
 // and the TFile pointer for a proper file
-//
-////////////////////////////////////////////////////////////////////////
+//----------------------------------------------------------------------
 
 #include <Riostream.h>
 
index 8d4e010e96088feb58c53ad8dc90d2822fd1105a..8b779c8e76ded325fe02671cb775d46edea20d56 100644 (file)
@@ -20,8 +20,8 @@ public:
   virtual void SetTrack(Int_t track) {fTrack=track;}
   virtual void SetLength(Float_t length){fLength=length;}
   virtual void SetTime(Float_t time) {fTime = time;}
-  virtual Float_t GetLength(){return fLength;}
-  virtual Float_t GetTime(){return fTime;}
+  virtual Float_t GetLength() const {return fLength;}
+  virtual Float_t GetTime() const {return fTime;}
   virtual Int_t Label() const {return fTrack;}
   virtual void SetLabel(Int_t track) {fTrack=track;}
   virtual Float_t R() const {return TMath::Sqrt(fX*fX+fY*fY);}