Coding Violations Corrected.
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDate.h
CommitLineData
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
8struct eventHeaderStruct;
9
10
11class 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
31 protected :
32 virtual Bool_t ReadNext(UChar_t* data, Int_t size);
33
34 eventHeaderStruct* fEvent; // raw data super event
35 eventHeaderStruct* fSubEvent; // raw data sub event
36
37 UChar_t* fPosition; // current position in the raw data
38 UChar_t* fEnd; // end position of the current subevent
39
40 ClassDef(AliRawReaderDate, 0) // class for reading raw digits from a root file
41};
42
43#endif