/[PAMELA software]/DarthVader/TriggerLevel2/inc/TrigStruct.h
ViewVC logotype

Contents of /DarthVader/TriggerLevel2/inc/TrigStruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jul 21 11:05:01 2006 UTC (18 years, 4 months ago) by pam-fi
Branch: MAIN
CVS Tags: v10REDr01, v1r01, v3r04, v3r05, v5r00, v3r00, v3r03, v4r00, v2r01, v10RED, v6r01, v6r00, v2r00BETA, v3r06, v9r00, v9r01, HEAD
File MIME type: text/plain
modified for C3PO

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