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 "
L1Trigger/CSCCommonTrigger/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
std::vector<std::vector<std::vector<int> > >
CLCTPatterns
;
14
15
typedef
int
ALCTPatterns
[
CSCConstants::NUM_ALCT_PATTERNS
][
CSCConstants::MAX_WIRES_IN_PATTERN
];
16
19
// This is the pattern envelope, which is used to define the collision
20
// patterns A and B.
21
static
const
int
alct_pattern_envelope
[
CSCConstants::MAX_WIRES_IN_PATTERN
];
22
23
// key wire offsets for ME1 and ME2 are the same
24
// offsets for ME3 and ME4 are the same
25
static
const
int
alct_keywire_offset
[2][
CSCConstants::MAX_WIRES_IN_PATTERN
];
26
27
// Since the test beams in 2003, both collision patterns are "completely
28
// open". This is our current default.
29
static
const
ALCTPatterns
alct_pattern_mask_open
;
30
31
// Special option for narrow pattern for ring 1 stations
32
static
const
ALCTPatterns
alct_pattern_mask_r1
;
33
36
// New set of halfstrip patterns for 2007 version of the algorithm.
37
// For the given pattern, set the unused parts of the pattern to 0.
38
// The bend direction is given by the next-to-last number in the the 6th layer
39
// Bend of 0 is right/straight and bend of 1 is left.
40
// The pattern maximum width is the last number in the the 6th layer
41
// Use during Run-1 and Run-2
42
static
const
CLCTPatterns
clct_pattern_legacy_
;
43
44
// New patterns for Run-3
45
static
const
CLCTPatterns
clct_pattern_run3_
;
46
47
// half strip offsets per layer for each half strip in the pattern envelope
48
static
const
int
clct_pattern_offset_
[
CSCConstants::CLCT_PATTERN_WIDTH
];
49
};
50
51
#endif
CSCPatternBank::CLCTPatterns
std::vector< std::vector< std::vector< int > > > CLCTPatterns
Definition:
CSCPatternBank.h:13
CSCPatternBank::alct_pattern_envelope
static const int alct_pattern_envelope[CSCConstants::MAX_WIRES_IN_PATTERN]
Definition:
CSCPatternBank.h:21
CSCPatternBank::alct_pattern_mask_open
static const ALCTPatterns alct_pattern_mask_open
Definition:
CSCPatternBank.h:29
CSCPatternBank::alct_keywire_offset
static const int alct_keywire_offset[2][CSCConstants::MAX_WIRES_IN_PATTERN]
Definition:
CSCPatternBank.h:25
CSCPatternBank::clct_pattern_legacy_
static const CLCTPatterns clct_pattern_legacy_
Definition:
CSCPatternBank.h:42
CSCConstants::NUM_ALCT_PATTERNS
Definition:
CSCConstants.h:50
CSCPatternBank
Definition:
CSCPatternBank.h:11
CSCPatternBank::alct_pattern_mask_r1
static const ALCTPatterns alct_pattern_mask_r1
Definition:
CSCPatternBank.h:32
CSCPatternBank::ALCTPatterns
int ALCTPatterns[CSCConstants::NUM_ALCT_PATTERNS][CSCConstants::MAX_WIRES_IN_PATTERN]
Definition:
CSCPatternBank.h:15
CSCConstants::MAX_WIRES_IN_PATTERN
Definition:
CSCConstants.h:54
CSCPatternBank::clct_pattern_run3_
static const CLCTPatterns clct_pattern_run3_
Definition:
CSCPatternBank.h:45
CSCConstants.h
CSCConstants::CLCT_PATTERN_WIDTH
Definition:
CSCConstants.h:52
CSCPatternBank::clct_pattern_offset_
static const int clct_pattern_offset_[CSCConstants::CLCT_PATTERN_WIDTH]
Definition:
CSCPatternBank.h:48
Generated for CMSSW Reference Manual by
1.8.16