CSCBitWidths

addresses

clct_bits

corrlct_bits

data_sizes

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#ifndef L1CSCTrackFinder_CSCBitWidths_h
#define L1CSCTrackFinder_CSCBitWidths_h

/**
 * \class CSCBitWidths
 * \remark Collection of stuff from ORCA
 *
 * Static interface to hold bit widths of various CSC data.
 */

class CSCBitWidths {
public:
  enum clct_bits { CLCT_PATTERN_BITS = 4 };

  enum corrlct_bits { kPatternBitWidth = CLCT_PATTERN_BITS, kQualityBitWidth = 4, kBendBitWidth = 1 };

  enum addresses {
    kLocalPhiAddressWidth = 19,
    kGlobalEtaAddressWidth = kLocalPhiAddressWidth,
    kGlobalPhiAddressWidth = kGlobalEtaAddressWidth,
    kPtAddressWidth = 21
  };

  enum data_sizes {
    kLocalPhiDataBitWidth = 10,
    kLocalPhiBendDataBitWidth = 6,
    kGlobalEtaBitWidth = 7,
    kGlobalPhiDataBitWidth = 12
  };
};

#endif