CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DataFormats/L1CSCTrackFinder/interface/CSCTFConstants.h

Go to the documentation of this file.
00001 #ifndef L1CSCTrackFinder_CSCTFConstants_h
00002 #define L1CSCTrackFinder_CSCTFConstants_h
00003 
00010 #include <DataFormats/L1CSCTrackFinder/interface/CSCBitWidths.h>
00011 #include <cmath>
00012 
00013 class CSCTFConstants
00014 {
00015  public:
00016   enum WG_and_Strip { MAX_NUM_WIRES = 119, MAX_NUM_STRIPS = 80,
00017                              NUM_DI_STRIPS = 40+1, // Add 1 to allow for staggering of strips
00018                              NUM_HALF_STRIPS = 160+1};
00019 
00020   enum Layer_Info { NUM_LAYERS = 6, KEY_LAYER = 4 }; // shouldn't key layer be 3?
00021 
00022   enum Pattern_Info { NUM_ALCT_PATTERNS = 3, NUM_CLCT_PATTERNS = 8,
00023                              MAX_CLCT_PATTERNS = 1<<CSCBitWidths::CLCT_PATTERN_BITS };
00024 
00025   enum Digis_Info { MAX_DIGIS_PER_ALCT = 10, MAX_DIGIS_PER_CLCT = 8 };
00026 
00027   enum eta_info { etaBins = 1<<CSCBitWidths::kGlobalEtaBitWidth };
00028 
00029   enum MPC_stubs { maxStubs = 3 };
00030 
00031   // Eta
00032   const static double minEta;
00033   const static double maxEta;
00034 
00035   const static double RAD_PER_DEGREE; // where to get PI from?
00036 
00038   const static double SECTOR1_CENT_DEG;
00039   const static double SECTOR1_CENT_RAD;
00040 
00047   const static double SECTOR_DEG;
00048   const static double SECTOR_RAD; // radians
00049   // needs BX info and some special station 1 info
00050 };
00051 
00052 #endif