Parent Directory | Revision Log
modified for C3PO
1 | pam-fi | 1.1 | #ifndef trigstruct_h |
2 | #define trigstruct_h | ||
3 | |||
4 | struct cTrigLevel2 { | ||
5 | |||
6 | int evcount; | ||
7 | int pmtpl[3]; | ||
8 | int trigrate[6]; | ||
9 | int dltime[2]; | ||
10 | int s4calcount[2]; | ||
11 | int pmtcount1[24]; | ||
12 | int pmtcount2[24]; | ||
13 | int patternbusy[3]; | ||
14 | int patterntrig[6]; | ||
15 | int trigconf; | ||
16 | |||
17 | void InitcTrigLevel2(){ | ||
18 | evcount = 0; | ||
19 | trigconf = 0; | ||
20 | |||
21 | for(int i=0;i<2;i++){ | ||
22 | s4calcount[i] = 0; | ||
23 | dltime[i] = 0; | ||
24 | } | ||
25 | |||
26 | for(int i=0;i<3;i++){ | ||
27 | pmtpl[i]=0; | ||
28 | patternbusy[i]=0; | ||
29 | } | ||
30 | |||
31 | for(int i=0;i<6;i++){ | ||
32 | trigrate[i]=0; | ||
33 | patterntrig[i]=0; | ||
34 | } | ||
35 | |||
36 | for(int i=0;i<24;i++){ | ||
37 | pmtcount1[i]=0; | ||
38 | pmtcount2[i]=0; | ||
39 | } | ||
40 | } | ||
41 | }; | ||
42 | |||
43 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |