// //
///////////////////////////////////////////////////////////////////////////////
-#include "AliRawReader.h"
-
-#include "AliTRDRawStream.h"
-#include "AliTRDRawStreamV2.h"
-#include "AliTRDrawStreamTB.h"
+#include "AliTRDrawStream.h"
+#include "AliTRDrawFastStream.h"
#include "AliTRDrawStreamBase.h"
//--------------------------------------------------------
ClassImp(AliTRDrawStreamBase)
-Int_t AliTRDrawStreamBase::fgRawStreamVersion = AliTRDrawStreamBase::kTRDsimStream;
+Int_t AliTRDrawStreamBase::fgRawStreamVersion = AliTRDrawStreamBase::kTRDrealStream;
//_____________________________________________________________________________
AliTRDrawStreamBase::AliTRDrawStreamBase()
// Returns the selected raw stream implementation
//
- if (fgRawStreamVersion == kTRDoldStream)
- return new AliTRDRawStream();
-
if (fgRawStreamVersion == kTRDrealStream)
- return new AliTRDrawStreamTB();
+ return new AliTRDrawStream();
if (fgRawStreamVersion == kTRDsimStream)
- {
- AliTRDRawStreamV2 *rstream = new AliTRDRawStreamV2();
- rstream->Init();
- return rstream;
- }
+ return new AliTRDrawStream();
+ if (fgRawStreamVersion == kTRDfastStream)
+ return new AliTRDrawFastStream();
+
return new AliTRDrawStreamBase;
}
// Returns the selected raw stream implementation
//
- if (fgRawStreamVersion == kTRDoldStream)
- return new AliTRDRawStream(reader);
-
if (fgRawStreamVersion == kTRDrealStream)
- return new AliTRDrawStreamTB(reader);
+ return new AliTRDrawStream(reader);
if (fgRawStreamVersion == kTRDsimStream)
- {
- AliTRDRawStreamV2 *rstream = new AliTRDRawStreamV2(reader);
- rstream->Init();
- return rstream;
- }
+ return new AliTRDrawStream(reader);
+
+
+ if (fgRawStreamVersion == kTRDfastStream){
+ return new AliTRDrawFastStream(reader);}
+
return new AliTRDrawStreamBase;
}
if (strstr(opt, "real" ) != 0 || strstr(opt, "REAL") != 0)
fgRawStreamVersion = kTRDrealStream;
- if (strstr(opt, "old" ) != 0 || strstr(opt, "OLD") != 0)
- fgRawStreamVersion = kTRDoldStream;
+ if (strstr(opt, "fast" ) != 0 || strstr(opt, "FAST") != 0)
+ fgRawStreamVersion = kTRDfastStream;
}
+