]>
Commit | Line | Data |
---|---|---|
16048fcf | 1 | #ifndef ALIRAWREADERDATE_H |
2 | #define ALIRAWREADERDATE_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | #include "AliRawReader.h" | |
7 | ||
8 | struct eventHeaderStruct; | |
9 | ||
10 | ||
11 | class AliRawReaderDate: public AliRawReader { | |
12 | public : | |
13 | AliRawReaderDate(void* event); | |
14 | AliRawReaderDate(const AliRawReaderDate& rawReader); | |
15 | AliRawReaderDate& operator = (const AliRawReaderDate& rawReader); | |
16 | virtual ~AliRawReaderDate() {}; | |
17 | ||
18 | virtual UInt_t GetType() const; | |
19 | virtual UInt_t GetRunNumber() const; | |
20 | virtual const UInt_t* GetEventId() const; | |
21 | virtual const UInt_t* GetTriggerPattern() const; | |
22 | virtual const UInt_t* GetDetectorPattern() const; | |
23 | virtual const UInt_t* GetAttributes() const; | |
24 | virtual UInt_t GetGDCId() const; | |
25 | ||
26 | virtual Bool_t ReadMiniHeader(); | |
27 | virtual Bool_t ReadNextData(UChar_t*& data); | |
28 | ||
29 | virtual Bool_t Reset(); | |
30 | ||
b4857df7 | 31 | virtual Int_t CheckData() const; |
32 | ||
16048fcf | 33 | protected : |
34 | virtual Bool_t ReadNext(UChar_t* data, Int_t size); | |
35 | ||
36 | eventHeaderStruct* fEvent; // raw data super event | |
37 | eventHeaderStruct* fSubEvent; // raw data sub event | |
38 | ||
39 | UChar_t* fPosition; // current position in the raw data | |
40 | UChar_t* fEnd; // end position of the current subevent | |
41 | ||
42 | ClassDef(AliRawReaderDate, 0) // class for reading raw digits from a root file | |
43 | }; | |
44 | ||
45 | #endif |