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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
#ifndef CSCObjects_CSCDBL1TPParameters_h
#define CSCObjects_CSCDBL1TPParameters_h
#include "CondFormats/Serialization/interface/Serializable.h"
/** \class CSCDBL1TPParameters
* \author Slava Valuev
*
* Description: Configuration parameters needed for the Level-1 CSC Trigger
* Primitives emulator. Expected to be stored in and retrieved
* from the conditions database.
*/
class CSCDBL1TPParameters {
public:
CSCDBL1TPParameters();
~CSCDBL1TPParameters();
/** returns ALCT fifo_tbins */
inline unsigned int alctFifoTbins() const { return m_alct_fifo_tbins; }
/** returns ALCT fifo_pretrig */
inline unsigned int alctFifoPretrig() const { return m_alct_fifo_pretrig; }
/** returns ALCT drift_delay */
inline unsigned int alctDriftDelay() const { return m_alct_drift_delay; }
/** returns ALCT nplanes_hit_pretrig */
inline unsigned int alctNplanesHitPretrig() const { return m_alct_nplanes_hit_pretrig; }
/** returns ALCT nplanes_hit_pattern */
inline unsigned int alctNplanesHitPattern() const { return m_alct_nplanes_hit_pattern; }
/** returns ALCT nplanes_hit_accel_pretrig */
inline unsigned int alctNplanesHitAccelPretrig() const { return m_alct_nplanes_hit_accel_pretrig; }
/** returns ALCT nplanes_hit_accel_pattern */
inline unsigned int alctNplanesHitAccelPattern() const { return m_alct_nplanes_hit_accel_pattern; }
/** returns ALCT trig_mode */
inline unsigned int alctTrigMode() const { return m_alct_trig_mode; }
/** returns ALCT accel_mode */
inline unsigned int alctAccelMode() const { return m_alct_accel_mode; }
/** returns ALCT l1a_window_width */
inline unsigned int alctL1aWindowWidth() const { return m_alct_l1a_window_width; }
/** returns CLCT fifo_tbins */
inline unsigned int clctFifoTbins() const { return m_clct_fifo_tbins; }
/** returns CLCT fifo_pretrig */
inline unsigned int clctFifoPretrig() const { return m_clct_fifo_pretrig; }
/** returns CLCT hit_persist */
inline unsigned int clctHitPersist() const { return m_clct_hit_persist; }
/** returns CLCT drift_delay */
inline unsigned int clctDriftDelay() const { return m_clct_drift_delay; }
/** returns CLCT nplanes_hit_pretrig */
inline unsigned int clctNplanesHitPretrig() const { return m_clct_nplanes_hit_pretrig; }
/** returns CLCT nplanes_hit_pattern */
inline unsigned int clctNplanesHitPattern() const { return m_clct_nplanes_hit_pattern; }
/** returns CLCT pid_thresh_pretrig */
inline unsigned int clctPidThreshPretrig() const { return m_clct_pid_thresh_pretrig; }
/** returns CLCT min_separation */
inline unsigned int clctMinSeparation() const { return m_clct_min_separation; }
/** returns TMB mpc_block_me1a */
inline unsigned int tmbMpcBlockMe1a() const { return m_mpc_block_me1a; }
/** returns TMB alct_trig_enable */
inline unsigned int tmbAlctTrigEnable() const { return m_alct_trig_enable; }
/** returns TMB clct_trig_enable */
inline unsigned int tmbClctTrigEnable() const { return m_clct_trig_enable; }
/** returns TMB match_trig_enable */
inline unsigned int tmbMatchTrigEnable() const { return m_match_trig_enable; }
/** returns TMB match_trig_window_size */
inline unsigned int tmbMatchTrigWindowSize() const { return m_match_trig_window_size; }
/** returns TMB tmb_l1a_window_size */
inline unsigned int tmbTmbL1aWindowSize() const { return m_tmb_l1a_window_size; }
/** sets ALCT fifo_tbins */
void setAlctFifoTbins(const unsigned int theValue) { m_alct_fifo_tbins = theValue; }
/** sets ALCT fifo_pretrig */
void setAlctFifoPretrig(const unsigned int theValue) { m_alct_fifo_pretrig = theValue; }
/** sets ALCT drift_delay */
void setAlctDriftDelay(const unsigned int theValue) { m_alct_drift_delay = theValue; }
/** sets ALCT nplanes_hit_pretrig */
void setAlctNplanesHitPretrig(const unsigned int theValue) { m_alct_nplanes_hit_pretrig = theValue; }
/** sets ALCT nplanes_hit_pattern */
void setAlctNplanesHitPattern(const unsigned int theValue) { m_alct_nplanes_hit_pattern = theValue; }
/** sets ALCT nplanes_hit_accel_pretrig */
void setAlctNplanesHitAccelPretrig(const unsigned int theValue) { m_alct_nplanes_hit_accel_pretrig = theValue; }
/** sets ALCT nplanes_hit_accel_pattern */
void setAlctNplanesHitAccelPattern(const unsigned int theValue) { m_alct_nplanes_hit_accel_pattern = theValue; }
/** sets ALCT trig_mode */
void setAlctTrigMode(const unsigned int theValue) { m_alct_trig_mode = theValue; }
/** sets ALCT accel_mode */
void setAlctAccelMode(const unsigned int theValue) { m_alct_accel_mode = theValue; }
/** sets ALCT l1a_window_width */
void setAlctL1aWindowWidth(const unsigned int theValue) { m_alct_l1a_window_width = theValue; }
/** sets CLCT fifo_tbins */
void setClctFifoTbins(const unsigned int theValue) { m_clct_fifo_tbins = theValue; }
/** sets CLCT fifo_pretrig */
void setClctFifoPretrig(const unsigned int theValue) { m_clct_fifo_pretrig = theValue; }
/** sets CLCT hit_persist */
void setClctHitPersist(const unsigned int theValue) { m_clct_hit_persist = theValue; }
/** sets CLCT drift_delay */
void setClctDriftDelay(const unsigned int theValue) { m_clct_drift_delay = theValue; }
/** sets CLCT nplanes_hit_pretrig */
void setClctNplanesHitPretrig(const unsigned int theValue) { m_clct_nplanes_hit_pretrig = theValue; }
/** sets CLCT nplanes_hit_pattern */
void setClctNplanesHitPattern(const unsigned int theValue) { m_clct_nplanes_hit_pattern = theValue; }
/** sets CLCT pid_thresh_pretrig */
void setClctPidThreshPretrig(const unsigned int theValue) { m_clct_pid_thresh_pretrig = theValue; }
/** sets CLCT min_separation */
void setClctMinSeparation(const unsigned int theValue) { m_clct_min_separation = theValue; }
/** sets TMB mpc_block_me1a */
void setTmbMpcBlockMe1a(const unsigned int theValue) { m_mpc_block_me1a = theValue; }
/** sets TMB alct_trig_enable */
void setTmbAlctTrigEnable(const unsigned int theValue) { m_alct_trig_enable = theValue; }
/** sets TMB clct_trig_enable */
void setTmbClctTrigEnable(const unsigned int theValue) { m_clct_trig_enable = theValue; }
/** sets TMB match_trig_enable */
void setTmbMatchTrigEnable(const unsigned int theValue) { m_match_trig_enable = theValue; }
/** sets TMB match_trig_window_size */
void setTmbMatchTrigWindowSize(const unsigned int theValue) { m_match_trig_window_size = theValue; }
/** sets TMB tmb_l1a_window_size */
void setTmbTmbL1aWindowSize(const unsigned int theValue) { m_tmb_l1a_window_size = theValue; }
private:
/** ALCT configuration parameters. */
unsigned int m_alct_fifo_tbins, m_alct_fifo_pretrig;
unsigned int m_alct_drift_delay;
unsigned int m_alct_nplanes_hit_pretrig, m_alct_nplanes_hit_accel_pretrig;
unsigned int m_alct_nplanes_hit_pattern, m_alct_nplanes_hit_accel_pattern;
unsigned int m_alct_trig_mode, m_alct_accel_mode, m_alct_l1a_window_width;
/** CLCT configuration parameters. */
unsigned int m_clct_fifo_tbins, m_clct_fifo_pretrig;
unsigned int m_clct_hit_persist, m_clct_drift_delay;
unsigned int m_clct_nplanes_hit_pretrig, m_clct_nplanes_hit_pattern;
unsigned int m_clct_pid_thresh_pretrig;
unsigned int m_clct_min_separation;
/** TMB configuration parameters. */
unsigned int m_mpc_block_me1a;
unsigned int m_alct_trig_enable, m_clct_trig_enable;
unsigned int m_match_trig_enable;
unsigned int m_match_trig_window_size, m_tmb_l1a_window_size;
COND_SERIALIZABLE;
};
#endif
|