Last change
on this file since 12580 was 306, checked in by harald, 25 years ago |
This is the start point for the further developments of the Classes for the
MAGIC software. Here you find the classes that are used by the Simulation
and the Analysis programs.
This Classes MRawPixel, MRawEvt and MMcEvt are designed by Thomas Schweizer
and Harald Kornmayer. They are using the "root" package from CERN.
|
File size:
727 bytes
|
Line | |
---|
1 | #ifndef __MRawPixel__
|
---|
2 | #define __MRawPixel__
|
---|
3 |
|
---|
4 | #include <iostream.h>
|
---|
5 | #include "TObject.h"
|
---|
6 |
|
---|
7 | #include "Mdefine.h"
|
---|
8 |
|
---|
9 |
|
---|
10 | class MRawPixel : public TObject
|
---|
11 | {
|
---|
12 |
|
---|
13 | private:
|
---|
14 |
|
---|
15 | UShort_t usPixelId ; // Identification of PixelNumber and gain branch
|
---|
16 |
|
---|
17 | UChar_t ucPixelStatus ; // The Status of the pixel
|
---|
18 |
|
---|
19 | UChar_t aucFadc[ FADC_SLICES ] ; // The values of fadc-slices.
|
---|
20 |
|
---|
21 | public:
|
---|
22 |
|
---|
23 | MRawPixel() ;
|
---|
24 |
|
---|
25 | MRawPixel(UShort_t ) ;
|
---|
26 |
|
---|
27 | MRawPixel(UShort_t , UChar_t , UChar_t * ) ;
|
---|
28 |
|
---|
29 | ~MRawPixel() ;
|
---|
30 |
|
---|
31 | void Clear() ;
|
---|
32 |
|
---|
33 | void Print() ;
|
---|
34 |
|
---|
35 | UShort_t GetPixelId() ;
|
---|
36 |
|
---|
37 | UChar_t GetFadcSlice( Int_t ) ;
|
---|
38 |
|
---|
39 | ClassDef ( MRawPixel, 1 )
|
---|
40 |
|
---|
41 | }; // end of class definition of MRawPixel
|
---|
42 |
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
50 |
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.