]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSRAWDATA_H |
2 | #define ALIITSRAWDATA_H | |
3 | ||
4 | //////////////////////////////////////////////// | |
5 | // RawData classes for set:ITS // | |
6 | //////////////////////////////////////////////// | |
7 | ||
8 | #include <TObject.h> | |
9 | ||
10 | ||
11 | ||
12 | class AliITSRawData: public TObject { | |
13 | ||
14 | // most probably it should have a class AliITSHeaderEvent as data member | |
15 | ||
16 | public: | |
17 | AliITSRawData() { | |
18 | // constructor | |
19 | } | |
20 | virtual ~AliITSRawData() { | |
21 | // destructor | |
22 | } | |
23 | ||
24 | ClassDef(AliITSRawData,1) //RawData object for set:ITS | |
25 | ||
26 | }; | |
27 | ||
28 | //___________________________________________ | |
29 | class AliITSInStream: public TObject{ | |
30 | ||
31 | public: | |
32 | AliITSInStream(); | |
33 | AliITSInStream(ULong_t length); | |
34 | virtual ~AliITSInStream(); | |
35 | AliITSInStream(const AliITSInStream &source); // copy constructor | |
36 | AliITSInStream& operator=(const AliITSInStream &source); // ass. operator | |
37 | ||
38 | void ClearStream(); | |
39 | Bool_t CheckCount(ULong_t count); | |
40 | ULong_t StreamLength() { | |
41 | // stream length | |
42 | return fStreamLen; | |
43 | } | |
44 | UChar_t *Stream() { | |
45 | // stream | |
46 | return fInStream; | |
47 | } | |
48 | ||
49 | protected: | |
50 | ||
51 | // input stream of unsigned chars | |
52 | ||
53 | ULong_t fStreamLen; // Length of the array | |
54 | UChar_t *fInStream; // Pointer to an array of input unsigned chararacters | |
55 | ||
56 | ||
57 | ||
58 | ClassDef(AliITSInStream,1) //Input Stream object for set:ITS | |
59 | }; | |
60 | ||
61 | //___________________________________________ | |
62 | class AliITSOutStream: public TObject{ | |
63 | ||
64 | public: | |
65 | AliITSOutStream(); | |
66 | ||
67 | AliITSOutStream(ULong_t length); | |
68 | virtual ~AliITSOutStream(); | |
69 | AliITSOutStream(const AliITSOutStream &source); // copy constructor | |
70 | AliITSOutStream& operator=(const AliITSOutStream &source); // assignment operator | |
71 | ||
72 | void ClearStream(); | |
73 | Bool_t CheckCount(ULong_t count); | |
74 | ULong_t StreamLength() { | |
75 | // stream length | |
76 | return fStreamLen; | |
77 | } | |
78 | ULong_t *Stream() { | |
79 | // stream | |
80 | return fOutStream; | |
81 | } | |
82 | ||
83 | protected: | |
84 | ||
85 | // output stream of unsigned chars | |
86 | ||
87 | ULong_t fStreamLen; // Length of the array | |
88 | ULong_t *fOutStream; // Pointer to an array of unsigned long | |
89 | ||
90 | ||
91 | ||
92 | ClassDef(AliITSOutStream,1) //Output Stream object for set:ITS | |
93 | }; | |
94 | ||
95 | ||
96 | ||
97 | #endif |