00001 // $Id: s_clnt_filter.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 /* filter structure for CLIENT */ 00015 00016 #ifndef S_CINT_FILTER 00017 #define S_CINT_FILTER 00018 00019 struct s_clnt_filter 00020 { 00021 /* --- control byte ordering and machine type (2LW) ---- */ 00022 unsigned int l_testbit; /* bit pattern */ 00023 unsigned int l_endian; /* endian of sender */ 00024 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 00025 int l_numb_of_evt; /* numb of events to send */ 00026 int l_sample_rate; /* flt match sample rate */ 00027 int l_flush_rate; /* buffer flushing rate [sec]*/ 00028 struct s_filter filter[GPS__MAXFLT];/* 32 filter express (à 3LW) */ 00029 struct s_flt_descr flt_descr[GPS__MAXFLTDESCR]; /* Filter descriptor*/ 00030 short unsigned if_fltevt; /* filter on event */ 00031 short unsigned if_fltsev; /* filter on subevent */ 00032 short unsigned if_wrtevt; /* write whole event */ 00033 short unsigned if_wrtsev; /* write subevts (numb of sev)*/ 00034 }; 00035 00036 #endif