CMS 3D CMS Logo

L1MuGMTMipIsoAU.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //
14 //
15 // Author :
16 // H. Sakulin CERN EP
17 //
18 // Migrated to CMSSW:
19 // I. Mikulec
20 //
21 //--------------------------------------------------
22 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMipIsoAU_h
23 #define L1TriggerGlobalMuonTrigger_L1MuGMTMipIsoAU_h
24 
25 //---------------
26 // C++ Headers --
27 //---------------
28 
29 #include <vector>
30 
31 //----------------------
32 // Base Class Headers --
33 //----------------------
34 
35 //------------------------------------
36 // Collaborating Class Declarations --
37 //------------------------------------
38 
41 
43 class L1MuGMTCand;
46 
47 // ---------------------
48 // -- Class Interface --
49 // ---------------------
50 
52 public:
54  L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger& gmt, int id);
55 
57  virtual ~L1MuGMTMipIsoAU();
58 
60  void run();
61 
63  void reset();
64 
66  void print() const;
67 
69  inline int id() const { return m_id; }
70 
72  inline const L1MuRegionalCand* muon(int idx) const { return m_muons[idx]; }
73 
75  inline bool MIP(int idx) const { return m_MIP[idx]; }
76 
78  inline bool ISO(int idx) const { return m_ISO[idx]; }
79 
80  const L1MuGlobalMuonTrigger& GMT() const { return m_gmt; };
81 
82 private:
83  void load();
84  void assignMIP();
85  void assignISO();
86 
87 private:
89  int m_id;
90 
91  std::vector<const L1MuRegionalCand*> m_muons;
92 
93  std::vector<bool> m_MIP;
94  std::vector<bool> m_ISO;
95 
96  std::vector<L1MuGMTPhiProjectionUnit*> m_MIP_PPUs;
97  std::vector<L1MuGMTEtaProjectionUnit*> m_MIP_EPUs;
98 
99  std::vector<L1MuGMTPhiProjectionUnit*> m_ISO_PPUs;
100  std::vector<L1MuGMTEtaProjectionUnit*> m_ISO_EPUs;
101 };
102 
103 #endif
std::vector< L1MuGMTPhiProjectionUnit * > m_ISO_PPUs
const L1MuRegionalCand * muon(int idx) const
return input muon (idx: 0..3: DT/CSC, 4..7: RPC)
const L1MuGlobalMuonTrigger & GMT() const
std::vector< bool > m_ISO
bool MIP(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
void print() const
print results after MIP & ISO bit assignment
void reset()
clear MIP & ISO bit assignment unit
void run()
run GMT MIP & ISO bit assignment unit
L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger &gmt, int id)
constructor
std::vector< bool > m_MIP
int id() const
return identifier (0: barrel, 1: endcap)
bool ISO(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
std::vector< const L1MuRegionalCand * > m_muons
std::vector< L1MuGMTPhiProjectionUnit * > m_MIP_PPUs
const L1MuGlobalMuonTrigger & m_gmt
std::vector< L1MuGMTEtaProjectionUnit * > m_ISO_EPUs
virtual ~L1MuGMTMipIsoAU()
destructor
std::vector< L1MuGMTEtaProjectionUnit * > m_MIP_EPUs