]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTARTRawReader.h
This commit was generated by cvs2svn to compensate for changes in r15986,
[u/mrichter/AliRoot.git] / START / AliSTARTRawReader.h
CommitLineData
ee74718b 1#ifndef ALISTARTRAWREADER_H
2#define ALISTARTRAWREADER_H
3
4#include <TTask.h>
5#include <Riostream.h>
db173afc 6#include "TTree.h"
7#include "AliSTARTdigit.h"
8#include "AliRawReader.h"
ee74718b 9
10class AliSTARTRawReader : public TTask {
11 public :
12
db173afc 13 AliSTARTRawReader(AliRawReader *rawReader, TTree* tree) ;
ee74718b 14
15 virtual ~AliSTARTRawReader();
16
17
4c7da157 18 Bool_t Next(); //read next raw digit
31199586 19 Int_t GetPosition();
61be8c4a 20 // void UnpackTime(Int_t outTime, Int_t outCh);
31199586 21 UInt_t GetNextWord();
ee74718b 22
db173afc 23 protected :
ee74718b 24
db173afc 25 AliSTARTdigit* fDigits;
26 TTree* fTree;
ee74718b 27 AliRawReader* fRawReader; // object for reading the raw data
31199586 28
29 UChar_t* fData; // raw data
30 Int_t fPosition; // current (32 bit) position in fData
31
ee74718b 32
33 ClassDef(AliSTARTRawReader, 0) //class for reading START Raw data
34};
35
36#endif