CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
CSCPatternLUT Class Reference

#include <CSCPatternLUT.h>

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(), and l1t::GeometryTranslator::getCSCSpecificPoint().

16 {
17  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
18 
19  return PositionList[pattern];
20 }
int CSCPatternLUT::getBendValue ( int  pattern)
static

Definition at line 3 of file CSCPatternLUT.cc.

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

4 {
5  int BendList[CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07] = {0, 3, -3, 2, -2, 1, -1, 0};
6  return BendList[pattern];
7 }
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().

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