L1Trigger
CSCTriggerPrimitives
interface
CSCPatternBank.h
Go to the documentation of this file.
1
#ifndef L1Trigger_CSCTriggerPrimitives_CSCPatternBank_h
2
#define L1Trigger_CSCTriggerPrimitives_CSCPatternBank_h
3
4
#include "
DataFormats/L1TMuon/interface/CSCConstants.h
"
5
#include <vector>
6
7
//
8
// Class with only static members that contains the ALCT and CLCT trigger patterns
9
//
10
11
class
CSCPatternBank
{
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
21
static
const
int
alct_keywire_offset_
[2][
CSCConstants::ALCT_PATTERN_WIDTH
];
22
23
// Since the test beams in 2003, both collision patterns are "completely
24
// open". This is our current default.
25
static
const
LCTPatterns
alct_pattern_legacy_
;
26
27
// Special option for narrow pattern for ring 1 stations
28
static
const
LCTPatterns
alct_pattern_r1_
;
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
38
static
const
LCTPatterns
clct_pattern_legacy_
;
39
51
static
double
getLegacyPosition
(
int
pattern
);
52
53
// New patterns for Run-3
54
static
const
LCTPatterns
clct_pattern_run3_
;
55
56
// half strip offsets per layer for each half strip in the pattern envelope
57
static
const
int
clct_pattern_offset_
[
CSCConstants::CLCT_PATTERN_WIDTH
];
58
};
59
60
#endif
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
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:53
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:51
Generated for CMSSW Reference Manual by
1.8.16