CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/L1Trigger/CSCCommonTrigger/src/CSCPatternLUT.cc

Go to the documentation of this file.
00001 #include <L1Trigger/CSCCommonTrigger/interface/CSCPatternLUT.h>
00002 
00003 int CSCPatternLUT::getBendValue(int pattern)
00004 {
00005   int BendList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0, 3, -3, 2, -2, 1, -1, 0};
00006   return BendList[pattern];
00007 }
00008 
00009 double CSCPatternLUT::getPosition(int pattern)
00010 {
00011   double PositionList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0.0, 0.0, 0.0, -0.41, 0.41, 0.42, -0.42, 0.0};
00012   return PositionList[pattern];
00013 }
00014 
00015 double CSCPatternLUT::get2007Position(int pattern)
00016 {
00017   double PositionList[CSCConstants::NUM_CLCT_PATTERNS] = {0.0, 0.0, -0.60,  0.60, -0.64,  0.64, -0.23,  0.23, -0.21,  0.21, 0.0}; // offset in the strip number for each pattern
00018 
00019   return PositionList[pattern];
00020 }