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; }
139  void set_sector_RPC(int bits) { sector_RPC = bits; }
140  void set_sector_idx(int bits) { sector_idx = bits; }
141  void set_subsector(int bits) { subsector = bits; }
142  void set_subsector_RPC(int bits) { subsector_RPC = 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; }
150  void set_pc_station(int bits) { pc_station = bits; }
151  void set_pc_chamber(int bits) { pc_chamber = bits; }
152  void set_pc_segment(int bits) { pc_segment = 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); }
171  void set_pad_hi(int bits) { set_strip_hi(bits); }
172  void set_pad_low(int bits) { set_strip_low(bits); }
173  void set_partition(int bits) { set_roll(bits); }
174  void set_layer(int bits) { layer = bits; }
175  void set_cluster_size(int bits) { set_quality(bits); }
176  void set_cluster_id(int bits) { set_track_num(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; }
185  void set_fs_segment(int bits) { fs_segment = bits; }
186  void set_fs_zone_code(int bits) { fs_zone_code = bits; }
187  void set_bt_station(int bits) { bt_station = bits; }
188  void set_bt_segment(int bits) { bt_segment = 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; }
199  void set_alct_quality(int bits) { alct_quality = bits; }
200  void set_clct_quality(int bits) { clct_quality = bits; }
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 */
l1t::EMTFHit::set_pad
void set_pad(int bits)
Definition: EMTFHit.h:170
l1t::EMTFHit::set_strip_hi
void set_strip_hi(int bits)
Definition: EMTFHit.h:155
l1t::EMTFHit::set_subsystem
void set_subsystem(int bits)
Definition: EMTFHit.h:134
l1t::EMTFHit::set_eta
void set_eta(float val)
Definition: EMTFHit.h:192
l1t::EMTFHit::BC0
int BC0() const
Definition: EMTFHit.h:261
l1t::EMTFHit::MPC_link
int MPC_link() const
Definition: EMTFHit.h:216
l1t::EMTFHit::set_pad_hi
void set_pad_hi(int bits)
Definition: EMTFHit.h:171
l1t::EMTFHit::CSC_DetId
CSCDetId CSC_DetId() const
Definition: EMTFHit.h:128
l1t::EMTFHit::Phi_sim
float Phi_sim() const
Definition: EMTFHit.h:277
l1t::EMTFHit::Strip_eighth_bit
int Strip_eighth_bit() const
Definition: EMTFHit.h:228
l1t::EMTFHit::ME0_DetId
ME0DetId ME0_DetId() const
Definition: EMTFHit.h:131
l1t::EMTFHit::~EMTFHit
virtual ~EMTFHit()
Definition: EMTFHit.h:89
l1t::EMTFHit::eta_sim
float eta_sim
+/-2.5.
Definition: EMTFHit.h:357
l1t::EMTFHit::bend
int bend
0 or 1. For CSCs only.
Definition: EMTFHit.h:332
l1t::EMTFHit::BT_segment
int BT_segment() const
Definition: EMTFHit.h:271
l1t::EMTFHit::pattern
int pattern
0 - 10. For CSCs only.
Definition: EMTFHit.h:330
l1t::EMTFHit::FS_segment
int FS_segment() const
Definition: EMTFHit.h:268
l1t::EMTFHit::bt_segment
int bt_segment
0 - 25. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:349
l1t::EMTFHit::CSC_ID
int CSC_ID() const
Definition: EMTFHit.h:212
l1t::EMTFHit::sector_RPC
int sector_RPC
1 - 6. RPC sector convention (in CMSSW): sector 1 starts at -5 degrees
Definition: EMTFHit.h:306
l1t::EMTFHit::strip_eighth
int strip_eighth
Run 3 CSC parameters.
Definition: EMTFHit.h:325
l1t::EMTFHit::z_sim
float z_sim
? - ?.
Definition: EMTFHit.h:359
l1t::EMTFHit::Strip_quart
int Strip_quart() const
Definition: EMTFHit.h:225
l1t::EMTFHit::set_pc_sector
void set_pc_sector(int bits)
Definition: EMTFHit.h:149
l1t::EMTFHit::PC_sector
int PC_sector() const
Definition: EMTFHit.h:217
ME0DetId.h
l1t::EMTFHit::pc_sector
int pc_sector
1 - 6. EMTF sector that received the LCT, even those sent from neighbor sectors.
Definition: EMTFHit.h:316
RPCDetId
Definition: RPCDetId.h:16
l1t::EMTFHit::SetGEMDetId
void SetGEMDetId(const GEMDetId &id)
Definition: EMTFHit.h:117
GEMPadDigiCluster
Definition: GEMPadDigiCluster.h:19
l1t::EMTFHit::zone_hit
int zone_hit
4 - 156 (Range? - AWB 02.03.17)
Definition: EMTFHit.h:344
l1t::EMTFHit::Bend
int Bend() const
Definition: EMTFHit.h:233
l1t::EMTFHit::SetDTDetId
void SetDTDetId(const DTChamberId &id)
Definition: EMTFHit.h:119
l1t::EMTFHit::Eta_sim
float Eta_sim() const
Definition: EMTFHit.h:279
l1t::EMTFHit::sector_idx
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
l1t::EMTFHit::bt_station
int bt_station
0 - 4.
Definition: EMTFHit.h:348
l1t::EMTFHit::PC_segment
int PC_segment() const
Definition: EMTFHit.h:220
l1t::EMTFHit::csc_ID
int csc_ID
1 - 9. For CSCs only.
Definition: EMTFHit.h:311
l1t::EMTFHit::Sector
int Sector() const
Definition: EMTFHit.h:206
l1t::EMTFHit::Valid
int Valid() const
Definition: EMTFHit.h:235
l1t::EMTFHit::set_clct_quality
void set_clct_quality(int bits)
Definition: EMTFHit.h:200
l1t::EMTFHit::Endcap
int Endcap() const
Definition: EMTFHit.h:203
l1t::EMTFHit::Strip_hi
int Strip_hi() const
Definition: EMTFHit.h:223
l1t::EMTFHit::set_phi_loc
void set_phi_loc(float val)
Definition: EMTFHit.h:189
l1t::EMTFHit::Theta_sim
float Theta_sim() const
Definition: EMTFHit.h:278
l1t::EMTFHit::sector
int sector
1 - 6. CSC / GEM / EMTF sector convention: sector 1 starts at 15 degrees
Definition: EMTFHit.h:305
CSCCorrelatedLCTDigi.h
l1t::EMTFHit::Theta
float Theta() const
Definition: EMTFHit.h:274
l1t::EMTFHit::set_pc_segment
void set_pc_segment(int bits)
Definition: EMTFHit.h:152
l1t::EMTFHit::slope
int slope
Run 3 For CSC only.
Definition: EMTFHit.h:333
l1t::EMTFHit::pc_segment
int pc_segment
0 - 3.
Definition: EMTFHit.h:319
l1t::EMTFHit::set_pc_chamber
void set_pc_chamber(int bits)
Definition: EMTFHit.h:151
l1t::EMTFHit::valid
int valid
0 or 1. For CSCs only (for now; could use to flag failing clusters? - AWB 02.03.17)
Definition: EMTFHit.h:334
l1t::EMTFHit::set_fs_segment
void set_fs_segment(int bits)
Definition: EMTFHit.h:185
l1t::EMTFHit::set_fs_zone_code
void set_fs_zone_code(int bits)
Definition: EMTFHit.h:186
l1t::EMTFHit::clct_quality
int clct_quality
4 - 6. For emulated CSC LCTs only, maps to number of CLCT layers (4 - 6).
Definition: EMTFHit.h:361
l1t::EMTFHit::CreateRPCDetId
RPCDetId CreateRPCDetId() const
Definition: EMTFHit.cc:12
l1t::EMTFHit::set_strip_eighth
void set_strip_eighth(int bits)
Definition: EMTFHit.h:158
l1t::EMTFHit::set_cluster_id
void set_cluster_id(int bits)
Definition: EMTFHit.h:176
l1t::EMTFHit::set_cluster_size
void set_cluster_size(int bits)
Definition: EMTFHit.h:175
l1t::EMTFHit::ClusterID
int ClusterID() const
Repurpose "track_num" as the GEM cluster_id.
Definition: EMTFHit.h:259
CPPFDigi.h
l1t::EMTFHit::fs_segment
int fs_segment
0 - 13. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:346
l1t::EMTFHit::set_eta_sim
void set_eta_sim(float val)
Definition: EMTFHit.h:196
l1t::EMTFHit::GEM_DetId
GEMDetId GEM_DetId() const
Definition: EMTFHit.h:130
l1t::EMTFHit::BX
int BX() const
Definition: EMTFHit.h:262
l1t::EMTFHit::Is_DT
bool Is_DT() const
Definition: EMTFHit.h:285
l1t::EMTFHit::set_theta
void set_theta(float val)
Definition: EMTFHit.h:191
CSCDetId.h
l1t::EMTFHit::Sector_idx
int Sector_idx() const
Definition: EMTFHit.h:208
l1t::EMTFHit::set_chamber
void set_chamber(int bits)
Definition: EMTFHit.h:143
l1t::EMTFHit::FS_zone_code
int FS_zone_code() const
Definition: EMTFHit.h:269
l1t::EMTFHit::alct_quality
int alct_quality
1 - 3. For emulated CSC LCTs only, maps to number of ALCT layers (4 - 6).
Definition: EMTFHit.h:360
l1t::EMTFHit::chamber
int chamber
1 - 36. Chamber 1 starts at -5 degrees.
Definition: EMTFHit.h:310
l1t::EMTFHit::RPC_DetId
RPCDetId RPC_DetId() const
Definition: EMTFHit.h:129
l1t::EMTFHit::Slope
int Slope() const
Definition: EMTFHit.h:234
l1t::EMTFHit::set_subsector
void set_subsector(int bits)
Definition: EMTFHit.h:141
l1t::EMTFHit::set_phi_sim
void set_phi_sim(float val)
Definition: EMTFHit.h:194
l1t::EMTFHit::time
float time
? - ?. RPC time information (ns)
Definition: EMTFHit.h:354
L1TMuon::kRPC
Definition: L1TMuonSubsystems.h:5
l1t::EMTFHit::set_slope
void set_slope(int bits)
Definition: EMTFHit.h:166
l1t::EMTFHit::CreateGEMPadDigiCluster
GEMPadDigiCluster CreateGEMPadDigiCluster() const
Definition: EMTFHit.cc:98
l1t::EMTFHit::set_time
void set_time(float val)
Definition: EMTFHit.h:193
l1t::EMTFHit::set_strip_eighth_bit
void set_strip_eighth_bit(int bits)
Definition: EMTFHit.h:160
L1TMuon::kME0
Definition: L1TMuonSubsystems.h:5
l1t::EMTFHit::Strip_quart_bit
int Strip_quart_bit() const
Definition: EMTFHit.h:227
l1t::EMTFHit::Strip_low
int Strip_low() const
Definition: EMTFHit.h:224
l1t::EMTFHit::Strip_eighth
int Strip_eighth() const
Definition: EMTFHit.h:226
l1t::EMTFHit::CreateCSCDetId
CSCDetId CreateCSCDetId() const
Definition: EMTFHit.cc:6
l1t::EMTFHit::Layer
int Layer() const
Definition: EMTFHit.h:255
l1t::EMTFHit::set_pad_low
void set_pad_low(int bits)
Definition: EMTFHit.h:172
l1t::EMTFHit::theta_sim
float theta_sim
0 - 90.
Definition: EMTFHit.h:356
l1t::EMTFHit::quality
int quality
0 - 15. For CSCs only.
Definition: EMTFHit.h:329
l1t::EMTFHit::Neighbor
int Neighbor() const
Definition: EMTFHit.h:215
l1t::EMTFHit::subsystem
int subsystem
0 - 4. 0 for DT, 1 for CSC, 2 for RPC, 3 for GEM, 4 for ME0
Definition: EMTFHit.h:301
l1t::EMTFHit::Subsector
int Subsector() const
Definition: EMTFHit.h:209
l1t::EMTFHit::Zone_hit
int Zone_hit() const
Definition: EMTFHit.h:266
l1t::EMTFHit::strip_low
int strip_low
? - ?. For RPCs only, lowest strip in a cluster. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:323
l1t::EMTFHit::csc_nID
int csc_nID
1 - 15. For CSCs only. Neighbors 10 - 15, 12 not filled.
Definition: EMTFHit.h:312
l1t::EMTFHit::Subsector_RPC
int Subsector_RPC() const
Definition: EMTFHit.h:210
l1t::EMTFHit::Roll
int Roll() const
Definition: EMTFHit.h:214
l1t::EMTFHit::set_zone_code
void set_zone_code(int bits)
Definition: EMTFHit.h:184
l1t::EMTFHit::Theta_fp
int Theta_fp() const
Definition: EMTFHit.h:265
l1t::EMTFHit::PC_station
int PC_station() const
Definition: EMTFHit.h:218
l1t::EMTFHit::set_valid
void set_valid(int bits)
Definition: EMTFHit.h:167
l1t::EMTFHit::rawDetId
uint32_t rawDetId
raw CMSSW DetId
Definition: EMTFHit.h:300
GEMPadDigiCluster.h
l1t::EMTFHit::set_station
void set_station(int bits)
Definition: EMTFHit.h:136
l1t::EMTFHit::set_csc_ID
void set_csc_ID(int bits)
Definition: EMTFHit.h:144
l1t::EMTFHit::set_strip
void set_strip(int bits)
Definition: EMTFHit.h:154
l1t::EMTFHit::set_sync_err
void set_sync_err(int bits)
Definition: EMTFHit.h:168
DTChamberId.h
l1t::EMTFHit::sync_err
int sync_err
0 or 1. For CSCs only.
Definition: EMTFHit.h:335
l1t::EMTFHit::subsector
int subsector
0 - 6. In CSCs, 1 or 2 for ME1, 0 for ME2/3/4.
Definition: EMTFHit.h:308
l1t::EMTFHit::CreateCPPFDigi
CPPFDigi CreateCPPFDigi() const
Definition: EMTFHit.cc:50
l1t::EMTFHit::Track_num
int Track_num() const
Definition: EMTFHit.h:229
RPCDetId.h
l1t::EMTFHit::endcap
int endcap
+/-1. For ME+ and ME-.
Definition: EMTFHit.h:302
l1t::EMTFHit::subsector_RPC
int subsector_RPC
0 - 6. RPC sector convention (in CMSSW): subsector 3 is the first chamber in the EMTF sector.
Definition: EMTFHit.h:309
l1t::EMTFHit::set_strip_quart
void set_strip_quart(int bits)
Definition: EMTFHit.h:157
l1t::EMTFHit::set_sector_RPC
void set_sector_RPC(int bits)
Definition: EMTFHit.h:139
L1TMuon::kCSC
Definition: L1TMuonSubsystems.h:5
L1TMuon::kDT
Definition: L1TMuonSubsystems.h:5
l1t::EMTFHit::Wire
int Wire() const
Definition: EMTFHit.h:221
l1t::EMTFHit::ALCT_quality
int ALCT_quality() const
Definition: EMTFHit.h:282
l1t::EMTFHit::fs_zone_code
int fs_zone_code
1 - 14. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:347
l1t::EMTFHit::Pad
int Pad() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:248
l1t::EMTFHit::CLCT_quality
int CLCT_quality() const
Definition: EMTFHit.h:283
l1t::EMTFHit::PC_chamber
int PC_chamber() const
Definition: EMTFHit.h:219
l1t::EMTFHit::Rho_sim
float Rho_sim() const
Definition: EMTFHit.h:280
l1t::EMTFHit::Sync_err
int Sync_err() const
Definition: EMTFHit.h:236
l1t::EMTFHit
Definition: EMTFHit.h:25
l1t::EMTFHit::ClusterSize
int ClusterSize() const
Repurpose "quality" as the GEM cluster_size (number of pads in the cluster)
Definition: EMTFHit.h:257
l1t
delete x;
Definition: CaloConfig.h:22
l1t::EMTFHit::CreateGEMDetId
GEMDetId CreateGEMDetId() const
Definition: EMTFHit.cc:44
l1t::EMTFHit::SetCSCDetId
void SetCSCDetId(const CSCDetId &id)
Definition: EMTFHit.h:115
l1t::EMTFHit::set_quality
void set_quality(int bits)
Definition: EMTFHit.h:162
l1t::EMTFHit::set_phi_glob
void set_phi_glob(float val)
Definition: EMTFHit.h:190
l1t::EMTFHit::set_pattern_run3
void set_pattern_run3(int bits)
Definition: EMTFHit.h:164
GEMDetId
Definition: GEMDetId.h:18
CSCDetId
Definition: CSCDetId.h:26
l1t::EMTFHit::CreateME0DetId
ME0DetId CreateME0DetId() const
Definition: EMTFHit.cc:48
l1t::EMTFHit::set_sector_idx
void set_sector_idx(int bits)
Definition: EMTFHit.h:140
L1TMuon::kGEM
Definition: L1TMuonSubsystems.h:5
l1t::EMTFHit::set_theta_fp
void set_theta_fp(int bits)
Definition: EMTFHit.h:182
l1t::EMTFHit::set_mpc_link
void set_mpc_link(int bits)
Definition: EMTFHit.h:148
l1t::EMTFHit::set_partition
void set_partition(int bits)
Definition: EMTFHit.h:173
l1t::EMTFHit::layer
int layer
0 - 1. For GEMs only, superchamber detector layer (1 or 2).
Definition: EMTFHit.h:337
l1t::EMTFHit::neighbor
int neighbor
0 or 1. Filled in EMTFBlock(ME|GEM|RPC).cc
Definition: EMTFHit.h:314
l1t::EMTFHit::track_num
int track_num
? - ?. For CSCs only. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:328
l1t::EMTFHit::Is_RPC
bool Is_RPC() const
Definition: EMTFHit.h:287
l1t::EMTFHit::set_wire
void set_wire(int bits)
Definition: EMTFHit.h:153
L1TMuonSubsystems.h
l1t::EMTFHit::phi_glob
float phi_glob
+/-180.
Definition: EMTFHit.h:351
l1t::EMTFHit::Z_sim
float Z_sim() const
Definition: EMTFHit.h:281
l1t::EMTFHit::mpc_link
int mpc_link
1 - 3. Filled in EMTFHit.cc from CSCCorrelatedLCTDigi
Definition: EMTFHit.h:315
l1t::EMTFHit::eta
float eta
+/-2.5.
Definition: EMTFHit.h:353
l1t::EMTFHit::set_csc_nID
void set_csc_nID(int bits)
Definition: EMTFHit.h:145
l1t::EMTFHit::Subsystem
int Subsystem() const
Definition: EMTFHit.h:202
l1t::EMTFHit::phi_loc
float phi_loc
-20 - 60 (Range? - AWB 02.03.17)
Definition: EMTFHit.h:350
l1t::EMTFHit::set_z_sim
void set_z_sim(float val)
Definition: EMTFHit.h:198
l1t::EMTFHit::theta_fp
int theta_fp
0 - 127
Definition: EMTFHit.h:343
l1t::EMTFHit::set_zone_hit
void set_zone_hit(int bits)
Definition: EMTFHit.h:183
l1t::EMTFHit::Is_GEM
bool Is_GEM() const
Definition: EMTFHit.h:288
l1t::EMTFHit::set_stub_num
void set_stub_num(int bits)
Definition: EMTFHit.h:180
ME0DetId
Definition: ME0DetId.h:16
l1t::EMTFHit::wire
int wire
0 - 111 For CSCs only.
Definition: EMTFHit.h:320
l1t::EMTFHit::station
int station
1 - 4.
Definition: EMTFHit.h:303
l1t::EMTFHit::Eta
float Eta() const
Definition: EMTFHit.h:275
l1t::EMTFHit::Zone_code
int Zone_code() const
Definition: EMTFHit.h:267
l1t::EMTFHit::set_pattern
void set_pattern(int bits)
Definition: EMTFHit.h:163
l1t::EMTFHit::Phi_loc
float Phi_loc() const
Definition: EMTFHit.h:272
L1TMuon
Definition: L1TMuonSubsystems.h:4
l1t::EMTFHit::Partition
int Partition() const
"roll" corresponds to the GEM eta partition
Definition: EMTFHit.h:254
l1t::EMTFHit::set_endcap
void set_endcap(int bits)
Definition: EMTFHit.h:135
l1t::EMTFHit::set_bt_station
void set_bt_station(int bits)
Definition: EMTFHit.h:187
l1t::EMTFHit::set_neighbor
void set_neighbor(int bits)
Definition: EMTFHit.h:147
l1t::EMTFHit::Sector_RPC
int Sector_RPC() const
Definition: EMTFHit.h:207
l1t::EMTFHit::EMTFHit
EMTFHit()
Definition: EMTFHit.h:27
l1t::EMTFHit::strip_quart_bit
int strip_quart_bit
Run 3 CSC parameters.
Definition: EMTFHit.h:326
l1t::EMTFHit::Pad_low
int Pad_low() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:252
l1t::EMTFHit::set_strip_quart_bit
void set_strip_quart_bit(int bits)
Definition: EMTFHit.h:159
l1t::EMTFHit::set_bx
void set_bx(int bits)
Definition: EMTFHit.h:179
l1t::EMTFHit::set_sector
void set_sector(int bits)
Definition: EMTFHit.h:138
GEMDetId.h
heppy_batch.val
val
Definition: heppy_batch.py:351
l1t::EMTFHit::Time
float Time() const
Definition: EMTFHit.h:276
l1t::EMTFHit::pattern_run3
int pattern_run3
Run 3 For CSC only.
Definition: EMTFHit.h:331
l1t::EMTFHit::Ring
int Ring() const
Definition: EMTFHit.h:205
l1t::EMTFHit::strip_eighth_bit
int strip_eighth_bit
Run 3 CSC parameters.
Definition: EMTFHit.h:327
l1t::EMTFHit::Phi_glob
float Phi_glob() const
Definition: EMTFHit.h:273
l1t::CPPFDigi
Definition: CPPFDigi.h:12
l1t::EMTFHit::Pattern_run3
int Pattern_run3() const
Definition: EMTFHit.h:232
l1t::EMTFHit::CreateCSCCorrelatedLCTDigi
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi() const
Definition: EMTFHit.cc:75
l1t::EMTFHit::set_phi_fp
void set_phi_fp(int bits)
Definition: EMTFHit.h:181
l1t::EMTFHit::set_rho_sim
void set_rho_sim(float val)
Definition: EMTFHit.h:197
l1t::EMTFHit::BT_station
int BT_station() const
Definition: EMTFHit.h:270
l1t::EMTFHit::set_track_num
void set_track_num(int bits)
Definition: EMTFHit.h:161
l1t::EMTFHit::Station
int Station() const
Definition: EMTFHit.h:204
l1t::EMTFHit::Pattern
int Pattern() const
Definition: EMTFHit.h:231
l1t::EMTFHit::theta
float theta
0 - 90.
Definition: EMTFHit.h:352
l1t::EMTFHit::SetME0DetId
void SetME0DetId(const ME0DetId &id)
Definition: EMTFHit.h:118
l1t::EMTFHit::DT_DetId
DTChamberId DT_DetId() const
Definition: EMTFHit.h:132
l1t::EMTFHit::zone_code
int zone_code
0 - 12. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:345
l1t::EMTFHit::strip
int strip
0 - 158 For CSCs only.
Definition: EMTFHit.h:321
l1t::EMTFHit::strip_quart
int strip_quart
Run 3 CSC parameters.
Definition: EMTFHit.h:324
l1t::EMTFHit::CSC_nID
int CSC_nID() const
Definition: EMTFHit.h:213
DTChamberId
Definition: DTChamberId.h:14
l1t::EMTFHit::stub_num
int stub_num
0 or 1. Only from unpacked data? - AWB 02.03.17
Definition: EMTFHit.h:341
l1t::EMTFHit::strip_hi
int strip_hi
? - ?. For RPCs only, highest strip in a cluster. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:322
l1t::EMTFHit::Is_ME0
bool Is_ME0() const
Definition: EMTFHit.h:289
l1t::EMTFHit::Is_CSC
bool Is_CSC() const
Definition: EMTFHit.h:286
l1t::EMTFHit::Stub_num
int Stub_num() const
Definition: EMTFHit.h:263
l1t::EMTFHit::set_theta_sim
void set_theta_sim(float val)
Definition: EMTFHit.h:195
l1t::EMTFHit::ring
int ring
1 - 4. ME1/1a is denoted as "Ring 4". Should check dependence on input CSCDetId convention....
Definition: EMTFHit.h:304
l1t::EMTFHit::Pad_hi
int Pad_hi() const
Repurpose "strip" as GEM pad for GEM sourced hits.
Definition: EMTFHit.h:250
l1t::EMTFHit::phi_fp
int phi_fp
0 - 4920
Definition: EMTFHit.h:342
l1t::EMTFHit::set_pc_station
void set_pc_station(int bits)
Definition: EMTFHit.h:150
l1t::EMTFHit::set_strip_low
void set_strip_low(int bits)
Definition: EMTFHit.h:156
l1t::EMTFHit::rho_sim
float rho_sim
? - ?.
Definition: EMTFHit.h:358
l1t::EMTFHit::SetRPCDetId
void SetRPCDetId(const RPCDetId &id)
Definition: EMTFHit.h:116
l1t::EMTFHit::set_bend
void set_bend(int bits)
Definition: EMTFHit.h:165
l1t::EMTFHit::set_alct_quality
void set_alct_quality(int bits)
Definition: EMTFHit.h:199
l1t::EMTFHit::Chamber
int Chamber() const
Definition: EMTFHit.h:211
l1t::EMTFHit::pc_station
int pc_station
0 - 5. 0 for ME1 subsector 1, 5 for neighbor hits.
Definition: EMTFHit.h:317
l1t::EMTFHit::phi_sim
float phi_sim
+/-180.
Definition: EMTFHit.h:355
l1t::EMTFHit::set_bt_segment
void set_bt_segment(int bits)
Definition: EMTFHit.h:188
l1t::EMTFHit::roll
int roll
1 - 3. For RPCs only, sub-division of ring. (Range? - AWB 02.03.17)
Definition: EMTFHit.h:313
l1t::EMTFHit::bc0
int bc0
0 or 1. Only from unpacked data? - AWB 02.03.17
Definition: EMTFHit.h:339
l1t::EMTFHit::Quality
int Quality() const
Definition: EMTFHit.h:230
l1t::EMTFHit::set_roll
void set_roll(int bits)
Definition: EMTFHit.h:146
l1t::EMTFHit::set_bc0
void set_bc0(int bits)
Definition: EMTFHit.h:178
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19
l1t::EMTFHit::bx
int bx
-3 - +3.
Definition: EMTFHit.h:340
l1t::EMTFHit::pc_chamber
int pc_chamber
0 - 8.
Definition: EMTFHit.h:318
l1t::EMTFHitCollection
std::vector< EMTFHit > EMTFHitCollection
Definition: EMTFHit.h:366
l1t::EMTFHit::Phi_fp
int Phi_fp() const
Definition: EMTFHit.h:264
l1t::EMTFHit::set_subsector_RPC
void set_subsector_RPC(int bits)
Definition: EMTFHit.h:142
l1t::EMTFHit::set_ring
void set_ring(int bits)
Definition: EMTFHit.h:137
l1t::EMTFHit::set_layer
void set_layer(int bits)
Definition: EMTFHit.h:174
l1t::EMTFHit::Strip
int Strip() const
Definition: EMTFHit.h:222