CMS 3D CMS Logo

CSCPatternBank.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCPatternBank_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCPatternBank_h
3 
5 #include <vector>
6 
7 //
8 // Class with only static members that contains the ALCT and CLCT trigger patterns
9 //
10 
12 public:
13  // typedef used for both ALCT and CLCT
14  typedef std::vector<std::vector<int> > LCTPattern;
15  typedef std::vector<LCTPattern> LCTPatterns;
16 
19  // key wire offsets for ME1 and ME2 are the same
20  // offsets for ME3 and ME4 are the same
22 
23  // Since the test beams in 2003, both collision patterns are "completely
24  // open". This is our current default.
26 
27  // Special option for narrow pattern for ring 1 stations
29 
32  // New set of halfstrip patterns for 2007 version of the algorithm.
33  // For the given pattern, set the unused parts of the pattern to 0.
34  // The bend direction is given by the next-to-last number in the the 6th layer
35  // Bend of 0 is right/straight and bend of 1 is left.
36  // The pattern maximum width is the last number in the the 6th layer
37  // Use during Run-1 and Run-2
39 
51  static double getLegacyPosition(int pattern);
52 
53  // New patterns for Run-3
55 
56  // half strip offsets per layer for each half strip in the pattern envelope
58 
59  // static function to return the sign of the bending in a CLCT pattern
60  static int getPatternBend(const LCTPattern& pattern) {
62  }
63 };
64 
65 #endif
CSCPatternBank::getPatternBend
static int getPatternBend(const LCTPattern &pattern)
Definition: CSCPatternBank.h:60
CSCPatternBank::alct_pattern_legacy_
static const LCTPatterns alct_pattern_legacy_
Definition: CSCPatternBank.h:25
CSCPatternBank
Definition: CSCPatternBank.h:11
CSCPatternBank::LCTPattern
std::vector< std::vector< int > > LCTPattern
Definition: CSCPatternBank.h:14
CSCPatternBank::alct_pattern_r1_
static const LCTPatterns alct_pattern_r1_
Definition: CSCPatternBank.h:28
CSCConstants::NUM_LAYERS
Definition: CSCConstants.h:103
CSCPatternBank::getLegacyPosition
static double getLegacyPosition(int pattern)
Definition: CSCPatternBank.cc:31
CSCConstants.h
CSCPatternBank::alct_keywire_offset_
static const int alct_keywire_offset_[2][CSCConstants::ALCT_PATTERN_WIDTH]
Definition: CSCPatternBank.h:21
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
CSCPatternBank::LCTPatterns
std::vector< LCTPattern > LCTPatterns
Definition: CSCPatternBank.h:15
CSCPatternBank::clct_pattern_run3_
static const LCTPatterns clct_pattern_run3_
Definition: CSCPatternBank.h:54
CSCPatternBank::clct_pattern_legacy_
static const LCTPatterns clct_pattern_legacy_
Definition: CSCPatternBank.h:38
CSCConstants::CLCT_PATTERN_WIDTH
Definition: CSCConstants.h:116
CSCPatternBank::clct_pattern_offset_
static const int clct_pattern_offset_[CSCConstants::CLCT_PATTERN_WIDTH]
Definition: CSCPatternBank.h:57
CSCConstants::ALCT_PATTERN_WIDTH
Definition: CSCConstants.h:108