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