Last change
on this file since 1024 was 447, checked in by harald, 24 years ago |
Bringing the sources for the octobertest under CVS controll.
(november, 3rd, 2000)
|
-
Property svn:executable
set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifndef MRAWEVT_H
|
---|
2 | #define MRAWEVT_H
|
---|
3 |
|
---|
4 | #include "Magic.h"
|
---|
5 |
|
---|
6 | #include "MParContainer.h"
|
---|
7 |
|
---|
8 | #include <TClonesArray.h>
|
---|
9 |
|
---|
10 | class MRawEvt : public MParContainer
|
---|
11 | {
|
---|
12 |
|
---|
13 | private:
|
---|
14 | UInt_t EvtNo; // Number of Event
|
---|
15 | ULong_t fTimeStamp; // Time of the Event
|
---|
16 | UChar_t EvtStatus; // Status of this event (DAQ, Pedestal, ..)
|
---|
17 | UShort_t Trig1st; // Number of 1st level tiggers between 2 events
|
---|
18 | UShort_t MultPixel; // Multiplicity of the Pixels in this event
|
---|
19 |
|
---|
20 | TClonesArray *Pixels; // list of the events
|
---|
21 |
|
---|
22 | public:
|
---|
23 |
|
---|
24 | MRawEvt(const char *name=NULL, const char *title=NULL);
|
---|
25 | ~MRawEvt();
|
---|
26 |
|
---|
27 | MParContainer *New()
|
---|
28 | {
|
---|
29 | return new MRawEvt;
|
---|
30 | }
|
---|
31 |
|
---|
32 | void Clear(Option_t *t = NULL);
|
---|
33 | void Print(Option_t *t = NULL);
|
---|
34 |
|
---|
35 | void FillRandom(UInt_t, ULong_t, UShort_t);
|
---|
36 | void FillHeader(UInt_t, ULong_t, UChar_t = 0);
|
---|
37 | void FillPixel(UShort_t, Float_t*);
|
---|
38 | void FillMontCarl(UInt_t, ULong_t, Float_t*);
|
---|
39 |
|
---|
40 | UShort_t GetMultPixel();
|
---|
41 | Int_t GetPixelId(Int_t iList);
|
---|
42 | UChar_t *GetPixelData(Int_t iList);
|
---|
43 | void GetFadcNoise(UChar_t asF[]);
|
---|
44 |
|
---|
45 | TClonesArray *&GetPixelList()
|
---|
46 | {
|
---|
47 | //
|
---|
48 | // returns a Pointer to the pixel list
|
---|
49 | //
|
---|
50 | return Pixels;
|
---|
51 | }
|
---|
52 |
|
---|
53 | ULong_t GetTimeStamp()
|
---|
54 | {
|
---|
55 | return fTimeStamp;
|
---|
56 | }
|
---|
57 |
|
---|
58 | ClassDef(MRawEvt, 1)
|
---|
59 | }; // end of class definition of MRawEvt
|
---|
60 |
|
---|
61 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.