#include <TTask.h>
#include <Riostream.h>
-#include "TTree.h"
-#include "AliT0digit.h"
#include "AliRawReader.h"
class AliT0RawReader : public TTask {
public :
- AliT0RawReader(AliRawReader *rawReader, TTree* tree) ;
+ AliT0RawReader(AliRawReader *rawReader) ;
virtual ~AliT0RawReader();
+ AliT0RawReader(const AliT0RawReader& o)
+ : TTask(o)
+ {}
+ AliT0RawReader& operator=(const AliT0RawReader&) { return *this; }
Bool_t Next(); //read next raw digit
Int_t GetPosition();
- // void UnpackTime(Int_t outTime, Int_t outCh);
UInt_t GetNextWord();
+ Int_t GetData(Int_t channel, Int_t hit) {return fAllData[channel][hit];}
protected :
- AliT0digit* fDigits;
- TTree* fTree;
AliRawReader* fRawReader; // object for reading the raw data
UChar_t* fData; // raw data
Int_t fPosition; // current (32 bit) position in fData
-
+ Int_t fAllData[110][5];
ClassDef(AliT0RawReader, 0) //class for reading T0 Raw data
};