source: branches/start/MagicSoft/include-Classes/MRawEvt.h@ 18558

Last change on this file since 18558 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: 1.2 KB
Line 
1#ifndef __MRawEvt__
2#define __MRawEvt__
3
4#include <iostream.h>
5#include "TObject.h"
6#include "TClonesArray.h"
7
8#include "Mdefine.h"
9
10class MRawEvt : public TObject {
11
12 private:
13 UInt_t uiEvtNo ; // Number of Event
14
15 ULong_t ulTimeStamp ; // Time of the Event
16
17 UChar_t ucEvtStatus ; // Status of this event (DAQ, Pedestal, ..)
18
19 UShort_t usTrig1st ; // Number of 1st level tiggers between 2 events
20
21 UShort_t usMultPixel ; // Multiplicity of the Pixels in this event
22
23 TClonesArray *taPixels ; // list of the events
24
25 public:
26
27 MRawEvt() ;
28
29 ~MRawEvt();
30
31 void Clear() ;
32
33 void Print() ;
34
35 void FillRandom( UInt_t, ULong_t, UShort_t ) ;
36
37 void FillHeader( UInt_t, ULong_t ) ;
38
39 void FillPixel( UShort_t, Float_t * ) ;
40
41 void FillMontCarl ( UInt_t, ULong_t, Float_t * ) ;
42
43 UShort_t GetMultPixel();
44
45 TClonesArray *&GetPixelList() {
46 //
47 // returns a Pointer to the pixel list
48 //
49 return taPixels ;
50}
51
52
53/* void AddPixel( UShort_t ) ; */
54
55/* void AddPixel ( UShort_t, UChar_t, UChar_t * ) ; */
56
57
58 ClassDef ( MRawEvt, 1 )
59
60}; // end of class definition of MRawEvt
61
62#endif
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Note: See TracBrowser for help on using the repository browser.