GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
s_pat.h
Go to the documentation of this file.
1 // $Id: s_pat.h 3333 2021-10-18 11:27:07Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef S_PAT_H
15 #define S_PAT_H
16 
17 #include "typedefs.h"
18 
19 #if MBS_ENDIAN == 1
20 
21 /* identities for filter patterns */
22 struct s_pat1
23  {
24  short i_dummy;
25  short i_trigger;
26  };
27 
28 struct s_pat2
29  {
30  char h_control;
31  char h_subcrate;
32  short i_procid;
33  };
34 
35 struct s_pat3
36  {
37  short i_subtype;
38  short i_type;
39  };
40 
41 #else
42 
43 /* identities for filter patterns */
44 struct s_pat1
45  {
46  short i_trigger;
47  short i_dummy;
48  };
49 
50 struct s_pat2
51  {
52  short i_procid;
53  char h_subcrate;
54  char h_control;
55  };
56 
57 struct s_pat3
58  {
59  short i_type;
60  short i_subtype;
61  };
62 
63 #endif
64 
65 #endif
Definition: s_pat.h:50
Definition: s_pat.h:57
short i_type
Definition: s_pat.h:59
char h_subcrate
Definition: s_pat.h:53
Definition: s_pat.h:44
short i_subtype
Definition: s_pat.h:60
short i_procid
Definition: s_pat.h:52
char h_control
Definition: s_pat.h:54
short i_trigger
Definition: s_pat.h:46
short i_dummy
Definition: s_pat.h:47