Last change
on this file since 385 was 354, checked in by harald, 25 years ago |
This is the status of this directory as it was at the time of the general
MAGIC meeting in Barcelona.
A new class MMcTrig is introduced in which the output of the Trigger is stored.
This is the very first attempt of this class.
|
File size:
939 bytes
|
Line | |
---|
1 | #ifndef __MMcTrig__
|
---|
2 | #define __MMcTrig__
|
---|
3 |
|
---|
4 | #include <stdlib.h>
|
---|
5 | #include <stdio.h>
|
---|
6 | #include <string.h>
|
---|
7 | #include <unistd.h>
|
---|
8 | #include <fcntl.h>
|
---|
9 |
|
---|
10 | #include <iostream.h>
|
---|
11 | #include "TObject.h"
|
---|
12 |
|
---|
13 |
|
---|
14 | class MMcTrig : public TObject {
|
---|
15 | private:
|
---|
16 | Short_t nZeroLevel ; // Number of Zero Level Trigger in this Event
|
---|
17 | Short_t nFirstLevel ; // Number of First Level Trigger in this Event
|
---|
18 | Short_t nSecondLevel ; // Number of Second Level Trigger in this Event
|
---|
19 |
|
---|
20 | public:
|
---|
21 | MMcTrig() ;
|
---|
22 |
|
---|
23 | ~MMcTrig();
|
---|
24 |
|
---|
25 | void Clear();
|
---|
26 |
|
---|
27 | void Print(Option_t *);
|
---|
28 |
|
---|
29 | void SetZeroLevel ( Short_t nTr ) {
|
---|
30 | nZeroLevel = nTr ;
|
---|
31 | }
|
---|
32 |
|
---|
33 | void SetFirstLevel ( Short_t nTr ) {
|
---|
34 | nFirstLevel = nTr ;
|
---|
35 | }
|
---|
36 | void SetSecondLevel ( Short_t nTr ) {
|
---|
37 | nSecondLevel = nTr ;
|
---|
38 | }
|
---|
39 |
|
---|
40 | int GetZeroLevel() {
|
---|
41 | return ( nZeroLevel );
|
---|
42 | }
|
---|
43 |
|
---|
44 | int GetFirstLevel() {
|
---|
45 | return ( nFirstLevel );
|
---|
46 | }
|
---|
47 |
|
---|
48 | ClassDef(MMcTrig, 1) //Stores Montecarlo Information
|
---|
49 |
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
53 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.