Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-02 08:21:08

0001 #ifndef __SUBEVT_CONSTANTS_H
0002 #define __SUBEVT_CONSTANTS_H
0003 
0004 /* the enum types for dump style */
0005 #define DECIMAL     1
0006 #define HEXADECIMAL 2
0007 #define OCTAL       3
0008 
0009 /* Misc. values  */
0010 #define MAX_OUTLENGTH 40000
0011 
0012 // the header length value
0013 #define SEVTHEADERLENGTH 4
0014 #define PRDFHEADERLENGTH 6
0015 
0016 
0017 
0018 // ---------------------------------------------------------------------
0019 //    IDCRAW requests the subevent to be copied without any decoding
0020 #define IDCRAW   0 
0021 
0022 // ---------------------------------------------------------------------
0023 //    IDDGEN uses the standard decoding method imbedded in the subevent
0024 //    header in the new data format
0025 #define IDDGEN    1 
0026 
0027 // ---------------------------------------------------------------------
0028 //    IDHCPY requests only the subevent header (or the Event header) to be
0029 //    copied:
0030 #define IDHCPY    2 
0031 
0032 // ---------------------------------------------------------------------
0033 //    the next methods < 10 use what we consider standard methods by
0034 //    now, i.e., no scheme proprietary to one particular hardware brand
0035 
0036 #define ID1STR    3 
0037 #define IDCSTR    4 
0038 #define ID2EVT    5 
0039 #define ID4EVT    6 
0040 #define ID2SUP    7 
0041 #define IDRTCLK    9 
0042 
0043 // ---------------------------------------------------------------------
0044 // the next methods are for the hammond/g-2 board.
0045 
0046 #define IDHAMMONDSET    31
0047 #define IDHAMMOND       32
0048 
0049 #define IDSAM           40
0050 
0051 #define IDMIZNHC        41
0052 
0053 #define IDDCFEM         51
0054 #define IDTECFEM        52
0055 
0056 #define IDSIS3300       55
0057 
0058 #define IDCAENV792      56
0059 #define IDCAENV785N     57
0060 
0061 #define IDRCFIFOB       58
0062 
0063 
0064 
0065 
0066 
0067 #endif
0068