1 #if !defined(__CINT__) || defined(__MAKECINT__)
2 #include <TStopwatch.h>
3 #include "AliRawReaderRoot.h"
4 #include "AliRawReaderDate.h"
5 #include "AliAltroRawStreamFast.h"
10 void altroFast(const char *fileName)
12 // AliLog::SetGlobalLogLevel(AliLog::kFatal);
14 // AliRawReader *reader = new AliRawReaderRoot(fileName);
15 AliRawReader *reader = new AliRawReaderDate(fileName);
21 AliAltroRawStreamFast* stream = new AliAltroRawStreamFast(reader);
22 stream->SelectRawData("TPC");
24 while (reader->NextEvent()) {
26 while (stream->NextDDL()) {
28 while (stream->NextChannel()) {
30 while (stream->NextBunch()) {
31 const UInt_t *adc = stream->GetSignals();
32 for(UInt_t i = stream->GetStartTimeBin(); i <= stream->GetEndTimeBin(); i++) {
33 // cout i - timebin, *adc - ADC signal, ...