]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTARTRawReader.h
Bugfix in the digitizer. The bug caused the trigger efficiency to be very close to...
[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();
20 UInt_t GetNextWord();
ee74718b 21
db173afc 22 protected :
ee74718b 23
db173afc 24 AliSTARTdigit* fDigits;
25 TTree* fTree;
ee74718b 26 AliRawReader* fRawReader; // object for reading the raw data
31199586 27
28 UChar_t* fData; // raw data
29 Int_t fPosition; // current (32 bit) position in fData
30
ee74718b 31
32 ClassDef(AliSTARTRawReader, 0) //class for reading START Raw data
33};
34
35#endif