CMS 3D CMS Logo

Static Public Member Functions

CSCPatternLUT Class Reference

#include <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, and listBenchmarks::pattern.

Referenced by CSCSectorReceiverLUT::calcLocalPhi().

{
  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

  return PositionList[pattern];
}
int CSCPatternLUT::getBendValue ( int  pattern) [static]

Definition at line 3 of file CSCPatternLUT.cc.

References CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07, and listBenchmarks::pattern.

{
  int BendList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0, 3, -3, 2, -2, 1, -1, 0};
  return BendList[pattern];
}
double CSCPatternLUT::getPosition ( int  pattern) [static]

Definition at line 9 of file CSCPatternLUT.cc.

References CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07, and listBenchmarks::pattern.

Referenced by CSCSectorReceiverLUT::calcLocalPhi().

{
  double PositionList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0.0, 0.0, 0.0, -0.41, 0.41, 0.42, -0.42, 0.0};
  return PositionList[pattern];
}