source: trunk/MagicSoft/include-Classes/MRawEvt.h@ 371

Last change on this file since 371 was 371, checked in by harald, 25 years ago
Changed the namespace for all the members. To be more readable all the prefixes to tell the type of variables are removed. This is a topic only of the class and is not really interesting for the outside world.
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 EvtNo ; // Number of Event
14
15 ULong_t TimeStamp ; // Time of the Event
16
17 UChar_t EvtStatus ; // Status of this event (DAQ, Pedestal, ..)
18
19 UShort_t Trig1st ; // Number of 1st level tiggers between 2 events
20
21 UShort_t MultPixel ; // Multiplicity of the Pixels in this event
22
23 TClonesArray *Pixels ; // 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 Pixels ;
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.