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 
51 
53 
54  public:
55 
57  L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger& gmt, int id);
58 
60  virtual ~L1MuGMTMipIsoAU();
61 
63  void run();
64 
66  void reset();
67 
69  void print() const;
70 
72  inline int id() const { return m_id; }
73 
75  inline const L1MuRegionalCand* muon(int idx) const { return m_muons[idx]; }
76 
78  inline bool MIP(int idx) const { return m_MIP[idx]; }
79 
81  inline bool ISO(int idx) const { return m_ISO[idx]; }
82 
83  const L1MuGlobalMuonTrigger& GMT () const { return m_gmt; };
84  private:
85 
86  void load();
87  void assignMIP();
88  void assignISO();
89 
90  private:
92  int m_id;
93 
94  std::vector<const L1MuRegionalCand*> m_muons;
95 
96  std::vector<bool> m_MIP;
97  std::vector<bool> m_ISO;
98 
99  std::vector<L1MuGMTPhiProjectionUnit*> m_MIP_PPUs;
100  std::vector<L1MuGMTEtaProjectionUnit*> m_MIP_EPUs;
101 
102  std::vector<L1MuGMTPhiProjectionUnit*> m_ISO_PPUs;
103  std::vector<L1MuGMTEtaProjectionUnit*> m_ISO_EPUs;
104 };
105 
106 #endif
107 
108 
109 
110 
111 
std::vector< L1MuGMTPhiProjectionUnit * > m_ISO_PPUs
void print() const
print results after MIP & ISO bit assignment
std::vector< bool > m_ISO
int id() const
return identifier (0: barrel, 1: endcap)
bool MIP(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
void reset()
clear MIP & ISO bit assignment unit
void run()
run GMT MIP & ISO bit assignment unit
L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger &gmt, int id)
constructor
const L1MuGlobalMuonTrigger & GMT() const
std::vector< bool > m_MIP
std::vector< const L1MuRegionalCand * > m_muons
std::vector< L1MuGMTPhiProjectionUnit * > m_MIP_PPUs
bool ISO(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
const L1MuGlobalMuonTrigger & m_gmt
std::vector< L1MuGMTEtaProjectionUnit * > m_ISO_EPUs
const L1MuRegionalCand * muon(int idx) const
return input muon (idx: 0..3: DT/CSC, 4..7: RPC)
virtual ~L1MuGMTMipIsoAU()
destructor
std::vector< L1MuGMTEtaProjectionUnit * > m_MIP_EPUs