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

Last change on this file since 392 was 374, checked in by harald, 25 years ago
some small changes to get out the timestamp of the event.
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 fTimeStamp ; // 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, UChar_t = 0 ) ;
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 ULong_t GetTimeStamp() {
53 return fTimeStamp ;
54 }
55
56
57/* void AddPixel( UShort_t ) ; */
58
59/* void AddPixel ( UShort_t, UChar_t, UChar_t * ) ; */
60
61
62 ClassDef ( MRawEvt, 1 )
63
64}; // end of class definition of MRawEvt
65
66#endif
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Note: See TracBrowser for help on using the repository browser.