00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef S_PAT 00017 #define S_PAT 00018 00019 #include "typedefs.h" 00020 00021 #if MBS_ENDIAN == 1 00022 00023 /* identities for filter patterns */ 00024 struct s_pat1 00025 { 00026 short i_dummy; 00027 short i_trigger; 00028 }; 00029 00030 struct s_pat2 00031 { 00032 char h_control; 00033 char h_subcrate; 00034 short i_procid; 00035 }; 00036 00037 struct s_pat3 00038 { 00039 short i_subtype; 00040 short i_type; 00041 }; 00042 00043 #else 00044 00045 /* identities for filter patterns */ 00046 struct s_pat1 00047 { 00048 short i_trigger; 00049 short i_dummy; 00050 }; 00051 00052 struct s_pat2 00053 { 00054 short i_procid; 00055 char h_subcrate; 00056 char h_control; 00057 }; 00058 00059 struct s_pat3 00060 { 00061 short i_type; 00062 short i_subtype; 00063 }; 00064 00065 #endif 00066 00067 #endif 00068 00069 //----------------------------END OF GO4 SOURCE FILE ---------------------