00001 // $Id: s_evhe.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_EVHE 00015 #define S_EVHE 00016 00017 #include "typedefs.h" 00018 00019 #if MBS_ENDIAN == 1 00020 00021 /* ================= GSI VME General event header =============== */ 00022 typedef struct 00023 { 00024 INTS4 l_dlen; /* Length of data in words */ 00025 INTS2 i_subtype; 00026 INTS2 i_type; 00027 } s_evhe; 00028 /* ------------------------------------------------------------------ */ 00029 00030 #else 00031 00032 typedef struct 00033 { 00034 INTS4 l_dlen; /* Length of data in words */ 00035 INTS2 i_type; 00036 INTS2 i_subtype; 00037 } s_evhe; 00038 00039 #endif 00040 00041 #endif