00001 // $Id: s_spe.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 #include "typedefs.h" 00015 /* s_spe.h 00016 * ======= 00017 * 00018 * Author : Ilya Kutznetsov, R. S. Mayer 00019 * Created : 20-Sep-1994 00020 * 00021 * modified : 14-Oct-1994 Prepared for 2-dim histograms /RSM 00022 * 15-Nov-1994 Slot numbers for binary tree. /RSM 00023 * 02-Dec-1994 align structure. /RSM 00024 */ 00025 00026 #define HIS__HISNAMLEN 32 /* max lenght of histogram name string */ 00027 00028 typedef struct 00029 { 00030 INTU4 ul_attr; /* flag */ 00031 INTS4 l_version; /* structure version mumber */ 00032 INTS4 i_slotlef; /* next slot left (sort) */ 00033 INTS4 i_slotrig; /* next slot right (sort) */ 00034 INTS4 l_protected; /* clear histogram? */ 00035 INTS4 l_bins_1; /* number of bins in dim=1 */ 00036 INTS4 l_bins_2; /* number of bins in dim=2 */ 00037 INTS4 l_dim; /* dimension size */ 00038 INTS4 l_data; /* relative pointer to data, */ 00039 INTU4 l_counts; /* total sum of counts */ 00040 REAL8 d_contents; /* total sum of counts */ 00041 INTU4 l_spare1; /* spare */ 00042 INTU4 l_spare2; /* spare */ 00043 INTU4 l_spare3; /* spare */ 00044 INTU4 l_spare4; /* spare */ 00045 INTU4 l_spare5; /* spare */ 00046 /* + + + dim = 1 + + + */ 00047 INTS4 l_outlim_up_counts; /* no of counts that are */ 00048 INTS4 l_outlim_low_counts; /* out of range */ 00049 REAL4 r_limits_low; /* upper limit */ 00050 REAL4 r_limits_up; /* lower limit */ 00051 REAL4 r_binsize; /* bin size */ 00052 REAL4 r_factor; /* linear trans. */ 00053 REAL4 r_offset; /* offset */ 00054 /* + + + dim = 2 + + + */ 00055 INTS4 l_outlim_up_counts_2; /* no of counts that are */ 00056 INTS4 l_outlim_low_counts_2; /* out of range */ 00057 REAL4 r_limits_low_2; /* energy limits dim = 2 */ 00058 REAL4 r_limits_up_2; /* energy limits dim = 2 */ 00059 REAL4 r_binsize_2; /* bin size */ 00060 REAL4 r_factor_2; /* linear trans. */ 00061 REAL4 r_offset_2; 00062 /* +++ character strings +++ */ 00063 CHARS c_name[HIS__HISNAMLEN]; /* spect's name */ 00064 CHARS c_dtype[4]; /* data flag */ 00065 CHARS c_data_time_cre[28]; /* creation time */ 00066 CHARS c_clear_date[28]; /* clearing time */ 00067 CHARS c_lettering_res[64]; /* lettering data content */ 00068 CHARS c_lettering_1[64]; /* lettering 1st axis */ 00069 CHARS c_lettering_2[64]; /* lettering 2nd axis */ 00070 } s_spe ;