// $Id: s_pat.h 478 2009-10-29 12:26:09Z linev $ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef S_PAT #define S_PAT #include "typedefs.h" #if MBS_ENDIAN == 1 /* identities for filter patterns */ struct s_pat1 { short i_dummy; short i_trigger; }; struct s_pat2 { char h_control; char h_subcrate; short i_procid; }; struct s_pat3 { short i_subtype; short i_type; }; #else /* identities for filter patterns */ struct s_pat1 { short i_trigger; short i_dummy; }; struct s_pat2 { short i_procid; char h_subcrate; char h_control; }; struct s_pat3 { short i_type; short i_subtype; }; #endif #endif