File indexing completed on 2024-04-06 12:04:25
0001 #ifndef L1CSCTrackFinder_CSCTFConstants_h
0002 #define L1CSCTrackFinder_CSCTFConstants_h
0003
0004
0005
0006
0007
0008
0009
0010 #include <DataFormats/L1CSCTrackFinder/interface/CSCBitWidths.h>
0011 #include <cmath>
0012
0013 class CSCTFConstants {
0014 public:
0015 enum WG_and_Strip {
0016 MAX_NUM_WIRES = 119,
0017 MAX_NUM_STRIPS = 80,
0018 MAX_NUM_STRIPS_7CFEBS = 112,
0019 NUM_DI_STRIPS = 40 + 1,
0020 NUM_HALF_STRIPS = 160 + 1,
0021 NUM_HALF_STRIPS_7CFEBS = 224 + 1
0022 };
0023
0024 enum Layer_Info { NUM_LAYERS = 6, KEY_LAYER = 4 };
0025
0026 enum Pattern_Info {
0027 NUM_ALCT_PATTERNS = 3,
0028 NUM_CLCT_PATTERNS = 8,
0029 MAX_CLCT_PATTERNS = 1 << CSCBitWidths::CLCT_PATTERN_BITS
0030 };
0031
0032 enum Digis_Info { MAX_DIGIS_PER_ALCT = 10, MAX_DIGIS_PER_CLCT = 8 };
0033
0034 static constexpr int etaBins = 1 << CSCBitWidths::kGlobalEtaBitWidth;
0035
0036 enum MPC_stubs { maxStubs = 3 };
0037
0038
0039 const static double minEta;
0040 const static double maxEta;
0041
0042 const static double RAD_PER_DEGREE;
0043
0044
0045 const static double SECTOR1_CENT_DEG;
0046 const static double SECTOR1_CENT_RAD;
0047
0048
0049
0050
0051
0052
0053
0054 const static double SECTOR_DEG;
0055 const static double SECTOR_RAD;
0056
0057 };
0058
0059 #endif