00001 #ifndef CSCCommonTrigger_CSCConstants_h
00002 #define CSCCommonTrigger_CSCConstants_h
00003
00010 #include <cmath>
00011
00012 class CSCConstants
00013 {
00014 public:
00015 enum WG_and_Strip { MAX_NUM_WIRES = 119, MAX_NUM_STRIPS = 80,
00016 NUM_DI_STRIPS = 40+1,
00017 NUM_HALF_STRIPS = 160+1};
00018
00019 enum Layer_Info { NUM_LAYERS = 6, KEY_CLCT_LAYER = 3, KEY_CLCT_LAYER_PRE_TMB07 = 4, KEY_ALCT_LAYER = 3 };
00020
00021 enum Pattern_Info { NUM_ALCT_PATTERNS = 3, NUM_CLCT_PATTERNS = 11, NUM_CLCT_PATTERNS_PRE_TMB07 = 8 };
00022
00023 enum Digis_Info { MAX_DIGIS_PER_ALCT = 10, MAX_DIGIS_PER_CLCT = 8 };
00024
00025 enum MPC_stubs { maxStubs = 3 };
00026
00033 enum Bx_Window { MIN_BUNCH = -6, MAX_BUNCH = 6, TOT_BUNCH = MAX_BUNCH - MIN_BUNCH + 1, TIME_OFFSET = -MIN_BUNCH };
00034
00035 };
00036
00037 #endif