CMS 3D CMS Logo

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

#include <CSCPatternBank.h>

Public Types

typedef std::vector
< std::vector< int > > 
LCTPattern
 
typedef std::vector< LCTPatternLCTPatterns
 

Static Public Member Functions

static double getLegacyPosition (int pattern)
 
static int getPatternBend (const LCTPattern &pattern)
 

Static Public Attributes

static const int alct_keywire_offset_ [2][CSCConstants::ALCT_PATTERN_WIDTH]
 
static const LCTPatterns alct_pattern_legacy_
 
static const LCTPatterns alct_pattern_r1_
 
static const LCTPatterns clct_pattern_legacy_
 
static const int clct_pattern_offset_ [CSCConstants::CLCT_PATTERN_WIDTH]
 
static const LCTPatterns clct_pattern_run3_
 

Detailed Description

Definition at line 11 of file CSCPatternBank.h.

Member Typedef Documentation

typedef std::vector<std::vector<int> > CSCPatternBank::LCTPattern

Definition at line 14 of file CSCPatternBank.h.

Definition at line 15 of file CSCPatternBank.h.

Member Function Documentation

double CSCPatternBank::getLegacyPosition ( int  pattern)
static

Fill the pattern lookup table. This table holds the average position and bend for each pattern. The position is used to further improve the phi resolution, and the bend is passed on to the track finding code to allow it to better determine the tracks. These were determined from Monte Carlo by running 100,000 events through the code and finding the offset for each pattern type. Note that the positions are unitless– they are in "pattern widths" meaning that they are in 1/2 strips for high pt patterns and distrips for low pt patterns. BHT 26 June 2001

Definition at line 31 of file CSCPatternBank.cc.

References CSCConstants::NUM_CLCT_PATTERNS.

Referenced by CSCSectorReceiverLUT::calcLocalPhi(), L1TMuon::GeometryTranslator::getCSCSpecificPoint(), and AngleConverter::getGlobalEta().

31  {
32  double PositionList[CSCConstants::NUM_CLCT_PATTERNS] = {
33  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
34 
35  return PositionList[pattern];
36 }
static int CSCPatternBank::getPatternBend ( const LCTPattern pattern)
inlinestatic

Member Data Documentation

const int CSCPatternBank::alct_keywire_offset_
static
Initial value:
= {
{-2, -1, 0, 1, 2},
{2, 1, 0, -1, -2}}

Pre-defined ALCT patterns.

Definition at line 21 of file CSCPatternBank.h.

Referenced by CSCAnodeLCTProcessor::patternDetection(), CSCAnodeLCTProcessor::preTrigger(), and CSCAnodeLCTProcessor::showPatterns().

const CSCPatternBank::LCTPatterns CSCPatternBank::alct_pattern_legacy_
static
Initial value:
= {
{{0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}},
{{1, 1, 1, 0, 0}, {0, 1, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 1, 0}, {0, 0, 1, 1, 1}, {0, 0, 1, 1, 1}},
{{1, 1, 1, 0, 0}, {0, 1, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 1, 0}, {0, 0, 1, 1, 1}, {0, 0, 1, 1, 1}}}

Definition at line 25 of file CSCPatternBank.h.

Referenced by CSCAnodeLCTProcessor::loadPatternMask().

const CSCPatternBank::LCTPatterns CSCPatternBank::alct_pattern_r1_
static
Initial value:
= {
{{0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}},
{{0, 1, 1, 0, 0}, {0, 1, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 1, 0}, {0, 0, 1, 1, 0}},
{{0, 1, 1, 0, 0}, {0, 1, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 1, 1, 0}, {0, 0, 1, 1, 0}}}

Definition at line 28 of file CSCPatternBank.h.

Referenced by CSCAnodeLCTProcessor::loadPatternMask().

const CSCPatternBank::LCTPatterns CSCPatternBank::clct_pattern_legacy_
static

Pre-defined CLCT patterns.

Definition at line 38 of file CSCPatternBank.h.

Referenced by CSCCathodeLCTProcessor::CSCCathodeLCTProcessor().

const int CSCPatternBank::clct_pattern_offset_
static
Initial value:
= {
-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5}

Definition at line 57 of file CSCPatternBank.h.

Referenced by CSCCathodeLCTProcessor::patternFinding().

const CSCPatternBank::LCTPatterns CSCPatternBank::clct_pattern_run3_
static