CMS 3D CMS Logo

TPrimitives.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h
2 #define L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h
3 
8 
9 namespace emtf::phase2 {
10 
12 
13  struct TPInfo {
14  // Id
15  int hit_id = -1;
16  int segment_id = -1;
17 
18  // Selection
19  int bx = -999;
20  int ilink = -1;
22 
23  // Flags
24  bool flag_substitute = false;
25 
26  // Detector
27  int endcap = 0;
28  int endcap_pm = 0;
29  int sector = 0;
30  int subsector = 0;
31  int station = 0;
32  int ring = 0;
33  int roll = 0;
34  int layer = 0;
35  int chamber = 0;
36 
37  // CSC
38  int csc_id = -1;
40  int csc_first_wire = -1;
41  int csc_second_wire = -1;
42 
43  // RPC
45  };
46 
47  class TPEntry {
48  public:
49  TPEntry(const TPEntry&);
50  TPEntry(const TriggerPrimitive&);
51  TPEntry(const TriggerPrimitive&, const TPInfo&);
52  TPEntry(const CSCDetId&, const CSCCorrelatedLCTDigi&);
53  TPEntry(const RPCDetId&, const RPCRecHit&);
54  TPEntry(const GEMDetId&, const GEMPadDigiCluster&);
55  TPEntry(const ME0DetId&, const ME0TriggerDigi&);
56  TPEntry(const GEMDetId&, const ME0TriggerDigi&);
57 
58  ~TPEntry();
59 
62  };
63 
64 } // namespace emtf::phase2
65 
66 #endif // L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h not defined
TPEntry(const TPEntry &)
Definition: TPrimitives.cc:7
csc::Facing csc_facing
Definition: TPrimitives.h:39
TPSelection selection
Definition: TPrimitives.h:21
TriggerPrimitive tp_
Definition: TPrimitives.h:60