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