Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:25

0001 #ifndef L1CSCTrackFinder_CSCBitWidths_h
0002 #define L1CSCTrackFinder_CSCBitWidths_h
0003 
0004 /**
0005  * \class CSCBitWidths
0006  * \remark Collection of stuff from ORCA
0007  *
0008  * Static interface to hold bit widths of various CSC data.
0009  */
0010 
0011 class CSCBitWidths {
0012 public:
0013   enum clct_bits { CLCT_PATTERN_BITS = 4 };
0014 
0015   enum corrlct_bits { kPatternBitWidth = CLCT_PATTERN_BITS, kQualityBitWidth = 4, kBendBitWidth = 1 };
0016 
0017   enum addresses {
0018     kLocalPhiAddressWidth = 19,
0019     kGlobalEtaAddressWidth = kLocalPhiAddressWidth,
0020     kGlobalPhiAddressWidth = kGlobalEtaAddressWidth,
0021     kPtAddressWidth = 21
0022   };
0023 
0024   enum data_sizes {
0025     kLocalPhiDataBitWidth = 10,
0026     kLocalPhiBendDataBitWidth = 6,
0027     kGlobalEtaBitWidth = 7,
0028     kGlobalPhiDataBitWidth = 12
0029   };
0030 };
0031 
0032 #endif