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
L1MuGMTMipIsoAU::assignISO
void assignISO()
Definition: L1MuGMTMipIsoAU.cc:238
L1MuGMTMipIsoAU::reset
void reset()
clear MIP & ISO bit assignment unit
Definition: L1MuGMTMipIsoAU.cc:138
L1MuGMTMipIsoAU::m_ISO_EPUs
std::vector< L1MuGMTEtaProjectionUnit * > m_ISO_EPUs
Definition: L1MuGMTMipIsoAU.h:100
L1MuGMTMipIsoAU::id
int id() const
return identifier (0: barrel, 1: endcap)
Definition: L1MuGMTMipIsoAU.h:69
L1MuGMTMipIsoAU::load
void load()
Definition: L1MuGMTMipIsoAU.cc:188
L1MuGMTMipIsoAU::m_id
int m_id
Definition: L1MuGMTMipIsoAU.h:89
L1MuGMTMipIsoAU::m_MIP
std::vector< bool > m_MIP
Definition: L1MuGMTMipIsoAU.h:93
training_settings.idx
idx
Definition: training_settings.py:16
L1MuGMTMipIsoAU::print
void print() const
print results after MIP & ISO bit assignment
Definition: L1MuGMTMipIsoAU.cc:168
L1MuGMTCand
Definition: L1MuGMTCand.h:39
L1MuGMTMipIsoAU::m_MIP_PPUs
std::vector< L1MuGMTPhiProjectionUnit * > m_MIP_PPUs
Definition: L1MuGMTMipIsoAU.h:96
L1MuRegionalCand.h
L1MuGMTMipIsoAU::GMT
const L1MuGlobalMuonTrigger & GMT() const
Definition: L1MuGMTMipIsoAU.h:80
L1MuGMTMipIsoAU
Definition: L1MuGMTMipIsoAU.h:51
L1MuGMTMipIsoAU::muon
const L1MuRegionalCand * muon(int idx) const
return input muon (idx: 0..3: DT/CSC, 4..7: RPC)
Definition: L1MuGMTMipIsoAU.h:72
L1MuGlobalMuonTrigger
Definition: L1MuGlobalMuonTrigger.h:50
L1MuRegionalCand
Definition: L1MuRegionalCand.h:26
L1MuGMTConfig.h
L1MuGMTMipIsoAU::~L1MuGMTMipIsoAU
virtual ~L1MuGMTMipIsoAU()
destructor
Definition: L1MuGMTMipIsoAU.cc:77
L1MuGMTMipIsoAU::m_ISO_PPUs
std::vector< L1MuGMTPhiProjectionUnit * > m_ISO_PPUs
Definition: L1MuGMTMipIsoAU.h:99
L1MuGMTMipIsoAU::m_ISO
std::vector< bool > m_ISO
Definition: L1MuGMTMipIsoAU.h:94
L1MuGMTEtaProjectionUnit
Definition: L1MuGMTEtaProjectionUnit.h:49
L1MuGMTMipIsoAU::MIP
bool MIP(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
Definition: L1MuGMTMipIsoAU.h:75
L1MuGMTMipIsoAU::ISO
bool ISO(int idx) const
return select matrix (idx 0..3: DT/CSC, idx 4..7: RPC)
Definition: L1MuGMTMipIsoAU.h:78
L1MuGMTMipIsoAU::m_muons
std::vector< const L1MuRegionalCand * > m_muons
Definition: L1MuGMTMipIsoAU.h:91
L1MuGMTMipIsoAU::assignMIP
void assignMIP()
Definition: L1MuGMTMipIsoAU.cc:213
L1MuGMTMipIsoAU::m_MIP_EPUs
std::vector< L1MuGMTEtaProjectionUnit * > m_MIP_EPUs
Definition: L1MuGMTMipIsoAU.h:97
L1MuGMTMipIsoAU::m_gmt
const L1MuGlobalMuonTrigger & m_gmt
Definition: L1MuGMTMipIsoAU.h:88
L1MuGMTMipIsoAU::L1MuGMTMipIsoAU
L1MuGMTMipIsoAU(const L1MuGlobalMuonTrigger &gmt, int id)
constructor
Definition: L1MuGMTMipIsoAU.cc:53
L1MuGMTMipIsoAU::run
void run()
run GMT MIP & ISO bit assignment unit
Definition: L1MuGMTMipIsoAU.cc:110
L1MuGMTPhiProjectionUnit
Definition: L1MuGMTPhiProjectionUnit.h:50