Go to the documentation of this file.00001 #ifndef _TTrbDEFINES_H_
00002 #define _TTrbDEFINES_H_
00003
00004 #define TRB_TDC3_CHANNELS 65
00005 #define TRB_TDC3_NUMTDC 1
00006 #define TRB_TDC3_NUMBOARDS 16
00007
00010 #define SET_TRBS {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1}
00011
00013
00014
00015 #define TRB_TDC3_COARSEBINS 0x800
00016 #define TRB_TDC3_COARSEUNIT 5
00017 #define TRB_TDC3_EPOCHUNIT (TRB_TDC3_COARSEUNIT * TRB_TDC3_COARSEBINS)
00018 #define TRB_TDC3_FINEBINS 0x400
00019 #define TRB_TDC3_DELTAHISTBINS (200 * TRB_TDC3_FINEBINS)
00020 #define TRB_TDC3_EPOCHBINS 0x10000000
00021
00023 #define TRB_TDC3_COARSE_COND_LOW 0
00024 #define TRB_TDC3_COARSE_COND_HIGH TRB_TDC3_EPOCHUNIT
00025 #define TRB_TDC3_FINE_COND_LOW 0
00026 #define TRB_TDC3_FINE_COND_HIGH TRB_TDC3_FINEBINS
00027 #define TRB_TDC3_LdeltaT_COND_LOW (-TRB_TDC3_FINEBINS)
00028 #define TRB_TDC3_LdeltaT_COND_HIGH TRB_TDC3_FINEBINS
00029 #define TRB_TDC3_TdeltaT_COND_LOW (-TRB_TDC3_FINEBINS)
00030 #define TRB_TDC3_TdeltaT_COND_HIGH TRB_TDC3_FINEBINS
00031
00033 #define TRB_TDC3_CALIBFREQ 10000
00034 #define TRB_TDC3_CALIBENTRIES 500
00035
00036 #endif // _TTrbDEFINES_H_