00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #include "typedefs.h" 00017 /* s_spe.h 00018 * ======= 00019 * 00020 * Author : Ilya Kutznetsov, R. S. Mayer 00021 * Created : 20-Sep-1994 00022 * 00023 * modified : 14-Oct-1994 Prepared for 2-dim histograms /RSM 00024 * 15-Nov-1994 Slot numbers for binary tree. /RSM 00025 * 02-Dec-1994 align structure. /RSM 00026 */ 00027 00028 #define HIS__HISNAMLEN 32 /* max lenght of histogram name string */ 00029 00030 typedef struct 00031 { 00032 INTU4 ul_attr; /* flag */ 00033 INTS4 l_version; /* structure version mumber */ 00034 INTS4 i_slotlef; /* next slot left (sort) */ 00035 INTS4 i_slotrig; /* next slot right (sort) */ 00036 INTS4 l_protected; /* clear histogram? */ 00037 INTS4 l_bins_1; /* number of bins in dim=1 */ 00038 INTS4 l_bins_2; /* number of bins in dim=2 */ 00039 INTS4 l_dim; /* dimension size */ 00040 INTS4 l_data; /* relative pointer to data, */ 00041 INTU4 l_counts; /* total sum of counts */ 00042 REAL8 d_contents; /* total sum of counts */ 00043 INTU4 l_spare1; /* spare */ 00044 INTU4 l_spare2; /* spare */ 00045 INTU4 l_spare3; /* spare */ 00046 INTU4 l_spare4; /* spare */ 00047 INTU4 l_spare5; /* spare */ 00048 /* + + + dim = 1 + + + */ 00049 INTS4 l_outlim_up_counts; /* no of counts that are */ 00050 INTS4 l_outlim_low_counts; /* out of range */ 00051 REAL4 r_limits_low; /* upper limit */ 00052 REAL4 r_limits_up; /* lower limit */ 00053 REAL4 r_binsize; /* bin size */ 00054 REAL4 r_factor; /* linear trans. */ 00055 REAL4 r_offset; /* offset */ 00056 /* + + + dim = 2 + + + */ 00057 INTS4 l_outlim_up_counts_2; /* no of counts that are */ 00058 INTS4 l_outlim_low_counts_2; /* out of range */ 00059 REAL4 r_limits_low_2; /* energy limits dim = 2 */ 00060 REAL4 r_limits_up_2; /* energy limits dim = 2 */ 00061 REAL4 r_binsize_2; /* bin size */ 00062 REAL4 r_factor_2; /* linear trans. */ 00063 REAL4 r_offset_2; 00064 /* +++ character strings +++ */ 00065 CHARS c_name[HIS__HISNAMLEN]; /* spect's name */ 00066 CHARS c_dtype[4]; /* data flag */ 00067 CHARS c_data_time_cre[28]; /* creation time */ 00068 CHARS c_clear_date[28]; /* clearing time */ 00069 CHARS c_lettering_res[64]; /* lettering data content */ 00070 CHARS c_lettering_1[64]; /* lettering 1st axis */ 00071 CHARS c_lettering_2[64]; /* lettering 2nd axis */ 00072 } s_spe ; 00073 00074 //----------------------------END OF GO4 SOURCE FILE ---------------------