00001 // $Id: s_head.h 729 2011-02-23 11:44:23Z 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_head.h 00016 * ======== 00017 * Purpose : Histogram manager for SBS 00018 * Author : Ilya Kuznetsov 00019 * Date : 20-Sep-1994 00020 * 00021 * Modification : 11-Oct-1994 : Version number/RSM 00022 * Modification : 12-Oct-1994 : Text string/RSM 00023 * Modification : 10-Nov-1994 : flags for attach, detach etc. ??? /RSM 00024 * Modification : 15-Nov-1994 : Top-Slot-Index for name sort. /RSM 00025 * Modification : 22-Nov-1994 : Insertion of s_errstat with flag /RSM 00026 * Modification : 24-Jan-1995 : Identifier for histogram base /RSM 00027 * Modification : 24-Jul-1997 : Insert date /HE 00028 * Modification : 25-Aug-1999 : Insert counters /HE 00029 * Modification : 20-Jun-2001 : Insert autosave /HE 00030 */ 00031 00032 #ifndef __S_ERRSTAT__ 00033 #include "s_errstat.h" 00034 #endif 00035 00036 typedef struct 00037 { 00038 INTS4 l_endian; /* 1 the length of the memory big piece */ 00039 INTS4 l_len; /* 2 the length of the memory big piece */ 00040 INTS4 l_free; /* 3 free room in that funny memory piece */ 00041 INTU4 ul_ofree; /* 4 offset of the free room beginning */ 00042 INTS4 i_slot; /* 5 no. of the funny slots requested */ 00043 INTS4 i_sfree; /* 6 no. of the free funny slots */ 00044 INTS4 i_topslot; /* 7 slot with first alphabetic name */ 00045 INTU4 ui_idbase; /* 8 Identifier for a histogram base */ 00046 INTU4 l_version; /* 9 version number for analysis check */ 00047 INTU4 l_segment; /* 10 segment number */ 00048 INTS4 bh_histogram; 00049 INTS4 bh_anal; 00050 INTS4 bh_lock; /* lock flag */ 00051 INTS4 bh_free2; /* 14 */ 00052 INTU4 l_events; /* 15 */ 00053 INTU4 l_out_evts; /* 16 */ 00054 INTU4 l_Lwords; /* 17 */ 00055 INTU4 l_event_r; /* 18 */ 00056 INTU4 l_kbyte_r; /* 19 */ 00057 INTS4 l_running; /* 20 */ 00058 REAL4 r_x1; /* 21 */ 00059 REAL4 r_y1; /* 22 */ 00060 REAL4 r_x2; /* 23 */ 00061 REAL4 r_y2; /* 24 */ 00062 struct s_errstat s_errstat_1; /* 30 control block for f_error */ 00063 CHARS c_date[28]; /* 37 creation date */ 00064 CHARS c_ident[32]; /* 45 process identification string */ 00065 CHARS c_shsegname[32]; /* 53 shared segment name string */ 00066 INTS4 l_points; /* 54 number of polygon points */ 00067 REAL4 r_x[32]; /* 86 x coordinates */ 00068 REAL4 r_y[32]; /* 118 y coordinates */ 00069 INTS4 l_cond_win; /* 119 numer of window conditions */ 00070 INTS4 l_cond_pol; /* 120 numer of polygon conditions */ 00071 INTS4 l_params; /* 121 number of valid parameters in IDL exchange buffer */ 00072 INTS4 l_param_type; /* 122 meaning of parameters in IDL exchange buffer */ 00073 INTS4 l_auto_sec; /* 123 seconds till next autosave (0 is no autosave) */ 00074 INTS4 l_spare[5]; /* 5 spare */ 00075 } s_head;