]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSRawData.h
SSD calibration
[u/mrichter/AliRoot.git] / ITS / AliITSRawData.h
CommitLineData
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
12class 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//___________________________________________
29class AliITSInStream: public TObject{
30
31 public:
32 AliITSInStream();
a8a6107b 33 AliITSInStream(UInt_t length);
b0f5e3fc 34 virtual ~AliITSInStream();
35 AliITSInStream(const AliITSInStream &source); // copy constructor
36 AliITSInStream& operator=(const AliITSInStream &source); // ass. operator
37
38 void ClearStream();
a8a6107b 39 Bool_t CheckCount(UInt_t count);
40 UInt_t StreamLength() {
b0f5e3fc 41 // stream length
42 return fStreamLen;
43 }
44 UChar_t *Stream() {
45 // stream
46 return fInStream;
47 }
48
49protected:
50
51 // input stream of unsigned chars
52
a8a6107b 53 UInt_t fStreamLen; // Length of the array
54 UChar_t *fInStream; //[fStreamLen] Pointer to an array of input unsigned chararacters
b0f5e3fc 55
56
57
58 ClassDef(AliITSInStream,1) //Input Stream object for set:ITS
59 };
60
61//___________________________________________
62class AliITSOutStream: public TObject{
63
64public:
65 AliITSOutStream();
66
a8a6107b 67 AliITSOutStream(UInt_t length);
b0f5e3fc 68 virtual ~AliITSOutStream();
69 AliITSOutStream(const AliITSOutStream &source); // copy constructor
70 AliITSOutStream& operator=(const AliITSOutStream &source); // assignment operator
71
72 void ClearStream();
a8a6107b 73 Bool_t CheckCount(UInt_t count);
74 UInt_t StreamLength() {
b0f5e3fc 75 // stream length
76 return fStreamLen;
77 }
a8a6107b 78 UInt_t *Stream() {
b0f5e3fc 79 // stream
80 return fOutStream;
81 }
82
83protected:
84
85 // output stream of unsigned chars
86
a8a6107b 87 UInt_t fStreamLen; // Length of the array
88 UInt_t *fOutStream; //[fStreamLen] Pointer to an array of unsigned long
b0f5e3fc 89
90
91
92 ClassDef(AliITSOutStream,1) //Output Stream object for set:ITS
93};
94
95
96
97#endif