CMS 3D CMS Logo

EMTFHit.h
Go to the documentation of this file.
1 // Class for input trigger primitives to EMTF - AWB 04.01.16
2 // Based on L1Trigger/L1TMuon/interface/MuonTriggerPrimitive.h
3 // In particular, see struct CSCData
4 
5 #ifndef DataFormats_L1TMuon_EMTFHit_h
6 #define DataFormats_L1TMuon_EMTFHit_h
7 
8 #include <cstdint>
9 #include <vector>
10 
20 
21 namespace l1t {
22 
23  namespace l1tmu = L1TMuon;
24 
25  class EMTFHit {
26  public:
28  : rawDetId(0),
29  subsystem(-99),
30  endcap(-99),
31  station(-99),
32  ring(-99),
33  sector(-99),
34  sector_RPC(-99),
35  sector_idx(-99),
36  subsector(-99),
37  subsector_RPC(-99),
38  chamber(-99),
39  csc_ID(-99),
40  csc_nID(-99),
41  roll(-99),
42  neighbor(-99),
43  mpc_link(-99),
44  pc_sector(-99),
45  pc_station(-99),
46  pc_chamber(-99),
47  pc_segment(-99),
48  wire(-99),
49  strip(-99),
50  strip_hi(-99),
51  strip_low(-99),
52  strip_quart(-99), // Run 3
53  strip_eighth(-99), // Run 3
54  strip_quart_bit(-99), // Run 3
55  strip_eighth_bit(-99), // Run 3
56  track_num(-99),
57  quality(-99),
58  pattern(-99),
59  pattern_run3(-99), // Run 3
60  bend(-99),
61  slope(-99), // Run 3
62  valid(-99),
63  sync_err(-99),
64  layer(-99), // TODO: verify inclusion for GEM, or better to generalize this class... - JS 06.07.20
65  bc0(-99),
66  bx(-99),
67  stub_num(-99),
68  phi_fp(-99),
69  theta_fp(-99),
70  zone_hit(-99),
71  zone_code(-99),
72  fs_segment(-99),
73  fs_zone_code(-99),
74  bt_station(-99),
75  bt_segment(-99),
76  phi_loc(-99),
77  phi_glob(-999),
78  theta(-99),
79  eta(-99),
80  time(-99),
81  phi_sim(-999),
82  theta_sim(-99),
83  eta_sim(-99),
84  rho_sim(-99),
85  z_sim(-99),
86  alct_quality(-99),
87  clct_quality(-99){};
88 
89  virtual ~EMTFHit(){};
90 
91  CSCDetId CreateCSCDetId() const;
92  RPCDetId CreateRPCDetId() const;
93  GEMDetId CreateGEMDetId() const;
94  ME0DetId CreateME0DetId() const;
95 
96  // void ImportCSCCorrelatedLCTDigi (const CSCCorrelatedLCTDigi& _digi);
98  // void ImportRPCDigi (const RPCDigi& _digi);
99  // RPCDigi CreateRPCDigi() const;
100  // void ImportCPPFDigi (const CPPFDigi& _digi);
101  CPPFDigi CreateCPPFDigi() const;
102  // void ImportGEMPadDigiCluster (const GEMPadDigiCluster& _digi); // TODO: implement placeholder when others are implemented
104 
105  // void PrintSimulatorHeader() const;
106  // void PrintForSimulator() const;
107 
108  //void SetCSCDetId (const CSCDetId& id) { csc_DetId = id; }
109  //void SetRPCDetId (const RPCDetId& id) { rpc_DetId = id; }
110  //void SetGEMDetId (const GEMDetId& id) { gem_DetId = id; }
111  //void SetCSCLCTDigi (const CSCCorrelatedLCTDigi& digi) { csc_LCTDigi = digi; }
112  //void SetRPCDigi (const RPCDigi& digi) { rpc_Digi = digi; }
113  //void SetCPPFDigi (const CPPFDigi& digi) { cppf_Digi = digi; }
114  //void SetGEMPadDigiCluster (const GEMPadDigiCluster& digi) { gem_PadClusterDigi = digi; }
115  void SetCSCDetId(const CSCDetId& id) { rawDetId = id.rawId(); }
116  void SetRPCDetId(const RPCDetId& id) { rawDetId = id.rawId(); }
117  void SetGEMDetId(const GEMDetId& id) { rawDetId = id.rawId(); }
118  void SetME0DetId(const ME0DetId& id) { rawDetId = id.rawId(); }
119  void SetDTDetId(const DTChamberId& id) { rawDetId = id.rawId(); }
120 
121  //CSCDetId CSC_DetId () const { return csc_DetId; }
122  //RPCDetId RPC_DetId () const { return rpc_DetId; }
123  //GEMDetId GEM_DetId () const { return gem_DetId; }
124  //CSCCorrelatedLCTDigi CSC_LCTDigi () const { return csc_LCTDigi; }
125  //RPCDigi RPC_Digi () const { return rpc_Digi; }
126  //CPPFDigi CPPF_Digi () const { return cppf_Digi; }
127  //GEMPadDigiCluster GEM_PadClusterDigi () const { return gem_PadClusterDigi; }
128  CSCDetId CSC_DetId() const { return CSCDetId(rawDetId); }
129  RPCDetId RPC_DetId() const { return RPCDetId(rawDetId); }
130  GEMDetId GEM_DetId() const { return GEMDetId(rawDetId); }
131  ME0DetId ME0_DetId() const { return ME0DetId(rawDetId); }
133 
134  void set_subsystem(int bits) { subsystem = bits; }
135  void set_endcap(int bits) { endcap = bits; }
136  void set_station(int bits) { station = bits; }
137  void set_ring(int bits) { ring = bits; }
138  void set_sector(int bits) { sector = bits; }
141  void set_subsector(int bits) { subsector = bits; }
143  void set_chamber(int bits) { chamber = bits; }
144  void set_csc_ID(int bits) { csc_ID = bits; }
145  void set_csc_nID(int bits) { csc_nID = bits; }
146  void set_roll(int bits) { roll = bits; }
147  void set_neighbor(int bits) { neighbor = bits; }
148  void set_mpc_link(int bits) { mpc_link = bits; }
149  void set_pc_sector(int bits) { pc_sector = bits; }
153  void set_wire(int bits) { wire = bits; }
154  void set_strip(int bits) { strip = bits; }
155  void set_strip_hi(int bits) { strip_hi = bits; }
156  void set_strip_low(int bits) { strip_low = bits; }
157  void set_strip_quart(int bits) { strip_quart = bits; } // Run 3
158  void set_strip_eighth(int bits) { strip_eighth = bits; } // Run 3
159  void set_strip_quart_bit(int bits) { strip_quart_bit = bits; } // Run 3
160  void set_strip_eighth_bit(int bits) { strip_eighth_bit = bits; } // Run 3
161  void set_track_num(int bits) { track_num = bits; }
162  void set_quality(int bits) { quality = bits; }
163  void set_pattern(int bits) { pattern = bits; }
164  void set_pattern_run3(int bits) { pattern_run3 = bits; } // Run 3
165  void set_bend(int bits) { bend = bits; }
166  void set_slope(int bits) { slope = bits; } // Run 3
167  void set_valid(int bits) { valid = bits; }
168  void set_sync_err(int bits) { sync_err = bits; }
169  // GEM specific aliases
170  void set_pad(int bits) { set_strip(bits); }
173  void set_partition(int bits) { set_roll(bits); }
174  void set_layer(int bits) { layer = bits; }
177  // END GEM specific
178  void set_bc0(int bits) { bc0 = bits; }
179  void set_bx(int bits) { bx = bits; }
180  void set_stub_num(int bits) { stub_num = bits; }
181  void set_phi_fp(int bits) { phi_fp = bits; }
182  void set_theta_fp(int bits) { theta_fp = bits; }
183  void set_zone_hit(int bits) { zone_hit = bits; }
184  void set_zone_code(int bits) { zone_code = bits; }
189  void set_phi_loc(float val) { phi_loc = val; }
190  void set_phi_glob(float val) { phi_glob = val; }
191  void set_theta(float val) { theta = val; }
192  void set_eta(float val) { eta = val; }
193  void set_time(float val) { time = val; }
194  void set_phi_sim(float val) { phi_sim = val; }
195  void set_theta_sim(float val) { theta_sim = val; }
196  void set_eta_sim(float val) { eta_sim = val; }
197  void set_rho_sim(float val) { rho_sim = val; }
198  void set_z_sim(float val) { z_sim = val; }
201 
202  int Subsystem() const { return subsystem; }
203  int Endcap() const { return endcap; }
204  int Station() const { return station; }
205  int Ring() const { return ring; }
206  int Sector() const { return sector; }
207  int Sector_RPC() const { return sector_RPC; }
208  int Sector_idx() const { return sector_idx; }
209  int Subsector() const { return subsector; }
210  int Subsector_RPC() const { return subsector_RPC; }
211  int Chamber() const { return chamber; }
212  int CSC_ID() const { return csc_ID; }
213  int CSC_nID() const { return csc_nID; }
214  int Roll() const { return roll; }
215  int Neighbor() const { return neighbor; }
216  int MPC_link() const { return mpc_link; }
217  int PC_sector() const { return pc_sector; }
218  int PC_station() const { return pc_station; }
219  int PC_chamber() const { return pc_chamber; }
220  int PC_segment() const { return pc_segment; }
221  int Wire() const { return wire; }
222  int Strip() const { return strip; }
223  int Strip_hi() const { return strip_hi; }
224  int Strip_low() const { return strip_low; }
225  int Strip_quart() const { return strip_quart; } // Run 3
226  int Strip_eighth() const { return strip_eighth; } // Run 3
227  int Strip_quart_bit() const { return strip_quart_bit; } // Run 3
228  int Strip_eighth_bit() const { return strip_eighth_bit; } // Run 3
229  int Track_num() const { return track_num; }
230  int Quality() const { return quality; }
231  int Pattern() const { return pattern; }
232  int Pattern_run3() const { return pattern_run3; } // Run 3
233  int Bend() const { return bend; }
234  int Slope() const { return slope; } // Run 3
235  int Valid() const { return valid; }
236  int Sync_err() const { return sync_err; }
237  // GEM specific aliases for member variables that don't match GEM nomenclature
238  /*
239  * Each GEM pad is the OR of two neighbouring strips in phi.
240  * For GE1/1 (10 degree chambers) this results in a total of 192 pads per eta partition
241  * 128 strips per phi sector
242  * 3 phi sectors per eta partition
243  * For GE2/1 (20 degree chambers) this results in a total of 384 pads per eta partition
244  * 128 strips per phi sector
245  * 6 phi sectors per eta partition
246  */
248  int Pad() const { return Strip(); }
250  int Pad_hi() const { return Strip_hi(); }
252  int Pad_low() const { return Strip_low(); }
254  int Partition() const { return Roll(); }
255  int Layer() const { return layer; }
257  int ClusterSize() const { return Quality(); }
259  int ClusterID() const { return Track_num(); }
260  // END GEM specific
261  int BC0() const { return bc0; }
262  int BX() const { return bx; }
263  int Stub_num() const { return stub_num; }
264  int Phi_fp() const { return phi_fp; }
265  int Theta_fp() const { return theta_fp; }
266  int Zone_hit() const { return zone_hit; }
267  int Zone_code() const { return zone_code; }
268  int FS_segment() const { return fs_segment; }
269  int FS_zone_code() const { return fs_zone_code; }
270  int BT_station() const { return bt_station; }
271  int BT_segment() const { return bt_segment; }
272  float Phi_loc() const { return phi_loc; }
273  float Phi_glob() const { return phi_glob; }
274  float Theta() const { return theta; }
275  float Eta() const { return eta; }
276  float Time() const { return time; }
277  float Phi_sim() const { return phi_sim; }
278  float Theta_sim() const { return theta_sim; }
279  float Eta_sim() const { return eta_sim; }
280  float Rho_sim() const { return rho_sim; }
281  float Z_sim() const { return z_sim; }
282  int ALCT_quality() const { return alct_quality; }
283  int CLCT_quality() const { return clct_quality; }
284 
285  bool Is_DT() const { return subsystem == l1tmu::kDT; }
286  bool Is_CSC() const { return subsystem == l1tmu::kCSC; }
287  bool Is_RPC() const { return subsystem == l1tmu::kRPC; }
288  bool Is_GEM() const { return subsystem == l1tmu::kGEM; }
289  bool Is_ME0() const { return subsystem == l1tmu::kME0; }
290 
291  private:
292  //CSCDetId csc_DetId;
293  //RPCDetId rpc_DetId;
294  //GEMDetId gem_DetId;
295  //CSCCorrelatedLCTDigi csc_LCTDigi;
296  //RPCDigi rpc_Digi;
297  //CPPFDigi cppf_Digi;
298  //GEMPadDigiCluster gem_PadClusterDigi;
299 
300  uint32_t rawDetId;
301  int subsystem;
302  int endcap;
303  int station;
304  int ring;
305  int sector;
308  int subsector;
310  int chamber;
311  int csc_ID;
312  int csc_nID;
313  int roll;
314  int neighbor;
315  int mpc_link;
316  int pc_sector;
320  int wire;
321  int strip;
322  int strip_hi;
323  int strip_low;
328  int track_num;
329  int quality;
330  int pattern;
332  int bend;
333  int slope;
334  int valid;
335  int sync_err;
336  // GEM specific
337  int layer;
338  // END GEM specific
339  int bc0;
340  int bx;
341  int stub_num;
342  int phi_fp;
343  int theta_fp;
344  int zone_hit;
345  int zone_code;
350  float phi_loc;
351  float phi_glob;
352  float theta;
353  float eta;
354  float time;
355  float phi_sim;
356  float theta_sim;
357  float eta_sim;
358  float rho_sim;
359  float z_sim;
362 
363  }; // End of class EMTFHit
364 
365  // Define a vector of EMTFHit
366  typedef std::vector<EMTFHit> EMTFHitCollection;
367 
368 } // End of namespace l1t
369 
370 #endif /* define DataFormats_L1TMuon_EMTFHit_h */
void set_subsector_RPC(int bits)
Definition: EMTFHit.h:142
void set_phi_glob(float val)
Definition: EMTFHit.h:190
int slope
Run 3 For CSC only.
Definition: EMTFHit.h:333
void set_theta_sim(float val)
Definition: EMTFHit.h:195
int PC_chamber() const
Definition: EMTFHit.h:219
void set_neighbor(int bits)
Definition: EMTFHit.h:147
void set_rho_sim(float val)
Definition: EMTFHit.h:197
int csc_nID
1 - 15. For CSCs only. Neighbors 10 - 15, 12 not filled.
Definition: EMTFHit.h:312
int strip_eighth
Run 3 CSC parameters.
Definition: EMTFHit.h:325
int station
1 - 4.
Definition: EMTFHit.h:303
void set_csc_nID(int bits)
Definition: EMTFHit.h:145
int ring
1 - 4. ME1/1a is denoted as "Ring 4". Should check dependence on input CSCDetId convention. - AWB 02.03.17
Definition: EMTFHit.h:304
float Theta() const
Definition: EMTFHit.h:274
int strip_eighth_bit
Run 3 CSC parameters.
Definition: EMTFHit.h:327
void set_pc_station(int bits)
Definition: EMTFHit.h:150
void set_phi_sim(float val)
Definition: EMTFHit.h:194
int mpc_link
1 - 3. Filled in EMTFHit.cc from CSCCorrelatedLCTDigi
Definition: EMTFHit.h:315
int Wire() const
Definition: EMTFHit.h:221
int Partition() const
"roll" corresponds to the GEM eta partition
Definition: EMTFHit.h:254
int neighbor
0 or 1. Filled in EMTFBlock(ME|GEM|RPC).cc
Definition: EMTFHit.h:314
int Strip_quart() const
Definition: EMTFHit.h:225
float phi_sim
+/-180.
Definition: EMTFHit.h:355
void set_stub_num(int bits)
Definition: EMTFHit.h:180
int BT_segment() const
Definition: EMTFHit.h:271
float phi_loc
-20 - 60 (Range? - AWB 02.03.17)
Definition: EMTFHit.h:350
float z_sim
? - ?.
Definition: EMTFHit.h:359
void set_station(int bits)
Definition: EMTFHit.h:136
bool Is_GEM() const
Definition: EMTFHit.h:288
void set_theta(float val)
Definition: EMTFHit.h:191
int Pattern() const
Definition: EMTFHit.h:231
int Neighbor() const
Definition: EMTFHit.h:215
constexpr uint32_t bits
Definition: gpuClustering.h:23
void set_bt_station(int bits)
Definition: EMTFHit.h:187
int sector_idx
0 - 11. 0 - 5 for ME+, 6 - 11 for ME-. For neighbor hits, set by EMTF sector that received it...
Definition: EMTFHit.h:307
void set_eta_sim(float val)
Definition: EMTFHit.h:196
int Track_num() const
Definition: EMTFHit.h:229
int pc_sector
1 - 6. EMTF sector that received the LCT, even those sent from neighbor sectors.
Definition: EMTFHit.h:316
bool Is_DT() const
Definition: EMTFHit.h:285
void set_sector_idx(int bits)
Definition: EMTFHit.h:140
void set_bc0(int bits)
Definition: EMTFHit.h:178
float Time() const
Definition: EMTFHit.h:276
GEMPadDigiCluster CreateGEMPadDigiCluster() const
Definition: EMTFHit.cc:109
int MPC_link() const
Definition: EMTFHit.h:216
void set_strip_eighth(int bits)
Definition: EMTFHit.h:158
int Phi_fp() const
Definition: EMTFHit.h:264
virtual ~EMTFHit()
Definition: EMTFHit.h:89
void set_cluster_size(int bits)
Definition: EMTFHit.h:175
int CSC_nID() const
Definition: EMTFHit.h:213
delete x;
Definition: CaloConfig.h:22
void set_sync_err(int bits)
Definition: EMTFHit.h:168
float Rho_sim() const
Definition: EMTFHit.h:280
int Valid() const
Definition: EMTFHit.h:235
int sync_err
0 or 1. For CSCs only.
Definition: EMTFHit.h:335
int subsector_RPC
0 - 6. RPC sector convention (in CMSSW): subsector 3 is the first chamber in the EMTF sector...
Definition: EMTFHit.h:309
float time
? - ?. RPC time information (ns)
Definition: EMTFHit.h:354
int sector_RPC
1 - 6. RPC sector convention (in CMSSW): sector 1 starts at -5 degrees
Definition: EMTFHit.h:306
float theta
0 - 90.
Definition: EMTFHit.h:352
void SetME0DetId(const ME0DetId &id)
Definition: EMTFHit.h:118
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi(const bool isRun3) const
Definition: EMTFHit.cc:75
void set_theta_fp(int bits)
Definition: EMTFHit.h:182
float theta_sim
0 - 90.
Definition: EMTFHit.h:356
int Pattern_run3() const
Definition: EMTFHit.h:232
int Roll() const
Definition: EMTFHit.h:214
void set_endcap(int bits)
Definition: EMTFHit.h:135
void set_ring(int bits)
Definition: EMTFHit.h:137
int CSC_ID() const
Definition: EMTFHit.h:212
int subsystem
0 - 4. 0 for DT, 1 for CSC, 2 for RPC, 3 for GEM, 4 for ME0
Definition: EMTFHit.h:301
void set_pad_hi(int bits)
Definition: EMTFHit.h:171
int zone_code
0 - 12. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:345
int Pad() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:248
int PC_sector() const
Definition: EMTFHit.h:217
int CLCT_quality() const
Definition: EMTFHit.h:283
void SetRPCDetId(const RPCDetId &id)
Definition: EMTFHit.h:116
int roll
1 - 3. For RPCs only, sub-division of ring. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:313
float Z_sim() const
Definition: EMTFHit.h:281
ME0DetId CreateME0DetId() const
Definition: EMTFHit.cc:48
float Eta_sim() const
Definition: EMTFHit.h:279
void set_strip_quart_bit(int bits)
Definition: EMTFHit.h:159
bool Is_CSC() const
Definition: EMTFHit.h:286
int Quality() const
Definition: EMTFHit.h:230
void set_strip_low(int bits)
Definition: EMTFHit.h:156
float rho_sim
? - ?.
Definition: EMTFHit.h:358
float Phi_sim() const
Definition: EMTFHit.h:277
int subsector
0 - 6. In CSCs, 1 or 2 for ME1, 0 for ME2/3/4.
Definition: EMTFHit.h:308
int Subsector() const
Definition: EMTFHit.h:209
float eta_sim
+/-2.5.
Definition: EMTFHit.h:357
void set_strip_eighth_bit(int bits)
Definition: EMTFHit.h:160
int fs_zone_code
1 - 14. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:347
int Strip_hi() const
Definition: EMTFHit.h:223
int strip_quart
Run 3 CSC parameters.
Definition: EMTFHit.h:324
void set_slope(int bits)
Definition: EMTFHit.h:166
CPPFDigi CreateCPPFDigi() const
Definition: EMTFHit.cc:50
void set_bt_segment(int bits)
Definition: EMTFHit.h:188
int BC0() const
Definition: EMTFHit.h:261
int pc_segment
0 - 3.
Definition: EMTFHit.h:319
int stub_num
0 or 1. Only from unpacked data? - AWB 02.03.17
Definition: EMTFHit.h:341
int Sector_idx() const
Definition: EMTFHit.h:208
void set_pattern(int bits)
Definition: EMTFHit.h:163
int pattern_run3
Run 3 For CSC only.
Definition: EMTFHit.h:331
int bend
0 or 1. For CSCs only.
Definition: EMTFHit.h:332
void set_csc_ID(int bits)
Definition: EMTFHit.h:144
std::vector< EMTFHit > EMTFHitCollection
Definition: EMTFHit.h:366
void set_pc_chamber(int bits)
Definition: EMTFHit.h:151
void set_strip_hi(int bits)
Definition: EMTFHit.h:155
void set_wire(int bits)
Definition: EMTFHit.h:153
int zone_hit
4 - 156 (Range? - AWB 02.03.17)
Definition: EMTFHit.h:344
void set_pattern_run3(int bits)
Definition: EMTFHit.h:164
int BX() const
Definition: EMTFHit.h:262
void SetDTDetId(const DTChamberId &id)
Definition: EMTFHit.h:119
int Theta_fp() const
Definition: EMTFHit.h:265
int PC_segment() const
Definition: EMTFHit.h:220
uint32_t rawDetId
raw CMSSW DetId
Definition: EMTFHit.h:300
int Strip_eighth() const
Definition: EMTFHit.h:226
int bx
-3 - +3.
Definition: EMTFHit.h:340
int Strip_eighth_bit() const
Definition: EMTFHit.h:228
float Theta_sim() const
Definition: EMTFHit.h:278
int Strip() const
Definition: EMTFHit.h:222
void set_time(float val)
Definition: EMTFHit.h:193
int Sector_RPC() const
Definition: EMTFHit.h:207
bool Is_RPC() const
Definition: EMTFHit.h:287
void set_phi_loc(float val)
Definition: EMTFHit.h:189
int pattern
0 - 10. For CSCs only.
Definition: EMTFHit.h:330
int ClusterID() const
Repurpose "track_num" as the GEM cluster_id.
Definition: EMTFHit.h:259
void set_pc_segment(int bits)
Definition: EMTFHit.h:152
void SetCSCDetId(const CSCDetId &id)
Definition: EMTFHit.h:115
int endcap
+/-1. For ME+ and ME-.
Definition: EMTFHit.h:302
void set_fs_segment(int bits)
Definition: EMTFHit.h:185
void set_layer(int bits)
Definition: EMTFHit.h:174
int strip
0 - 158 For CSCs only.
Definition: EMTFHit.h:321
void set_sector_RPC(int bits)
Definition: EMTFHit.h:139
int Bend() const
Definition: EMTFHit.h:233
void set_sector(int bits)
Definition: EMTFHit.h:138
int strip_low
? - ?. For RPCs only, lowest strip in a cluster. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:323
void set_pad(int bits)
Definition: EMTFHit.h:170
int Layer() const
Definition: EMTFHit.h:255
int Endcap() const
Definition: EMTFHit.h:203
int Station() const
Definition: EMTFHit.h:204
RPCDetId RPC_DetId() const
Definition: EMTFHit.h:129
int PC_station() const
Definition: EMTFHit.h:218
int Zone_hit() const
Definition: EMTFHit.h:266
int bt_station
0 - 4.
Definition: EMTFHit.h:348
void set_valid(int bits)
Definition: EMTFHit.h:167
int Strip_quart_bit() const
Definition: EMTFHit.h:227
void set_z_sim(float val)
Definition: EMTFHit.h:198
float Phi_glob() const
Definition: EMTFHit.h:273
int layer
0 - 1. For GEMs only, superchamber detector layer (1 or 2).
Definition: EMTFHit.h:337
int pc_chamber
0 - 8.
Definition: EMTFHit.h:318
void set_strip(int bits)
Definition: EMTFHit.h:154
int track_num
? - ?. For CSCs only. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:328
int pc_station
0 - 5. 0 for ME1 subsector 1, 5 for neighbor hits.
Definition: EMTFHit.h:317
int wire
0 - 111 For CSCs only.
Definition: EMTFHit.h:320
int quality
0 - 15. For CSCs only.
Definition: EMTFHit.h:329
int Stub_num() const
Definition: EMTFHit.h:263
float eta
+/-2.5.
Definition: EMTFHit.h:353
int alct_quality
1 - 3. For emulated CSC LCTs only, maps to number of ALCT layers (4 - 6).
Definition: EMTFHit.h:360
void set_subsystem(int bits)
Definition: EMTFHit.h:134
int phi_fp
0 - 4920
Definition: EMTFHit.h:342
int theta_fp
0 - 127
Definition: EMTFHit.h:343
int strip_hi
? - ?. For RPCs only, highest strip in a cluster. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:322
DTChamberId DT_DetId() const
Definition: EMTFHit.h:132
bool Is_ME0() const
Definition: EMTFHit.h:289
void set_track_num(int bits)
Definition: EMTFHit.h:161
int Chamber() const
Definition: EMTFHit.h:211
int bc0
0 or 1. Only from unpacked data? - AWB 02.03.17
Definition: EMTFHit.h:339
int FS_zone_code() const
Definition: EMTFHit.h:269
float Eta() const
Definition: EMTFHit.h:275
GEMDetId GEM_DetId() const
Definition: EMTFHit.h:130
void set_cluster_id(int bits)
Definition: EMTFHit.h:176
CSCDetId CSC_DetId() const
Definition: EMTFHit.h:128
void set_zone_code(int bits)
Definition: EMTFHit.h:184
int Slope() const
Definition: EMTFHit.h:234
int valid
0 or 1. For CSCs only (for now; could use to flag failing clusters? - AWB 02.03.17) ...
Definition: EMTFHit.h:334
void set_pad_low(int bits)
Definition: EMTFHit.h:172
void SetGEMDetId(const GEMDetId &id)
Definition: EMTFHit.h:117
float phi_glob
+/-180.
Definition: EMTFHit.h:351
int sector
1 - 6. CSC / GEM / EMTF sector convention: sector 1 starts at 15 degrees
Definition: EMTFHit.h:305
int Subsystem() const
Definition: EMTFHit.h:202
void set_bx(int bits)
Definition: EMTFHit.h:179
int chamber
1 - 36. Chamber 1 starts at -5 degrees.
Definition: EMTFHit.h:310
void set_zone_hit(int bits)
Definition: EMTFHit.h:183
int fs_segment
0 - 13. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:346
int Ring() const
Definition: EMTFHit.h:205
int Pad_low() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:252
int clct_quality
4 - 6. For emulated CSC LCTs only, maps to number of CLCT layers (4 - 6).
Definition: EMTFHit.h:361
void set_strip_quart(int bits)
Definition: EMTFHit.h:157
int bt_segment
0 - 25. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:349
void set_fs_zone_code(int bits)
Definition: EMTFHit.h:186
int Strip_low() const
Definition: EMTFHit.h:224
int strip_quart_bit
Run 3 CSC parameters.
Definition: EMTFHit.h:326
void set_clct_quality(int bits)
Definition: EMTFHit.h:200
RPCDetId CreateRPCDetId() const
Definition: EMTFHit.cc:12
GEMDetId CreateGEMDetId() const
Definition: EMTFHit.cc:44
void set_quality(int bits)
Definition: EMTFHit.h:162
int ALCT_quality() const
Definition: EMTFHit.h:282
float Phi_loc() const
Definition: EMTFHit.h:272
void set_mpc_link(int bits)
Definition: EMTFHit.h:148
int Pad_hi() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:250
void set_chamber(int bits)
Definition: EMTFHit.h:143
int ClusterSize() const
Repurpose "quality" as the GEM cluster_size (number of pads in the cluster)
Definition: EMTFHit.h:257
void set_subsector(int bits)
Definition: EMTFHit.h:141
int Subsector_RPC() const
Definition: EMTFHit.h:210
void set_bend(int bits)
Definition: EMTFHit.h:165
int Sync_err() const
Definition: EMTFHit.h:236
void set_alct_quality(int bits)
Definition: EMTFHit.h:199
int FS_segment() const
Definition: EMTFHit.h:268
void set_phi_fp(int bits)
Definition: EMTFHit.h:181
void set_partition(int bits)
Definition: EMTFHit.h:173
void set_roll(int bits)
Definition: EMTFHit.h:146
int BT_station() const
Definition: EMTFHit.h:270
int Sector() const
Definition: EMTFHit.h:206
CSCDetId CreateCSCDetId() const
Definition: EMTFHit.cc:6
void set_pc_sector(int bits)
Definition: EMTFHit.h:149
ME0DetId ME0_DetId() const
Definition: EMTFHit.h:131
void set_eta(float val)
Definition: EMTFHit.h:192
int csc_ID
1 - 9. For CSCs only.
Definition: EMTFHit.h:311
int Zone_code() const
Definition: EMTFHit.h:267