00001 // $Id: s_ve10_1.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef S_VE10_1 00015 #define S_VE10_1 00016 00017 #include "typedefs.h" 00018 /* ================= GSI VME Event header ======================= */ 00019 00020 #if MBS_ENDIAN == 1 00021 00022 typedef struct 00023 { 00024 INTS4 l_dlen; /* Data length + 4 in words */ 00025 INTS2 i_subtype; 00026 INTS2 i_type; 00027 INTS2 i_trigger; /* Trigger number */ 00028 INTS2 i_dummy; /* Not used yet */ 00029 INTS4 l_count; /* Current event number */ 00030 } s_ve10_1; 00031 /* ------------------------------------------------------------------ */ 00032 00033 #else 00034 00035 typedef struct 00036 { 00037 INTS4 l_dlen; /* Data length + 4 in words */ 00038 INTS2 i_type; 00039 INTS2 i_subtype; 00040 INTS2 i_dummy; /* Not used yet */ 00041 INTS2 i_trigger; /* Trigger number */ 00042 INTS4 l_count; /* Current event number */ 00043 } s_ve10_1; 00044 00045 #endif 00046 00047 #endif