1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
#ifndef CondFormats_CSCObjects_CSCL1TPLookupTableME21ILT_h
#define CondFormats_CSCObjects_CSCL1TPLookupTableME21ILT_h
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>
class CSCL1TPLookupTableME21ILT {
public:
CSCL1TPLookupTableME21ILT();
~CSCL1TPLookupTableME21ILT() {}
typedef std::vector<unsigned> t_lut;
// setters
void set_GEM_pad_CSC_es_ME21_even(t_lut lut);
void set_GEM_pad_CSC_es_ME21_odd(t_lut lut);
void set_GEM_roll_L1_CSC_min_wg_ME21_even(t_lut lut);
void set_GEM_roll_L1_CSC_max_wg_ME21_even(t_lut lut);
void set_GEM_roll_L1_CSC_min_wg_ME21_odd(t_lut lut);
void set_GEM_roll_L1_CSC_max_wg_ME21_odd(t_lut lut);
void set_GEM_roll_L2_CSC_min_wg_ME21_even(t_lut lut);
void set_GEM_roll_L2_CSC_max_wg_ME21_even(t_lut lut);
void set_GEM_roll_L2_CSC_min_wg_ME21_odd(t_lut lut);
void set_GEM_roll_L2_CSC_max_wg_ME21_odd(t_lut lut);
void set_es_diff_slope_L1_ME21_even(t_lut lut);
void set_es_diff_slope_L1_ME21_odd(t_lut lut);
void set_es_diff_slope_L2_ME21_even(t_lut lut);
void set_es_diff_slope_L2_ME21_odd(t_lut lut);
void set_CSC_slope_cosi_2to1_L1_ME21_even(t_lut lut);
void set_CSC_slope_cosi_2to1_L1_ME21_odd(t_lut lut);
void set_CSC_slope_cosi_3to1_L1_ME21_even(t_lut lut);
void set_CSC_slope_cosi_3to1_L1_ME21_odd(t_lut lut);
void set_CSC_slope_cosi_corr_L1_ME21_even(t_lut lut);
void set_CSC_slope_cosi_corr_L1_ME21_odd(t_lut lut);
void set_CSC_slope_corr_L1_ME21_even(t_lut lut);
void set_CSC_slope_corr_L1_ME21_odd(t_lut lut);
void set_CSC_slope_corr_L2_ME21_even(t_lut lut);
void set_CSC_slope_corr_L2_ME21_odd(t_lut lut);
// getters
unsigned GEM_pad_CSC_es_ME21_even(unsigned pad) const;
unsigned GEM_pad_CSC_es_ME21_odd(unsigned pad) const;
unsigned GEM_roll_L1_CSC_min_wg_ME21_even(unsigned roll) const;
unsigned GEM_roll_L1_CSC_max_wg_ME21_even(unsigned roll) const;
unsigned GEM_roll_L1_CSC_min_wg_ME21_odd(unsigned roll) const;
unsigned GEM_roll_L1_CSC_max_wg_ME21_odd(unsigned roll) const;
unsigned GEM_roll_L2_CSC_min_wg_ME21_even(unsigned roll) const;
unsigned GEM_roll_L2_CSC_max_wg_ME21_even(unsigned roll) const;
unsigned GEM_roll_L2_CSC_min_wg_ME21_odd(unsigned roll) const;
unsigned GEM_roll_L2_CSC_max_wg_ME21_odd(unsigned roll) const;
unsigned CSC_slope_cosi_2to1_L1_ME21_even(unsigned slope) const;
unsigned CSC_slope_cosi_2to1_L1_ME21_odd(unsigned slope) const;
unsigned CSC_slope_cosi_3to1_L1_ME21_even(unsigned slope) const;
unsigned CSC_slope_cosi_3to1_L1_ME21_odd(unsigned slope) const;
unsigned CSC_slope_cosi_corr_L1_ME21_even(unsigned slope) const;
unsigned CSC_slope_cosi_corr_L1_ME21_odd(unsigned slope) const;
unsigned CSC_slope_corr_L1_ME21_even(unsigned slope) const;
unsigned CSC_slope_corr_L1_ME21_odd(unsigned slope) const;
unsigned CSC_slope_corr_L2_ME21_even(unsigned slope) const;
unsigned CSC_slope_corr_L2_ME21_odd(unsigned slope) const;
// GEM-CSC trigger: 1/8-strip difference to slope
unsigned es_diff_slope_L1_ME21_even(unsigned es_diff) const;
unsigned es_diff_slope_L1_ME21_odd(unsigned es_diff) const;
unsigned es_diff_slope_L2_ME21_even(unsigned es_diff) const;
unsigned es_diff_slope_L2_ME21_odd(unsigned es_diff) const;
private:
std::vector<unsigned> GEM_pad_CSC_es_ME21_even_;
std::vector<unsigned> GEM_pad_CSC_es_ME21_odd_;
std::vector<unsigned> GEM_roll_L1_CSC_min_wg_ME21_even_;
std::vector<unsigned> GEM_roll_L1_CSC_max_wg_ME21_even_;
std::vector<unsigned> GEM_roll_L1_CSC_min_wg_ME21_odd_;
std::vector<unsigned> GEM_roll_L1_CSC_max_wg_ME21_odd_;
std::vector<unsigned> GEM_roll_L2_CSC_min_wg_ME21_even_;
std::vector<unsigned> GEM_roll_L2_CSC_max_wg_ME21_even_;
std::vector<unsigned> GEM_roll_L2_CSC_min_wg_ME21_odd_;
std::vector<unsigned> GEM_roll_L2_CSC_max_wg_ME21_odd_;
std::vector<unsigned> CSC_slope_cosi_2to1_L1_ME21_even_;
std::vector<unsigned> CSC_slope_cosi_2to1_L1_ME21_odd_;
std::vector<unsigned> CSC_slope_cosi_3to1_L1_ME21_even_;
std::vector<unsigned> CSC_slope_cosi_3to1_L1_ME21_odd_;
std::vector<unsigned> CSC_slope_cosi_corr_L1_ME21_even_;
std::vector<unsigned> CSC_slope_cosi_corr_L1_ME21_odd_;
std::vector<unsigned> CSC_slope_corr_L1_ME21_even_;
std::vector<unsigned> CSC_slope_corr_L1_ME21_odd_;
std::vector<unsigned> CSC_slope_corr_L2_ME21_even_;
std::vector<unsigned> CSC_slope_corr_L2_ME21_odd_;
std::vector<unsigned> es_diff_slope_L1_ME21_even_;
std::vector<unsigned> es_diff_slope_L1_ME21_odd_;
std::vector<unsigned> es_diff_slope_L2_ME21_even_;
std::vector<unsigned> es_diff_slope_L2_ME21_odd_;
COND_SERIALIZABLE;
};
#endif
|