CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuGMTPSB.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
12 //
13 //
14 // Author :
15 // N. Neumeister CERN EP
16 //
17 // Migrated to CMSSW:
18 // I. Mikulec
19 //
20 //--------------------------------------------------
21 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTPSB_h
22 #define L1TriggerGlobalMuonTrigger_L1MuGMTPSB_h
23 
24 //---------------
25 // C++ Headers --
26 //---------------
27 
28 #include <vector>
29 
30 //----------------------
31 // Base Class Headers --
32 //----------------------
33 
37 
38 //------------------------------------
39 // Collaborating Class Declarations --
40 //------------------------------------
41 
43 
44 // ---------------------
45 // -- Class Interface --
46 // ---------------------
47 
48 class L1MuGMTPSB {
49 
50  public:
51 
54 
56  virtual ~L1MuGMTPSB();
57 
59  void receiveData(edm::Event& e, int bx);
60 
62  void reset();
63 
65  void print() const;
66 
68  const L1MuRegionalCand* RPCMuon(int index) const;
69 
71  const L1MuRegionalCand* DTBXMuon(int index) const;
72 
74  const L1MuRegionalCand* CSCMuon(int index) const;
75 
77  int numberRPC() const;
78 
80  int numberDTBX() const;
81 
83  int numberCSC() const;
84 
86  bool empty() const;
87 
89  const L1MuGMTMatrix<bool>& isolBits() const { return m_Isol; }
90 
92  const L1MuGMTMatrix<bool>& mipBits() const { return m_Mip; }
93 
94  private:
95 
97  void getRPCb(std::vector<L1MuRegionalCand> const* data, int bx);
98 
100  void getRPCf(std::vector<L1MuRegionalCand> const* data, int bx);
101 
103  void getDTBX(std::vector<L1MuRegionalCand> const* data, int bx);
104 
106  void getCSC(std::vector<L1MuRegionalCand> const* data, int bx);
107 
109  void getCalo(edm::Event& e);
110 
112  void printRPCbarrel() const;
113 
115  void printRPCendcap() const;
116 
118  void printDTBX() const;
119 
121  void printCSC() const;
122 
123  private:
124 
126 
127  std::vector<L1MuRegionalCand> m_RpcMuons;
128  std::vector<L1MuRegionalCand> m_DtbxMuons;
129  std::vector<L1MuRegionalCand> m_CscMuons;
130 
133 
134 };
135 
136 #endif
void getRPCf(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCf Trigger
Definition: L1MuGMTPSB.cc:337
int numberDTBX() const
return number of non-empty DTBX muons
Definition: L1MuGMTPSB.cc:275
void print() const
print PSB
Definition: L1MuGMTPSB.cc:215
void getCSC(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from endcap Muon Trigger Track Finder
Definition: L1MuGMTPSB.cc:378
bool empty() const
are there any data in the PSB
Definition: L1MuGMTPSB.cc:307
void getCalo(edm::Event &e)
get Calorimeter Trigger data
Definition: L1MuGMTPSB.cc:452
const L1MuGlobalMuonTrigger & m_gmt
Definition: L1MuGMTPSB.h:125
void reset()
clear PSB
Definition: L1MuGMTPSB.cc:194
int numberRPC() const
return number of non-empty RPC muons
Definition: L1MuGMTPSB.cc:259
const L1MuRegionalCand * CSCMuon(int index) const
get CSC muon
Definition: L1MuGMTPSB.cc:250
void printDTBX() const
print DTBX muons
Definition: L1MuGMTPSB.cc:424
const L1MuRegionalCand * RPCMuon(int index) const
get RPC muon
Definition: L1MuGMTPSB.cc:230
virtual ~L1MuGMTPSB()
destructor
Definition: L1MuGMTPSB.cc:70
std::vector< L1MuRegionalCand > m_CscMuons
Definition: L1MuGMTPSB.h:129
L1MuGMTMatrix< bool > m_Isol
Definition: L1MuGMTPSB.h:131
void printRPCbarrel() const
print barrel RPC muons
Definition: L1MuGMTPSB.cc:396
void getRPCb(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCb Trigger
Definition: L1MuGMTPSB.cc:319
const L1MuRegionalCand * DTBXMuon(int index) const
get DTBX muon
Definition: L1MuGMTPSB.cc:240
void printCSC() const
print CSC muons
Definition: L1MuGMTPSB.cc:438
void receiveData(edm::Event &e, int bx)
receive muon candidates
Definition: L1MuGMTPSB.cc:86
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
L1MuGMTPSB(const L1MuGlobalMuonTrigger &gmt)
constructor
Definition: L1MuGMTPSB.cc:52
void printRPCendcap() const
print endcap RPC muons
Definition: L1MuGMTPSB.cc:410
void getDTBX(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from barrel Muon Trigger Track Finder
Definition: L1MuGMTPSB.cc:355
L1MuGMTMatrix< bool > m_Mip
Definition: L1MuGMTPSB.h:132
int numberCSC() const
return number of non-empty CSC muons
Definition: L1MuGMTPSB.cc:291
std::vector< L1MuRegionalCand > m_RpcMuons
Definition: L1MuGMTPSB.h:127
std::vector< L1MuRegionalCand > m_DtbxMuons
Definition: L1MuGMTPSB.h:128
const L1MuGMTMatrix< bool > & isolBits() const
return isolation bits
Definition: L1MuGMTPSB.h:89
const L1MuGMTMatrix< bool > & mipBits() const
return minimum ionizing bits
Definition: L1MuGMTPSB.h:92