CMS 3D CMS Logo

CSCPatternLUT Class Reference

Author:
L.
More...

#include <L1Trigger/CSCCommonTrigger/interface/CSCPatternLUT.h>

List of all members.

Static Public Member Functions

static double get2007Position (int pattern)
static int getBendValue (int pattern)
static double getPosition (int pattern)


Detailed Description

Author:
L.

Gray (UF)

This class is a static interface to the CLCT Pattern LUT. This was factored out of the Sector Receiver since it is used in parts of the trigger primitive generator (I think).

Definition at line 14 of file CSCPatternLUT.h.


Member Function Documentation

double CSCPatternLUT::get2007Position ( int  pattern  )  [static]

Definition at line 15 of file CSCPatternLUT.cc.

References CSCConstants::NUM_CLCT_PATTERNS.

Referenced by CSCSectorReceiverLUT::calcLocalPhi().

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 }

int CSCPatternLUT::getBendValue ( int  pattern  )  [static]

Definition at line 3 of file CSCPatternLUT.cc.

References CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07.

00004 {
00005   int BendList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0, 3, -3, 2, -2, 1, -1, 0};
00006   return BendList[pattern];
00007 }

double CSCPatternLUT::getPosition ( int  pattern  )  [static]

Definition at line 9 of file CSCPatternLUT.cc.

References CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07.

Referenced by CSCSectorReceiverLUT::calcLocalPhi().

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:24 2009 for CMSSW by  doxygen 1.5.4