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