Remove obsolete classes
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 28 Nov 2010 13:20:55 +0000 (13:20 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 28 Nov 2010 13:20:55 +0000 (13:20 +0000)
TRD/AliTRDrawStreamBase.cxx

index 1e3ddce..8af1fd5 100644 (file)
@@ -28,9 +28,7 @@
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
-#include "AliTRDrawStreamOld.h"
 #include "AliTRDrawStream.h"
-
 #include "AliTRDrawStreamBase.h"
 
 //--------------------------------------------------------
@@ -96,19 +94,9 @@ AliTRDrawStreamBase *AliTRDrawStreamBase::GetRawStream()
   // Returns the selected raw stream implementation
   //
 
-  if (fgRawStreamVersion == kTRDrealStream)
-    return new AliTRDrawStreamOld();
-
-  if (fgRawStreamVersion == kTRDsimStream)
-    return new AliTRDrawStreamOld();
-  
-  //if (fgRawStreamVersion == kTRDfastStream)
-  //  return new AliTRDrawFastStream();
+  // Always use the new one!
+  return new AliTRDrawStream();
 
-  if (fgRawStreamVersion == kTRDdefaultStream)
-    return new AliTRDrawStream();
-
-  return new AliTRDrawStreamBase;
 }
 
 //_____________________________________________________________________________
@@ -118,20 +106,9 @@ AliTRDrawStreamBase *AliTRDrawStreamBase::GetRawStream(AliRawReader *reader)
   // Returns the selected raw stream implementation
   //
 
-  if (fgRawStreamVersion == kTRDrealStream)
-    return new AliTRDrawStreamOld(reader);
-
-  if (fgRawStreamVersion == kTRDsimStream)
-    return new AliTRDrawStreamOld(reader);
-
-
-  //if (fgRawStreamVersion == kTRDfastStream){
-  //  return new AliTRDrawFastStream(reader);}
-
-  if (fgRawStreamVersion == kTRDdefaultStream)
-    return new AliTRDrawStream(reader);
+  // Always use the new one!
+  return new AliTRDrawStream(reader);
 
-  return new AliTRDrawStreamBase;
 }
 
 //_____________________________________________________________________________