CMS 3D CMS Logo

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

◆ LCTPattern

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

Definition at line 14 of file CSCPatternBank.h.

◆ LCTPatterns

Definition at line 15 of file CSCPatternBank.h.

Member Function Documentation

◆ getLegacyPosition()

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, and topSingleLeptonDQM_PU_cfi::pattern.

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 }

◆ getPatternBend()

static int CSCPatternBank::getPatternBend ( const LCTPattern pattern)
inlinestatic

Member Data Documentation

◆ alct_keywire_offset_

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().

◆ alct_pattern_legacy_

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().

◆ alct_pattern_r1_

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().

◆ clct_pattern_legacy_

const CSCPatternBank::LCTPatterns CSCPatternBank::clct_pattern_legacy_
static

Pre-defined CLCT patterns.

Definition at line 38 of file CSCPatternBank.h.

Referenced by CSCCathodeLCTProcessor::CSCCathodeLCTProcessor().

◆ clct_pattern_offset_

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().

◆ clct_pattern_run3_

const CSCPatternBank::LCTPatterns CSCPatternBank::clct_pattern_run3_
static