DataFormats
L1CSCTrackFinder
interface
CSCTFConstants.h
Go to the documentation of this file.
1
#ifndef L1CSCTrackFinder_CSCTFConstants_h
2
#define L1CSCTrackFinder_CSCTFConstants_h
3
10
#include <
DataFormats/L1CSCTrackFinder/interface/CSCBitWidths.h
>
11
#include <cmath>
12
13
class
CSCTFConstants
{
14
public
:
15
enum
WG_and_Strip
{
16
MAX_NUM_WIRES
= 119,
17
MAX_NUM_STRIPS
= 80,
18
MAX_NUM_STRIPS_7CFEBS
= 112,
19
NUM_DI_STRIPS
= 40 + 1,
// Add 1 to allow for staggering of strips
20
NUM_HALF_STRIPS
= 160 + 1,
21
NUM_HALF_STRIPS_7CFEBS
= 224 + 1
22
};
23
24
enum
Layer_Info
{
NUM_LAYERS
= 6,
KEY_LAYER
= 4 };
// shouldn't key layer be 3?
25
26
enum
Pattern_Info
{
27
NUM_ALCT_PATTERNS
= 3,
28
NUM_CLCT_PATTERNS
= 8,
29
MAX_CLCT_PATTERNS
= 1 <<
CSCBitWidths::CLCT_PATTERN_BITS
30
};
31
32
enum
Digis_Info
{
MAX_DIGIS_PER_ALCT
= 10,
MAX_DIGIS_PER_CLCT
= 8 };
33
34
enum
eta_info
{
etaBins
= 1 <<
CSCBitWidths::kGlobalEtaBitWidth
};
35
36
enum
MPC_stubs
{
maxStubs
= 3 };
37
38
// Eta
39
const
static
double
minEta
;
40
const
static
double
maxEta
;
41
42
const
static
double
RAD_PER_DEGREE
;
// where to get PI from?
43
45
const
static
double
SECTOR1_CENT_DEG
;
46
const
static
double
SECTOR1_CENT_RAD
;
47
54
const
static
double
SECTOR_DEG
;
55
const
static
double
SECTOR_RAD
;
// radians
56
// needs BX info and some special station 1 info
57
};
58
59
#endif
CSCBitWidths.h
CSCTFConstants::NUM_DI_STRIPS
Definition:
CSCTFConstants.h:19
CSCTFConstants::NUM_HALF_STRIPS_7CFEBS
Definition:
CSCTFConstants.h:21
CSCBitWidths::kGlobalEtaBitWidth
Definition:
CSCBitWidths.h:27
CSCTFConstants::WG_and_Strip
WG_and_Strip
Definition:
CSCTFConstants.h:15
CSCTFConstants::NUM_HALF_STRIPS
Definition:
CSCTFConstants.h:20
CSCTFConstants::MAX_DIGIS_PER_ALCT
Definition:
CSCTFConstants.h:32
CSCTFConstants::MAX_NUM_WIRES
Definition:
CSCTFConstants.h:16
CSCTFConstants::Digis_Info
Digis_Info
Definition:
CSCTFConstants.h:32
CSCTFConstants::RAD_PER_DEGREE
const static double RAD_PER_DEGREE
Definition:
CSCTFConstants.h:42
CSCTFConstants::MAX_NUM_STRIPS
Definition:
CSCTFConstants.h:17
CSCTFConstants::SECTOR_DEG
const static double SECTOR_DEG
Definition:
CSCTFConstants.h:54
CSCTFConstants::MAX_DIGIS_PER_CLCT
Definition:
CSCTFConstants.h:32
CSCTFConstants::Pattern_Info
Pattern_Info
Definition:
CSCTFConstants.h:26
CSCTFConstants::SECTOR1_CENT_RAD
const static double SECTOR1_CENT_RAD
Definition:
CSCTFConstants.h:46
CSCBitWidths::CLCT_PATTERN_BITS
Definition:
CSCBitWidths.h:13
CSCTFConstants::NUM_ALCT_PATTERNS
Definition:
CSCTFConstants.h:27
CSCTFConstants::minEta
const static double minEta
Definition:
CSCTFConstants.h:39
CSCTFConstants::MAX_NUM_STRIPS_7CFEBS
Definition:
CSCTFConstants.h:18
CSCTFConstants::MAX_CLCT_PATTERNS
Definition:
CSCTFConstants.h:29
CSCTFConstants::etaBins
Definition:
CSCTFConstants.h:34
CSCTFConstants
Definition:
CSCTFConstants.h:13
CSCTFConstants::maxStubs
Definition:
CSCTFConstants.h:36
CSCTFConstants::NUM_CLCT_PATTERNS
Definition:
CSCTFConstants.h:28
CSCTFConstants::maxEta
const static double maxEta
Definition:
CSCTFConstants.h:40
CSCTFConstants::Layer_Info
Layer_Info
Definition:
CSCTFConstants.h:24
CSCTFConstants::MPC_stubs
MPC_stubs
Definition:
CSCTFConstants.h:36
CSCTFConstants::SECTOR_RAD
const static double SECTOR_RAD
Definition:
CSCTFConstants.h:55
CSCTFConstants::KEY_LAYER
Definition:
CSCTFConstants.h:24
CSCTFConstants::SECTOR1_CENT_DEG
const static double SECTOR1_CENT_DEG
The center of the first "perfect" sector in phi.
Definition:
CSCTFConstants.h:45
CSCTFConstants::NUM_LAYERS
Definition:
CSCTFConstants.h:24
CSCTFConstants::eta_info
eta_info
Definition:
CSCTFConstants.h:34
Generated for CMSSW Reference Manual by
1.8.16