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 // $Date: 2007/04/12 13:21:14 $
14 // $Revision: 1.3 $
15 //
16 // Author :
17 // N. Neumeister CERN EP
18 //
19 // Migrated to CMSSW:
20 // I. Mikulec
21 //
22 //--------------------------------------------------
23 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTPSB_h
24 #define L1TriggerGlobalMuonTrigger_L1MuGMTPSB_h
25 
26 //---------------
27 // C++ Headers --
28 //---------------
29 
30 #include <vector>
31 
32 //----------------------
33 // Base Class Headers --
34 //----------------------
35 
39 
40 //------------------------------------
41 // Collaborating Class Declarations --
42 //------------------------------------
43 
45 
46 // ---------------------
47 // -- Class Interface --
48 // ---------------------
49 
50 class L1MuGMTPSB {
51 
52  public:
53 
56 
58  virtual ~L1MuGMTPSB();
59 
61  void receiveData(edm::Event& e, int bx);
62 
64  void reset();
65 
67  void print() const;
68 
70  const L1MuRegionalCand* RPCMuon(int index) const;
71 
73  const L1MuRegionalCand* DTBXMuon(int index) const;
74 
76  const L1MuRegionalCand* CSCMuon(int index) const;
77 
79  int numberRPC() const;
80 
82  int numberDTBX() const;
83 
85  int numberCSC() const;
86 
88  bool empty() const;
89 
91  const L1MuGMTMatrix<bool>& isolBits() const { return m_Isol; }
92 
94  const L1MuGMTMatrix<bool>& mipBits() const { return m_Mip; }
95 
96  private:
97 
99  void getRPCb(std::vector<L1MuRegionalCand> const* data, int bx);
100 
102  void getRPCf(std::vector<L1MuRegionalCand> const* data, int bx);
103 
105  void getDTBX(std::vector<L1MuRegionalCand> const* data, int bx);
106 
108  void getCSC(std::vector<L1MuRegionalCand> const* data, int bx);
109 
111  void getCalo(edm::Event& e);
112 
114  void printRPCbarrel() const;
115 
117  void printRPCendcap() const;
118 
120  void printDTBX() const;
121 
123  void printCSC() const;
124 
125  private:
126 
128 
129  std::vector<L1MuRegionalCand> m_RpcMuons;
130  std::vector<L1MuRegionalCand> m_DtbxMuons;
131  std::vector<L1MuRegionalCand> m_CscMuons;
132 
135 
136 };
137 
138 #endif
void getRPCf(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCf Trigger
Definition: L1MuGMTPSB.cc:339
int numberDTBX() const
return number of non-empty DTBX muons
Definition: L1MuGMTPSB.cc:277
void print() const
print PSB
Definition: L1MuGMTPSB.cc:217
void getCSC(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from endcap Muon Trigger Track Finder
Definition: L1MuGMTPSB.cc:380
bool empty() const
are there any data in the PSB
Definition: L1MuGMTPSB.cc:309
void getCalo(edm::Event &e)
get Calorimeter Trigger data
Definition: L1MuGMTPSB.cc:454
const L1MuGlobalMuonTrigger & m_gmt
Definition: L1MuGMTPSB.h:127
void reset()
clear PSB
Definition: L1MuGMTPSB.cc:196
int numberRPC() const
return number of non-empty RPC muons
Definition: L1MuGMTPSB.cc:261
const L1MuRegionalCand * CSCMuon(int index) const
get CSC muon
Definition: L1MuGMTPSB.cc:252
void printDTBX() const
print DTBX muons
Definition: L1MuGMTPSB.cc:426
const L1MuRegionalCand * RPCMuon(int index) const
get RPC muon
Definition: L1MuGMTPSB.cc:232
virtual ~L1MuGMTPSB()
destructor
Definition: L1MuGMTPSB.cc:72
std::vector< L1MuRegionalCand > m_CscMuons
Definition: L1MuGMTPSB.h:131
L1MuGMTMatrix< bool > m_Isol
Definition: L1MuGMTPSB.h:133
void printRPCbarrel() const
print barrel RPC muons
Definition: L1MuGMTPSB.cc:398
void getRPCb(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCb Trigger
Definition: L1MuGMTPSB.cc:321
const L1MuRegionalCand * DTBXMuon(int index) const
get DTBX muon
Definition: L1MuGMTPSB.cc:242
void printCSC() const
print CSC muons
Definition: L1MuGMTPSB.cc:440
void receiveData(edm::Event &e, int bx)
receive muon candidates
Definition: L1MuGMTPSB.cc:88
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
L1MuGMTPSB(const L1MuGlobalMuonTrigger &gmt)
constructor
Definition: L1MuGMTPSB.cc:54
void printRPCendcap() const
print endcap RPC muons
Definition: L1MuGMTPSB.cc:412
void getDTBX(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from barrel Muon Trigger Track Finder
Definition: L1MuGMTPSB.cc:357
L1MuGMTMatrix< bool > m_Mip
Definition: L1MuGMTPSB.h:134
int numberCSC() const
return number of non-empty CSC muons
Definition: L1MuGMTPSB.cc:293
std::vector< L1MuRegionalCand > m_RpcMuons
Definition: L1MuGMTPSB.h:129
std::vector< L1MuRegionalCand > m_DtbxMuons
Definition: L1MuGMTPSB.h:130
const L1MuGMTMatrix< bool > & isolBits() const
return isolation bits
Definition: L1MuGMTPSB.h:91
const L1MuGMTMatrix< bool > & mipBits() const
return minimum ionizing bits
Definition: L1MuGMTPSB.h:94