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 */
6 #include "AliRawReader.h"
8 struct eventHeaderStruct;
11 class AliRawReaderDate: public AliRawReader {
13 AliRawReaderDate(void* event);
14 AliRawReaderDate(const AliRawReaderDate& rawReader);
15 AliRawReaderDate& operator = (const AliRawReaderDate& rawReader);
16 virtual ~AliRawReaderDate() {};
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;
26 virtual Bool_t ReadMiniHeader();
27 virtual Bool_t ReadNextData(UChar_t*& data);
29 virtual Bool_t Reset();
31 virtual Int_t CheckData() const;
34 virtual Bool_t ReadNext(UChar_t* data, Int_t size);
36 eventHeaderStruct* fEvent; // raw data super event
37 eventHeaderStruct* fSubEvent; // raw data sub event
39 UChar_t* fPosition; // current position in the raw data
40 UChar_t* fEnd; // end position of the current subevent
42 ClassDef(AliRawReaderDate, 0) // class for reading raw digits from a root file