source: trunk/MagicSoft/include-Classes/MRawPixel.h@ 445

Last change on this file since 445 was 434, checked in by harald, 24 years ago
Changed the format for root to store the raw data from the pixels. This is the version that was discussed on the software meeting in Goettingen.
File size: 730 bytes
Line 
1#ifndef __MRawPixel__
2#define __MRawPixel__
3
4#include <iostream.h>
5#include "TObject.h"
6
7#include "Mdefine.h"
8
9
10class MRawPixel : public TObject
11 {
12
13 private:
14
15 Short_t PixelId ; // Identification of PixelNumber and
16 // flag for existency of low gain branch
17
18 Byte_t FADCSamples[FADC_SLICES] ; // The values of fadc-slices.
19
20 public:
21
22 MRawPixel() ;
23
24 MRawPixel(Short_t ) ;
25
26 MRawPixel(Short_t , Byte_t* ) ;
27
28 ~MRawPixel() ;
29
30 void Clear() ;
31
32 void Print() ;
33
34 void FillPixel( Short_t, Byte_t *);
35
36 Short_t GetPixelId() ;
37
38 Byte_t GetFadcSlice( Int_t ) ;
39
40 ClassDef ( MRawPixel, 1 )
41
42}; // end of class definition of MRawPixel
43
44
45#endif
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Note: See TracBrowser for help on using the repository browser.