CMS 3D CMS Logo

EMTFHit.cc
Go to the documentation of this file.
2 
3 namespace l1t {
4 
6  return CSCDetId( (endcap == 1) ? 1 : 2, station,
7  (ring == 4) ? 1 : ring, chamber, 0 );
8  // Layer always filled as 0 (indicates "whole chamber")
9  // See http://cmslxr.fnal.gov/source/L1Trigger/CSCTriggerPrimitives/src/CSCTriggerPrimitivesBuilder.cc#0198
10  }
11 
12  // // Not yet implemented - AWB 15.03.17
13  // RPCDetId EMTFHit::CreateRPCDetId() const {
14  // return RPCDetId( endcap, ring, station, sector, rpc_layer, subsector, roll );
15  // }
16 
19  pattern, (bend == 1) ? 1 : 0,
20  bx + 6, 0, 0, sync_err, csc_ID );
21  // Filling "trknmb" with 1 and "bx0" with 0 (as in MC).
22  // May consider filling "trknmb" with 2 for 2nd LCT in the same chamber. - AWB 24.05.17
23  // trknmb and bx0 are unused in the EMTF emulator code. mpclink = 0 (after bx) indicates unsorted.
24  }
25 
26  // // Not yet implemented - AWB 15.03.17
27  // RPCDigi EMTFHit::CreateRPCDigi() const {
28  // return RPCDigi( (strip_hi + strip_lo) / 2, bx + 6 );
29  // }
30 
31 } // End namespace l1t
int station
Definition: EMTFHit.h:186
delete x;
Definition: CaloConfig.h:22
int sync_err
Definition: EMTFHit.h:212
CSCDetId CreateCSCDetId() const
Definition: EMTFHit.cc:5
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi() const
Definition: EMTFHit.cc:17
int pattern
Definition: EMTFHit.h:209
int endcap
Definition: EMTFHit.h:185
int quality
Definition: EMTFHit.h:208
int chamber
Definition: EMTFHit.h:193
int csc_ID
Definition: EMTFHit.h:194