GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
s_spe.h
Go to the documentation of this file.
1 // $Id$
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_SPE_H
15 #define S_SPE_H
16 
17 #include "typedefs.h"
18 /* s_spe.h
19  * =======
20  *
21  * Author : Ilya Kutznetsov, R. S. Mayer
22  * Created : 20-Sep-1994
23  *
24  * modified : 14-Oct-1994 Prepared for 2-dim histograms /RSM
25  * 15-Nov-1994 Slot numbers for binary tree. /RSM
26  * 02-Dec-1994 align structure. /RSM
27  */
28 
29 #define HIS__HISNAMLEN 32 /* max lenght of histogram name string */
30 
31 typedef struct
32 {
33  INTU4 ul_attr; /* flag */
34  INTS4 l_version; /* structure version mumber */
35  INTS4 i_slotlef; /* next slot left (sort) */
36  INTS4 i_slotrig; /* next slot right (sort) */
37  INTS4 l_protected; /* clear histogram? */
38  INTS4 l_bins_1; /* number of bins in dim=1 */
39  INTS4 l_bins_2; /* number of bins in dim=2 */
40  INTS4 l_dim; /* dimension size */
41  INTS4 l_data; /* relative pointer to data, */
42  INTU4 l_counts; /* total sum of counts */
43  REAL8 d_contents; /* total sum of counts */
44  INTU4 l_spare1; /* spare */
45  INTU4 l_spare2; /* spare */
46  INTU4 l_spare3; /* spare */
47  INTU4 l_spare4; /* spare */
48  INTU4 l_spare5; /* spare */
49  /* + + + dim = 1 + + + */
50  INTS4 l_outlim_up_counts; /* no of counts that are */
51  INTS4 l_outlim_low_counts; /* out of range */
52  REAL4 r_limits_low; /* upper limit */
53  REAL4 r_limits_up; /* lower limit */
54  REAL4 r_binsize; /* bin size */
55  REAL4 r_factor; /* linear trans. */
56  REAL4 r_offset; /* offset */
57  /* + + + dim = 2 + + + */
58  INTS4 l_outlim_up_counts_2; /* no of counts that are */
59  INTS4 l_outlim_low_counts_2; /* out of range */
60  REAL4 r_limits_low_2; /* energy limits dim = 2 */
61  REAL4 r_limits_up_2; /* energy limits dim = 2 */
62  REAL4 r_binsize_2; /* bin size */
63  REAL4 r_factor_2; /* linear trans. */
65  /* +++ character strings +++ */
66  CHARS c_name[HIS__HISNAMLEN]; /* spect's name */
67  CHARS c_dtype[4]; /* data flag */
68  CHARS c_data_time_cre[28]; /* creation time */
69  CHARS c_clear_date[28]; /* clearing time */
70  CHARS c_lettering_res[64]; /* lettering data content */
71  CHARS c_lettering_1[64]; /* lettering 1st axis */
72  CHARS c_lettering_2[64]; /* lettering 2nd axis */
73 } s_spe ;
74 
75 #endif
INTS4 l_bins_1
Definition: s_spe.h:38
INTU4 l_spare3
Definition: s_spe.h:46
INTS4 l_bins_2
Definition: s_spe.h:39
float REAL4
Definition: typedefs.h:30
REAL4 r_offset_2
Definition: s_spe.h:64
INTU4 l_spare5
Definition: s_spe.h:48
INTS4 l_outlim_low_counts
Definition: s_spe.h:51
INTU4 l_counts
Definition: s_spe.h:42
INTS4 i_slotlef
Definition: s_spe.h:35
REAL4 r_limits_low
Definition: s_spe.h:52
INTS4 l_version
Definition: s_spe.h:34
REAL4 r_offset
Definition: s_spe.h:56
REAL4 r_limits_low_2
Definition: s_spe.h:60
REAL4 r_binsize_2
Definition: s_spe.h:62
INTU4 l_spare1
Definition: s_spe.h:44
INTS4 i_slotrig
Definition: s_spe.h:36
INTS4 l_dim
Definition: s_spe.h:40
unsigned int INTU4
Definition: typedefs.h:29
double REAL8
Definition: typedefs.h:31
int INTS4
Definition: typedefs.h:28
REAL4 r_factor
Definition: s_spe.h:55
INTS4 l_outlim_low_counts_2
Definition: s_spe.h:59
INTU4 l_spare2
Definition: s_spe.h:45
REAL4 r_limits_up
Definition: s_spe.h:53
INTS4 l_data
Definition: s_spe.h:41
INTS4 l_outlim_up_counts_2
Definition: s_spe.h:58
INTS4 l_outlim_up_counts
Definition: s_spe.h:50
INTS4 l_protected
Definition: s_spe.h:37
INTU4 ul_attr
Definition: s_spe.h:33
REAL8 d_contents
Definition: s_spe.h:43
REAL4 r_factor_2
Definition: s_spe.h:63
char CHARS
Definition: typedefs.h:21
REAL4 r_binsize
Definition: s_spe.h:54
Definition: s_spe.h:31
REAL4 r_limits_up_2
Definition: s_spe.h:61
#define HIS__HISNAMLEN
Definition: s_spe.h:29
INTU4 l_spare4
Definition: s_spe.h:47