FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s_evhe.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef S_EVHE
10 #define S_EVHE
11 
12 #include "typedefs.h"
13 
14 #if MBS_ENDIAN == 1
15 
16 /* ================= GSI VME General event header =============== */
17 typedef struct
18 {
19  INTS4 l_dlen; /* Length of data in words */
20  INTS2 i_subtype;
21  INTS2 i_type;
22 } s_evhe;
23 /* ------------------------------------------------------------------ */
24 
25 #else
26 
27 typedef struct
28 {
29  INTS4 l_dlen; /* Length of data in words */
32 } s_evhe;
33 
34 #endif
35 
36 #endif
short INTS2
Definition: typedefs.h:19
Definition: s_evhe.h:27
INTS2 i_type
Definition: s_evhe.h:30
int INTS4
Definition: typedefs.h:21
INTS2 i_subtype
Definition: s_evhe.h:31
INTS4 l_dlen
Definition: s_evhe.h:29