CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuGMTMipIsoAU.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //
14 // $Date: 2007/03/23 18:51:35 $
15 // $Revision: 1.2 $
16 //
17 // Author :
18 // H. Sakulin CERN EP
19 //
20 // Migrated to CMSSW:
21 // I. Mikulec
22 //
23 //--------------------------------------------------
24 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTMipIsoAU_h
25 #define L1TriggerGlobalMuonTrigger_L1MuGMTMipIsoAU_h
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 
31 #include <vector>
32 
33 //----------------------
34 // Base Class Headers --
35 //----------------------
36 
37 //------------------------------------
38 // Collaborating Class Declarations --
39 //------------------------------------
40 
43 
45 class L1MuGMTCand;
48 
49 // ---------------------
50 // -- Class Interface --
51 // ---------------------
52 
53 
55 
56  public:
57 
59  L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger& gmt, int id);
60 
62  virtual ~L1MuGMTMipIsoAU();
63 
65  void run();
66 
68  void reset();
69 
71  void print() const;
72 
74  inline int id() const { return m_id; }
75 
77  inline const L1MuRegionalCand* muon(int idx) const { return m_muons[idx]; }
78 
80  inline bool MIP(int idx) const { return m_MIP[idx]; }
81 
83  inline bool ISO(int idx) const { return m_ISO[idx]; }
84 
85  const L1MuGlobalMuonTrigger& GMT () const { return m_gmt; };
86  private:
87 
88  void load();
89  void assignMIP();
90  void assignISO();
91 
92  private:
94  int m_id;
95 
96  std::vector<const L1MuRegionalCand*> m_muons;
97 
98  std::vector<bool> m_MIP;
99  std::vector<bool> m_ISO;
100 
101  std::vector<L1MuGMTPhiProjectionUnit*> m_MIP_PPUs;
102  std::vector<L1MuGMTEtaProjectionUnit*> m_MIP_EPUs;
103 
104  std::vector<L1MuGMTPhiProjectionUnit*> m_ISO_PPUs;
105  std::vector<L1MuGMTEtaProjectionUnit*> m_ISO_EPUs;
106 };
107 
108 #endif
109 
110 
111 
112 
113 
std::vector< L1MuGMTPhiProjectionUnit * > m_ISO_PPUs
void print() const
print results after MIP &amp; 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 &amp; ISO bit assignment unit
void run()
run GMT MIP &amp; 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