00001 // $Id: s_his_head.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 #ifndef S_HIS_HEAD 00015 #define S_HIS_HEAD 00016 00017 #include "typedefs.h" 00018 00019 /* histogram header sent by histogram server */ 00020 typedef struct 00021 { 00022 INTS4 l_bins_1; /* number of bins in dim=1 */ 00023 INTS4 l_bins_2; /* number of bins in dim=2 (>=1) */ 00024 /* + + + dim = 1 + + + */ 00025 INTS4 l_outlim_up_counts; /* no of counts that are */ 00026 INTS4 l_outlim_low_counts; /* out of range */ 00027 REAL4 r_limits_low; /* upper limit */ 00028 REAL4 r_limits_up; /* lower limit */ 00029 REAL4 r_binsize; /* bin size */ 00030 REAL4 r_factor; /* linear trans. */ 00031 REAL4 r_offset; /* offset */ 00032 /* + + + dim = 2 + + + */ 00033 INTS4 l_outlim_up_counts_2; /* no of counts that are */ 00034 INTS4 l_outlim_low_counts_2; /* out of range */ 00035 REAL4 r_limits_low_2; /* energy limits dim = 2 */ 00036 REAL4 r_limits_up_2; /* energy limits dim = 2 */ 00037 REAL4 r_binsize_2; /* bin size */ 00038 REAL4 r_factor_2; /* linear trans. */ 00039 REAL4 r_offset_2; 00040 /* +++ character strings +++ */ 00041 CHARS c_name[64]; /* histogram name */ 00042 CHARS c_dtype[4]; /* data flag */ 00043 CHARS c_data_time_cre[28]; /* creation time */ 00044 CHARS c_clear_date[28]; /* clearing time */ 00045 CHARS c_lettering_res[64]; /* lettering data content */ 00046 CHARS c_lettering_1[64]; /* lettering 1st axis */ 00047 CHARS c_lettering_2[64]; /* lettering 2nd axis */ 00048 } s_his_head ; 00049 00050 #endif