]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTRawReader.h
Adding MUON HLT code to the repository.
[u/mrichter/AliRoot.git] / START / AliSTARTRawReader.h
1 #ifndef ALISTARTRAWREADER_H
2 #define ALISTARTRAWREADER_H
3  
4 #include <TTask.h>
5 #include <Riostream.h>
6 #include "TTree.h"
7 #include "AliSTARTdigit.h"
8 #include "AliRawReader.h"
9  
10 class AliSTARTRawReader : public TTask {
11   public :
12
13   AliSTARTRawReader(AliRawReader *rawReader, TTree* tree) ;
14
15   virtual  ~AliSTARTRawReader();
16
17
18   UInt_t UnpackWord(UInt_t PackedWord, Int_t StartBit, Int_t StopBit); // unpack packed words
19   void NextThing(); //read next raw digit
20   
21   protected :
22
23     UInt_t           fData;         // data read for file
24   AliSTARTdigit* fDigits;
25   TTree*        fTree;
26   AliRawReader*    fRawReader;    // object for reading the raw data
27   
28  ClassDef(AliSTARTRawReader, 0) //class for reading START Raw data
29 };
30  
31 #endif