MiniballSort
Loading...
Searching...
No Matches
MbsDefines.hh File Reference

Go to the source code of this file.

Macros

#define MBS_ID_WORD   "%MBS_RAW_DATA%"
 
#define MBS_SIZEOF_DATA_W   0x4000
 
#define MBS_SIZEOF_DATA_B   0x8000
 
#define MBS_RTYPE_ERROR   0xffffffff
 
#define MBS_CTYPE_FILE   0x1
 
#define MBS_CTYPE_SYNC   0x2
 
#define MBS_CTYPE_ASYNC   0x4
 
#define MBS_CTYPE_REMOTE   0x8
 
#define MBS_CTYPE_FILE_LMD   (MBS_CTYPE_FILE | 0x10)
 
#define MBS_CTYPE_FILE_MED   (MBS_CTYPE_FILE | 0x20)
 
#define MBS_TY_FHEADER   0x1
 
#define MBS_X_FHEADER   0
 
#define MBS_TY_BUFFER   0x2
 
#define MBS_X_BUFFER   1
 
#define MBS_BTYPE_FHEADER   0x000107d0
 
#define MBS_BTYPE_VME   0x0001000a
 
#define MBS_BTYPE_EOF   0
 
#define MBS_BTYPE_ERROR   0xffffffff
 
#define MBS_BTYPE_ABORT   0xfffffffe
 
#define MBS_BTYPE_RAW   0xfffffffd
 
#define MBS_TY_EVENT   0x4
 
#define MBS_X_EVENT   2
 
#define MBS_ETYPE_VME   0x0001000a
 
#define MBS_ETYPE_EOF   MBS_BTYPE_EOF
 
#define MBS_ETYPE_ERROR   MBS_BTYPE_ERROR
 
#define MBS_ETYPE_ABORT   MBS_BTYPE_ABORT
 
#define MBS_ETYPE_RAW   MBS_BTYPE_RAW
 
#define MBS_ETYPE_WAIT   0xfffffffc
 
#define MBS_ETYPE_EOW   0xaffec0c0
 
#define MBS_ETYPE_START   0xfffffffb
 
#define MBS_ETYPE_STOP   0xfffffffa
 
#define MBS_TY_SUBEVENT   0x8
 
#define MBS_X_SUBEVENT   3
 
#define MBS_STYPE_CAMAC_1   0x0001000a
 
#define MBS_STYPE_CAMAC_WO_ID_1   0x000b000a
 
#define MBS_STYPE_CAMAC_MULT_MOD   0x000c000a
 
#define MBS_STYPE_CAMAC_2   0x000d000a
 
#define MBS_STYPE_CAMAC_WO_ID_2   0x000e000a
 
#define MBS_STYPE_CAMAC_RAW   0x000F000a
 
#define MBS_STYPE_CAMAC_DGF_1   0x0015000a
 
#define MBS_STYPE_CAMAC_DGF_2   0x0016000a
 
#define MBS_STYPE_CAMAC_DGF_3   0x0017000a
 
#define MBS_STYPE_CAMAC_SILENA_1   0x001f000a
 
#define MBS_STYPE_CAMAC_SILENA_2   0x0020000a
 
#define MBS_STYPE_VME_CAEN_V556_1   0x0021000a
 
#define MBS_STYPE_VME_CAEN_V556_2   0x0022000a
 
#define MBS_STYPE_VME_CAEN_V556_3   0x0023000a
 
#define MBS_STYPE_VME_CAEN_1   0x0029000a
 
#define MBS_STYPE_VME_CAEN_2   0x002a000a
 
#define MBS_STYPE_VME_CAEN_3   0x002b000a
 
#define MBS_STYPE_VME_CAEN_V1X90_1   0x002d000a
 
#define MBS_STYPE_VME_CAEN_V1X90_2   0x002e000a
 
#define MBS_STYPE_VME_CAEN_V1X90_3   0x002f000a
 
#define MBS_STYPE_VME_SIS_1   0x0033000a
 
#define MBS_STYPE_VME_SIS_2   0x0034000a
 
#define MBS_STYPE_VME_SIS_3   0x0035000a
 
#define MBS_STYPE_VME_SIS_3300   0x0036000a
 
#define MBS_STYPE_VME_SIS_3302_1   0x0038000a
 
#define MBS_STYPE_VME_SIS_3302_2   0x0038000a
 
#define MBS_STYPE_VME_SIS_3302_3   0x0039000a
 
#define MBS_STYPE_CAMAC_CPTM   0x003d000a
 
#define MBS_STYPE_DATA_SHORT   0x0040000a
 
#define MBS_STYPE_DATA_INT   0x0041000a
 
#define MBS_STYPE_DATA_FLOAT   0x0042000a
 
#define MBS_STYPE_HITBUF_1   0x0047000a
 
#define MBS_STYPE_VME_MADC_1   0x0051000a
 
#define MBS_STYPE_VME_MADC_2   0x0052000a
 
#define MBS_STYPE_VME_MADC_3   0x0053000a
 
#define MBS_STYPE_VME_SIS_3820_1   0x005b000a
 
#define MBS_STYPE_VME_SIS_3820_2   0x005c000a
 
#define MBS_STYPE_VME_SIS_3820_3   0x005d000a
 
#define MBS_STYPE_TIME_STAMP   0x00012328
 
#define MBS_STYPE_DEAD_TIME   0x00022328
 
#define MBS_STYPE_DUMMY   0x006f006f
 
#define MBS_STYPE_EOE   MBS_BTYPE_EOF
 
#define MBS_STYPE_ERROR   MBS_BTYPE_ERROR
 
#define MBS_STYPE_ABORT   MBS_BTYPE_ABORT
 
#define MBS_STYPE_RAW   MBS_BTYPE_RAW
 
#define MBS_TY_STAT   0x10
 
#define MBS_X_STAT   4
 
#define MBS_N_BELEMS   5
 
#define MBS_N_TRIGGERS   16
 
#define MBS_N_BUFFERS   5
 
#define MBS_L_STR   256
 
#define MBS_L_NAME   64
 
#define MBS_ODD_NOF_PARAMS   1
 indicates an odd number of params
 
#define BYTE_ORDER_1_TO_1   0
 1:1, nothing to do
 
#define BYTE_ORDER_BSW   1
 byte swap
 
#define BYTE_ORDER_LSW   2
 long word swap
 
#define BYTE_ORDER_REV   3
 reverse order
 
#define CAEN7X5_NBOFCHAN   32
 
#define CAEN_V7X5_SH_TYPE_OF_WORD   0x18
 
#define CAEN_V7X5_M_TYPE_OF_WORD   0x7
 
#define CAEN_V7X5_D_HDR   0x2
 
#define CAEN_V7X5_D_VALID_DATUM   0x0
 
#define CAEN_V7X5_D_EOB   0x4
 
#define CAEN_V7X5_SH_CRATENR   0x10
 
#define CAEN_V7X5_M_CRATENR   0xff
 
#define CAEN_V7X5_SH_WC   0x8
 
#define CAEN_V7X5_M_WC   0x3f
 
#define CAEN_V7X5_M_MSERIAL   0xff
 
#define CAEN_V7X5_SH_CHN   0x10
 
#define CAEN_V7X5_M_CHN   0x3f
 
#define CAEN_V7X5_B_OVERFLOW   0x1000
 
#define CAEN_V7X5_B_UNDERTHRESH   0x2000
 
#define CAEN_V7X5_M_ADCDATA   0xfff
 
#define CAEN_V7X5_M_EVENTCOUNTER   0xffffff
 
#define SIS3600_D_HDR   (0x1 << 15)
 
#define SIS3600_MSERIAL   (0xff)
 
#define SCALER_SH_CRATENR   0x10
 
#define SCALER_M_CRATENR   0xff
 
#define SCALER_M_SERIAL   0xffff
 
#define DGF_SCALER_END_OF_BUFFER   0x5252
 
#define DGF_SCALER_MAGIC_WORD   0x2525
 
#define DGF_SCALER_INDEX_REALTIME   0
 
#define DGF_SCALER_INDEX_RUNTIME   3
 
#define DGF_SCALER_INDEX_GSLTTIME   6
 
#define DGF_SCALER_INDEX_NEVENTS   9
 
#define DGF_SCALER_INDEX_CH_OFFSET   62
 
#define DGF_SCALER_INDEX_CH_SIZE   24
 
#define DGF_SCALER_MIN_SIZE   144
 
#define BRAGG_CHAMBER_HEADER   (0x1 << 15)
 
#define BRAGG_CHAMBER_MODULE_NUMBER   0xFF
 
#define BRAGG_CHAMBER_MODULE_ID   0x7F
 
#define BRAGG_CHAMBER_SH_ModuleId   8
 
#define MESYTEC_MADC_MODULE_ID   0xff
 
#define MESYTEC_MADC_OUTPUT_FORMAT   0x8000
 
#define MESYTEC_MADC_ADC_RESOLUTION   0x7000
 
#define MESYTEC_MADC_WORD_COUNT   0xfff
 
#define MESYTEC_MADC_CHANNEL_NUMBER   0x1f
 
#define MESYTEC_MADC_VALUE   0x1fff
 
#define MESYTEC_MADC_OUT_OF_RANGE   0x4000
 
#define MESYTEC_MADC_EXTENDED_TIMESTAMP   0x80
 
#define MESYTEC_MADC_EXTENDED_TIMESTAMP_SHIFT   30
 
#define MESYTEC_MADC_EXTENDED_TIMESTAMP_MASK   0x3fffc0000000
 
#define MESYTEC_MADC_EXTENDED_TIMESTAMP_DATA   0xffff
 
#define MESYTEC_MADC_END_OF_EVENT   0xc0000000
 
#define MESYTEC_MADC_TIMESTAMP   0x3fffffff
 
#define BUFHEADLEN   6
 
#define EVENTHEADLEN   3
 
#define CHANHEADLEN   9
 
#define STD_LM   0
 
#define STD_LM_RUNTASK   256
 
#define STD_LM_BUFFORMAT   256
 
#define COMP_LM   1
 
#define COMP_LM_RUNTASK   257
 
#define COMP_LM_BUFFORMAT   257
 
#define STD_FLM   2
 
#define STD_FLM_RUNTASK   512
 
#define STD_FLM_BUFFORMAT   512
 
#define COMP_FLM   3
 
#define COMP_FLM_RUNTASK   513
 
#define COMP_FLM_BUFFORMAT   513
 
#define COMP3_LM   4
 
#define COMP3_LM_RUNTASK   259
 
#define COMP3_LM_BUFFORMAT   259
 
#define DEFAULT_RUNTASK   STD_LM_RUNTASK
 
#define DEFAULT_BUFFORMAT   STD_LM_BUFFORMAT
 
#define XIA_EVENT   666
 
#define XIA_STD_LM   (XIA_EVENT+STD_LM)
 
#define XIA_COMP_LM   (XIA_EVENT+COMP_LM)
 
#define XIA_STD_FLM   (XIA_EVENT+STD_FLM)
 
#define XIA_COMP_FLM   (XIA_EVENT+COMP_FLM)
 

Macro Definition Documentation

◆ BRAGG_CHAMBER_HEADER

#define BRAGG_CHAMBER_HEADER   (0x1 << 15)

Definition at line 144 of file MbsDefines.hh.

◆ BRAGG_CHAMBER_MODULE_ID

#define BRAGG_CHAMBER_MODULE_ID   0x7F

Definition at line 146 of file MbsDefines.hh.

◆ BRAGG_CHAMBER_MODULE_NUMBER

#define BRAGG_CHAMBER_MODULE_NUMBER   0xFF

Definition at line 145 of file MbsDefines.hh.

◆ BRAGG_CHAMBER_SH_ModuleId

#define BRAGG_CHAMBER_SH_ModuleId   8

Definition at line 147 of file MbsDefines.hh.

◆ BUFHEADLEN

#define BUFHEADLEN   6

Definition at line 164 of file MbsDefines.hh.

◆ BYTE_ORDER_1_TO_1

#define BYTE_ORDER_1_TO_1   0

1:1, nothing to do

Definition at line 102 of file MbsDefines.hh.

Referenced by MBS::GetByteSwapInt(), MBS::GetByteSwapShort(), and MBS::GetByteSwapString().

◆ BYTE_ORDER_BSW

#define BYTE_ORDER_BSW   1

byte swap

Definition at line 103 of file MbsDefines.hh.

Referenced by MBS::GetByteSwapInt(), MBS::GetByteSwapShort(), and MBS::GetByteSwapString().

◆ BYTE_ORDER_LSW

#define BYTE_ORDER_LSW   2

long word swap

Definition at line 104 of file MbsDefines.hh.

Referenced by MBS::GetByteSwapInt(), MBS::GetByteSwapShort(), and MBS::GetByteSwapString().

◆ BYTE_ORDER_REV

#define BYTE_ORDER_REV   3

reverse order

Definition at line 105 of file MbsDefines.hh.

Referenced by MBS::GetByteSwapInt(), MBS::GetByteSwapShort(), MBS::GetByteSwapString(), and MBS::OpenMedFile().

◆ CAEN7X5_NBOFCHAN

#define CAEN7X5_NBOFCHAN   32

Definition at line 109 of file MbsDefines.hh.

◆ CAEN_V7X5_B_OVERFLOW

#define CAEN_V7X5_B_OVERFLOW   0x1000

Definition at line 122 of file MbsDefines.hh.

◆ CAEN_V7X5_B_UNDERTHRESH

#define CAEN_V7X5_B_UNDERTHRESH   0x2000

Definition at line 123 of file MbsDefines.hh.

◆ CAEN_V7X5_D_EOB

#define CAEN_V7X5_D_EOB   0x4

Definition at line 114 of file MbsDefines.hh.

◆ CAEN_V7X5_D_HDR

#define CAEN_V7X5_D_HDR   0x2

Definition at line 112 of file MbsDefines.hh.

◆ CAEN_V7X5_D_VALID_DATUM

#define CAEN_V7X5_D_VALID_DATUM   0x0

Definition at line 113 of file MbsDefines.hh.

◆ CAEN_V7X5_M_ADCDATA

#define CAEN_V7X5_M_ADCDATA   0xfff

Definition at line 124 of file MbsDefines.hh.

◆ CAEN_V7X5_M_CHN

#define CAEN_V7X5_M_CHN   0x3f

Definition at line 121 of file MbsDefines.hh.

◆ CAEN_V7X5_M_CRATENR

#define CAEN_V7X5_M_CRATENR   0xff

Definition at line 116 of file MbsDefines.hh.

◆ CAEN_V7X5_M_EVENTCOUNTER

#define CAEN_V7X5_M_EVENTCOUNTER   0xffffff

Definition at line 125 of file MbsDefines.hh.

◆ CAEN_V7X5_M_MSERIAL

#define CAEN_V7X5_M_MSERIAL   0xff

Definition at line 119 of file MbsDefines.hh.

◆ CAEN_V7X5_M_TYPE_OF_WORD

#define CAEN_V7X5_M_TYPE_OF_WORD   0x7

Definition at line 111 of file MbsDefines.hh.

◆ CAEN_V7X5_M_WC

#define CAEN_V7X5_M_WC   0x3f

Definition at line 118 of file MbsDefines.hh.

◆ CAEN_V7X5_SH_CHN

#define CAEN_V7X5_SH_CHN   0x10

Definition at line 120 of file MbsDefines.hh.

◆ CAEN_V7X5_SH_CRATENR

#define CAEN_V7X5_SH_CRATENR   0x10

Definition at line 115 of file MbsDefines.hh.

◆ CAEN_V7X5_SH_TYPE_OF_WORD

#define CAEN_V7X5_SH_TYPE_OF_WORD   0x18

Definition at line 110 of file MbsDefines.hh.

◆ CAEN_V7X5_SH_WC

#define CAEN_V7X5_SH_WC   0x8

Definition at line 117 of file MbsDefines.hh.

◆ CHANHEADLEN

#define CHANHEADLEN   9

Definition at line 166 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ COMP3_LM

#define COMP3_LM   4

Definition at line 189 of file MbsDefines.hh.

◆ COMP3_LM_BUFFORMAT

#define COMP3_LM_BUFFORMAT   259

Definition at line 191 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ COMP3_LM_RUNTASK

#define COMP3_LM_RUNTASK   259

Definition at line 190 of file MbsDefines.hh.

◆ COMP_FLM

#define COMP_FLM   3

Definition at line 184 of file MbsDefines.hh.

◆ COMP_FLM_BUFFORMAT

#define COMP_FLM_BUFFORMAT   513

Definition at line 186 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ COMP_FLM_RUNTASK

#define COMP_FLM_RUNTASK   513

Definition at line 185 of file MbsDefines.hh.

◆ COMP_LM

#define COMP_LM   1

Definition at line 174 of file MbsDefines.hh.

◆ COMP_LM_BUFFORMAT

#define COMP_LM_BUFFORMAT   257

Definition at line 176 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ COMP_LM_RUNTASK

#define COMP_LM_RUNTASK   257

Definition at line 175 of file MbsDefines.hh.

◆ DEFAULT_BUFFORMAT

#define DEFAULT_BUFFORMAT   STD_LM_BUFFORMAT

Definition at line 195 of file MbsDefines.hh.

◆ DEFAULT_RUNTASK

#define DEFAULT_RUNTASK   STD_LM_RUNTASK

Definition at line 194 of file MbsDefines.hh.

◆ DGF_SCALER_END_OF_BUFFER

#define DGF_SCALER_END_OF_BUFFER   0x5252

Definition at line 134 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_CH_OFFSET

#define DGF_SCALER_INDEX_CH_OFFSET   62

Definition at line 140 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_CH_SIZE

#define DGF_SCALER_INDEX_CH_SIZE   24

Definition at line 141 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_GSLTTIME

#define DGF_SCALER_INDEX_GSLTTIME   6

Definition at line 138 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_NEVENTS

#define DGF_SCALER_INDEX_NEVENTS   9

Definition at line 139 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_REALTIME

#define DGF_SCALER_INDEX_REALTIME   0

Definition at line 136 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_INDEX_RUNTIME

#define DGF_SCALER_INDEX_RUNTIME   3

Definition at line 137 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_MAGIC_WORD

#define DGF_SCALER_MAGIC_WORD   0x2525

Definition at line 135 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ DGF_SCALER_MIN_SIZE

#define DGF_SCALER_MIN_SIZE   144

Definition at line 142 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfScaler().

◆ EVENTHEADLEN

#define EVENTHEADLEN   3

Definition at line 165 of file MbsDefines.hh.

◆ MBS_BTYPE_ABORT

#define MBS_BTYPE_ABORT   0xfffffffe

abort

Definition at line 27 of file MbsDefines.hh.

◆ MBS_BTYPE_EOF

#define MBS_BTYPE_EOF   0

end of file

Definition at line 25 of file MbsDefines.hh.

◆ MBS_BTYPE_ERROR

#define MBS_BTYPE_ERROR   0xffffffff

error

Definition at line 26 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_BTYPE_FHEADER

#define MBS_BTYPE_FHEADER   0x000107d0

file header [1,2000]

Definition at line 23 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_BTYPE_RAW

#define MBS_BTYPE_RAW   0xfffffffd

raw mode

Definition at line 28 of file MbsDefines.hh.

◆ MBS_BTYPE_VME

#define MBS_BTYPE_VME   0x0001000a

vme event [1,10]

Definition at line 24 of file MbsDefines.hh.

Referenced by MBS::GetBuffer(), and MBS::MBS().

◆ MBS_CTYPE_ASYNC

#define MBS_CTYPE_ASYNC   0x4

connection: asynchronous via stream server

Definition at line 13 of file MbsDefines.hh.

◆ MBS_CTYPE_FILE

#define MBS_CTYPE_FILE   0x1

connection: file

Definition at line 11 of file MbsDefines.hh.

◆ MBS_CTYPE_FILE_LMD

#define MBS_CTYPE_FILE_LMD   (MBS_CTYPE_FILE | 0x10)

connection: file, format is LMD

Definition at line 15 of file MbsDefines.hh.

◆ MBS_CTYPE_FILE_MED

#define MBS_CTYPE_FILE_MED   (MBS_CTYPE_FILE | 0x20)

connection: file, format is MED

Definition at line 16 of file MbsDefines.hh.

◆ MBS_CTYPE_REMOTE

#define MBS_CTYPE_REMOTE   0x8

connection: remote tape

Definition at line 14 of file MbsDefines.hh.

◆ MBS_CTYPE_SYNC

#define MBS_CTYPE_SYNC   0x2

connection: synchronous via transport manager

Definition at line 12 of file MbsDefines.hh.

◆ MBS_ETYPE_ABORT

#define MBS_ETYPE_ABORT   MBS_BTYPE_ABORT

abort

Definition at line 35 of file MbsDefines.hh.

Referenced by MBS::GetNextMedEvent().

◆ MBS_ETYPE_EOF

#define MBS_ETYPE_EOF   MBS_BTYPE_EOF

end of file

Definition at line 33 of file MbsDefines.hh.

◆ MBS_ETYPE_EOW

#define MBS_ETYPE_EOW   0xaffec0c0

end of wait loop

Definition at line 38 of file MbsDefines.hh.

◆ MBS_ETYPE_ERROR

#define MBS_ETYPE_ERROR   MBS_BTYPE_ERROR

error

Definition at line 34 of file MbsDefines.hh.

Referenced by MBS::GetNextMedEvent().

◆ MBS_ETYPE_RAW

#define MBS_ETYPE_RAW   MBS_BTYPE_RAW

raw mode

Definition at line 36 of file MbsDefines.hh.

◆ MBS_ETYPE_START

#define MBS_ETYPE_START   0xfffffffb

start event

Definition at line 39 of file MbsDefines.hh.

◆ MBS_ETYPE_STOP

#define MBS_ETYPE_STOP   0xfffffffa

stop event

Definition at line 40 of file MbsDefines.hh.

◆ MBS_ETYPE_VME

#define MBS_ETYPE_VME   0x0001000a

vme event [1,10]

Definition at line 32 of file MbsDefines.hh.

Referenced by MBS::GetNextMedEvent(), and MBS::MBS().

◆ MBS_ETYPE_WAIT

#define MBS_ETYPE_WAIT   0xfffffffc

wait for write complete

Definition at line 37 of file MbsDefines.hh.

◆ MBS_ID_WORD

#define MBS_ID_WORD   "%MBS_RAW_DATA%"

magic id

Definition at line 5 of file MbsDefines.hh.

◆ MBS_L_NAME

#define MBS_L_NAME   64

lenght of a name string

Definition at line 98 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_L_STR

#define MBS_L_STR   256

string length

Definition at line 97 of file MbsDefines.hh.

◆ MBS_N_BELEMS

#define MBS_N_BELEMS   5

number if buffer elements

Definition at line 93 of file MbsDefines.hh.

◆ MBS_N_BUFFERS

#define MBS_N_BUFFERS   5

number of buffers in buffer ring

Definition at line 95 of file MbsDefines.hh.

◆ MBS_N_TRIGGERS

#define MBS_N_TRIGGERS   16

number of triggers

Definition at line 94 of file MbsDefines.hh.

Referenced by MBS::GetNextMedEvent(), and MBS::MBS().

◆ MBS_ODD_NOF_PARAMS

#define MBS_ODD_NOF_PARAMS   1

indicates an odd number of params

Definition at line 100 of file MbsDefines.hh.

◆ MBS_RTYPE_ERROR

#define MBS_RTYPE_ERROR   0xffffffff

error

Definition at line 9 of file MbsDefines.hh.

◆ MBS_SIZEOF_DATA_B

#define MBS_SIZEOF_DATA_B   0x8000

length of data (bytes)

Definition at line 7 of file MbsDefines.hh.

◆ MBS_SIZEOF_DATA_W

#define MBS_SIZEOF_DATA_W   0x4000

length of data (words)

Definition at line 6 of file MbsDefines.hh.

◆ MBS_STYPE_ABORT

#define MBS_STYPE_ABORT   MBS_BTYPE_ABORT

abort

Definition at line 87 of file MbsDefines.hh.

◆ MBS_STYPE_CAMAC_1

#define MBS_STYPE_CAMAC_1   0x0001000a

subevent [1,10]: camac (chn,data)

Definition at line 44 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_2

#define MBS_STYPE_CAMAC_2   0x000d000a

subevent [13,10]: camac, data stored in hit buffer

Definition at line 47 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_CPTM

#define MBS_STYPE_CAMAC_CPTM   0x003d000a

subevent [61,10]: camac, cptm Cologne

Definition at line 71 of file MbsDefines.hh.

◆ MBS_STYPE_CAMAC_DGF_1

#define MBS_STYPE_CAMAC_DGF_1   0x0015000a

subevent [21,10]: camac, dgf, accumulate histos directly

Definition at line 50 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_DGF_2

#define MBS_STYPE_CAMAC_DGF_2   0x0016000a

subevent [22,10]: camac, dgf, data stored in hit buffer

Definition at line 51 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_DGF_3

#define MBS_STYPE_CAMAC_DGF_3   0x0017000a

subevent [23,10]: camac, dgf, data stored in hit buffer

Definition at line 52 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessDgfData().

◆ MBS_STYPE_CAMAC_MULT_MOD

#define MBS_STYPE_CAMAC_MULT_MOD   0x000c000a

subevent [12,10]: camac multi module

Definition at line 46 of file MbsDefines.hh.

◆ MBS_STYPE_CAMAC_RAW

#define MBS_STYPE_CAMAC_RAW   0x000F000a

subevent [15,10]: camac, raw format

Definition at line 49 of file MbsDefines.hh.

◆ MBS_STYPE_CAMAC_SILENA_1

#define MBS_STYPE_CAMAC_SILENA_1   0x001f000a

subevent [31,10]: camac, silena 4418

Definition at line 53 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_SILENA_2

#define MBS_STYPE_CAMAC_SILENA_2   0x0020000a

subevent [32,10]: camac, silena 4418, data stored in hit buffer

Definition at line 54 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_CAMAC_WO_ID_1

#define MBS_STYPE_CAMAC_WO_ID_1   0x000b000a

subevent [11,10]: camac w/o chn number

Definition at line 45 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessScalerData().

◆ MBS_STYPE_CAMAC_WO_ID_2

#define MBS_STYPE_CAMAC_WO_ID_2   0x000e000a

subevent [14,10]: camac, data stored in hit buffer

Definition at line 48 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_DATA_FLOAT

#define MBS_STYPE_DATA_FLOAT   0x0042000a

subevent [66,10]: universal data container, float/double

Definition at line 74 of file MbsDefines.hh.

◆ MBS_STYPE_DATA_INT

#define MBS_STYPE_DATA_INT   0x0041000a

subevent [65,10]: universal data container, integer, 4 bytes

Definition at line 73 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_DATA_SHORT

#define MBS_STYPE_DATA_SHORT   0x0040000a

subevent [64,10]: universal data container, short integer, 2 bytes

Definition at line 72 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_DEAD_TIME

#define MBS_STYPE_DEAD_TIME   0x00022328

subevent [2,9000]: dead time

Definition at line 83 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_DUMMY

#define MBS_STYPE_DUMMY   0x006f006f

subevent [111,111]: dummy

Definition at line 84 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_EOE

#define MBS_STYPE_EOE   MBS_BTYPE_EOF

end of event

Definition at line 85 of file MbsDefines.hh.

Referenced by MBS::GetNextMedEvent().

◆ MBS_STYPE_ERROR

#define MBS_STYPE_ERROR   MBS_BTYPE_ERROR

error

Definition at line 86 of file MbsDefines.hh.

◆ MBS_STYPE_HITBUF_1

#define MBS_STYPE_HITBUF_1   0x0047000a

subevent [71,10]: hit buffer

Definition at line 75 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_RAW

#define MBS_STYPE_RAW   MBS_BTYPE_RAW

raw mode

Definition at line 88 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MBS::OpenMedFile().

◆ MBS_STYPE_TIME_STAMP

#define MBS_STYPE_TIME_STAMP   0x00012328

subevent [1,9000]: time stamp

Definition at line 82 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessEvent().

◆ MBS_STYPE_VME_CAEN_1

#define MBS_STYPE_VME_CAEN_1   0x0029000a

subevent [41,10]: vme, caen v875, v775

Definition at line 58 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_2

#define MBS_STYPE_VME_CAEN_2   0x002a000a

subevent [42,10]: vme, caen v875, v775, data stored in hit buffer

Definition at line 59 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_3

#define MBS_STYPE_VME_CAEN_3   0x002b000a

subevent [43,10]: vme, caen v875, v775, data stored in hit buffer

Definition at line 60 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V1X90_1

#define MBS_STYPE_VME_CAEN_V1X90_1   0x002d000a

subevent [45,10]: vme, caen v1190, v1290

Definition at line 61 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V1X90_2

#define MBS_STYPE_VME_CAEN_V1X90_2   0x002e000a

subevent [46,10]: vme, caen v1190, v1290, data stored in hit buffer

Definition at line 62 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V1X90_3

#define MBS_STYPE_VME_CAEN_V1X90_3   0x002f000a

subevent [47,10]: vme, caen v1190, v1290, data stored in hit buffer

Definition at line 63 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V556_1

#define MBS_STYPE_VME_CAEN_V556_1   0x0021000a

subevent [33,10]: vme, caen v556

Definition at line 55 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V556_2

#define MBS_STYPE_VME_CAEN_V556_2   0x0022000a

subevent [34,10]: vme, caen v556, data stored in hit buffer

Definition at line 56 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_CAEN_V556_3

#define MBS_STYPE_VME_CAEN_V556_3   0x0023000a

subevent [35,10]: vme, caen v556, data stored in hit buffer

Definition at line 57 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_MADC_1

#define MBS_STYPE_VME_MADC_1   0x0051000a

subevent [81,10]: vme, mesytec madc32

Definition at line 76 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessEvent().

◆ MBS_STYPE_VME_MADC_2

#define MBS_STYPE_VME_MADC_2   0x0052000a

subevent [82,10]: vme, mesytec madc32, data stored in hit buffer

Definition at line 77 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessEvent().

◆ MBS_STYPE_VME_MADC_3

#define MBS_STYPE_VME_MADC_3   0x0053000a

subevent [83,10]: vme, mesytec madc32, data stored in hit buffer

Definition at line 78 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessEvent().

◆ MBS_STYPE_VME_SIS_1

#define MBS_STYPE_VME_SIS_1   0x0033000a

subevent [51,10]: vme, struck/sis

Definition at line 64 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_2

#define MBS_STYPE_VME_SIS_2   0x0034000a

subevent [52,10]: vme, struck/sis, data stored in hit buffer

Definition at line 65 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_3

#define MBS_STYPE_VME_SIS_3   0x0035000a

subevent [53,10]: vme, struck/sis, data stored in hit buffer

Definition at line 66 of file MbsDefines.hh.

Referenced by MBS::MBS(), and MiniballMedConverter::ProcessPatternUnitData().

◆ MBS_STYPE_VME_SIS_3300

#define MBS_STYPE_VME_SIS_3300   0x0036000a

subevent [54,10]: vme, struck/sis 3300, data stored in hit buffer

Definition at line 67 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_3302_1

#define MBS_STYPE_VME_SIS_3302_1   0x0038000a

subevent [55,10]: vme, struck/sis 3302

Definition at line 68 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_3302_2

#define MBS_STYPE_VME_SIS_3302_2   0x0038000a

subevent [56,10]: vme, struck/sis 3302, data stored in hit buffer

Definition at line 69 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_3302_3

#define MBS_STYPE_VME_SIS_3302_3   0x0039000a

subevent [57,10]: vme, struck/sis 3302, data stored in hit buffer

Definition at line 70 of file MbsDefines.hh.

Referenced by MBS::MBS().

◆ MBS_STYPE_VME_SIS_3820_1

#define MBS_STYPE_VME_SIS_3820_1   0x005b000a

subevent [91,10]: vme, sis 3820 scaler

Definition at line 79 of file MbsDefines.hh.

◆ MBS_STYPE_VME_SIS_3820_2

#define MBS_STYPE_VME_SIS_3820_2   0x005c000a

subevent [92,10]: vme, sis 3820 scaler, data stored in hit buffer

Definition at line 80 of file MbsDefines.hh.

◆ MBS_STYPE_VME_SIS_3820_3

#define MBS_STYPE_VME_SIS_3820_3   0x005d000a

subevent [93,10]:vme, sis 3820 scaler, data stored in hit buffer

Definition at line 81 of file MbsDefines.hh.

◆ MBS_TY_BUFFER

#define MBS_TY_BUFFER   0x2

type: buffer

Definition at line 21 of file MbsDefines.hh.

◆ MBS_TY_EVENT

#define MBS_TY_EVENT   0x4

type: event

Definition at line 30 of file MbsDefines.hh.

◆ MBS_TY_FHEADER

#define MBS_TY_FHEADER   0x1

type: file header

Definition at line 18 of file MbsDefines.hh.

◆ MBS_TY_STAT

#define MBS_TY_STAT   0x10

type: statistics

Definition at line 90 of file MbsDefines.hh.

◆ MBS_TY_SUBEVENT

#define MBS_TY_SUBEVENT   0x8

type: subevent

Definition at line 42 of file MbsDefines.hh.

◆ MBS_X_BUFFER

#define MBS_X_BUFFER   1

index: buffer

Definition at line 22 of file MbsDefines.hh.

◆ MBS_X_EVENT

#define MBS_X_EVENT   2

index: event

Definition at line 31 of file MbsDefines.hh.

◆ MBS_X_FHEADER

#define MBS_X_FHEADER   0

index: file header

Definition at line 19 of file MbsDefines.hh.

◆ MBS_X_STAT

#define MBS_X_STAT   4

index: statistics

Definition at line 91 of file MbsDefines.hh.

◆ MBS_X_SUBEVENT

#define MBS_X_SUBEVENT   3

index: subevent

Definition at line 43 of file MbsDefines.hh.

◆ MESYTEC_MADC_ADC_RESOLUTION

#define MESYTEC_MADC_ADC_RESOLUTION   0x7000

Definition at line 151 of file MbsDefines.hh.

◆ MESYTEC_MADC_CHANNEL_NUMBER

#define MESYTEC_MADC_CHANNEL_NUMBER   0x1f

Definition at line 153 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_END_OF_EVENT

#define MESYTEC_MADC_END_OF_EVENT   0xc0000000

Definition at line 160 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_EXTENDED_TIMESTAMP

#define MESYTEC_MADC_EXTENDED_TIMESTAMP   0x80

Definition at line 156 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_EXTENDED_TIMESTAMP_DATA

#define MESYTEC_MADC_EXTENDED_TIMESTAMP_DATA   0xffff

Definition at line 159 of file MbsDefines.hh.

◆ MESYTEC_MADC_EXTENDED_TIMESTAMP_MASK

#define MESYTEC_MADC_EXTENDED_TIMESTAMP_MASK   0x3fffc0000000

Definition at line 158 of file MbsDefines.hh.

◆ MESYTEC_MADC_EXTENDED_TIMESTAMP_SHIFT

#define MESYTEC_MADC_EXTENDED_TIMESTAMP_SHIFT   30

Definition at line 157 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_MODULE_ID

#define MESYTEC_MADC_MODULE_ID   0xff

Definition at line 149 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_OUT_OF_RANGE

#define MESYTEC_MADC_OUT_OF_RANGE   0x4000

Definition at line 155 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_OUTPUT_FORMAT

#define MESYTEC_MADC_OUTPUT_FORMAT   0x8000

Definition at line 150 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_TIMESTAMP

#define MESYTEC_MADC_TIMESTAMP   0x3fffffff

Definition at line 161 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_VALUE

#define MESYTEC_MADC_VALUE   0x1fff

Definition at line 154 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ MESYTEC_MADC_WORD_COUNT

#define MESYTEC_MADC_WORD_COUNT   0xfff

Definition at line 152 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessMesytecAdcData().

◆ SCALER_M_CRATENR

#define SCALER_M_CRATENR   0xff

Definition at line 131 of file MbsDefines.hh.

◆ SCALER_M_SERIAL

#define SCALER_M_SERIAL   0xffff

Definition at line 132 of file MbsDefines.hh.

◆ SCALER_SH_CRATENR

#define SCALER_SH_CRATENR   0x10

Definition at line 130 of file MbsDefines.hh.

◆ SIS3600_D_HDR

#define SIS3600_D_HDR   (0x1 << 15)

Definition at line 127 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessPatternUnitData().

◆ SIS3600_MSERIAL

#define SIS3600_MSERIAL   (0xff)

Definition at line 128 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessPatternUnitData().

◆ STD_FLM

#define STD_FLM   2

Definition at line 179 of file MbsDefines.hh.

◆ STD_FLM_BUFFORMAT

#define STD_FLM_BUFFORMAT   512

Definition at line 181 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ STD_FLM_RUNTASK

#define STD_FLM_RUNTASK   512

Definition at line 180 of file MbsDefines.hh.

◆ STD_LM

#define STD_LM   0

Definition at line 169 of file MbsDefines.hh.

◆ STD_LM_BUFFORMAT

#define STD_LM_BUFFORMAT   256

Definition at line 171 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ STD_LM_RUNTASK

#define STD_LM_RUNTASK   256

Definition at line 170 of file MbsDefines.hh.

◆ XIA_COMP_FLM

#define XIA_COMP_FLM   (XIA_EVENT+COMP_FLM)

Definition at line 203 of file MbsDefines.hh.

◆ XIA_COMP_LM

#define XIA_COMP_LM   (XIA_EVENT+COMP_LM)

Definition at line 201 of file MbsDefines.hh.

◆ XIA_EVENT

#define XIA_EVENT   666

Definition at line 198 of file MbsDefines.hh.

Referenced by MiniballMedConverter::ProcessDgfData().

◆ XIA_STD_FLM

#define XIA_STD_FLM   (XIA_EVENT+STD_FLM)

Definition at line 202 of file MbsDefines.hh.

◆ XIA_STD_LM

#define XIA_STD_LM   (XIA_EVENT+STD_LM)

Definition at line 200 of file MbsDefines.hh.