#include <RPCTBGhostBuster.h>
Public Member Functions | |
L1RpcTBMuonsVec | gBEta (L1RpcTBMuonsVec2 &gbPhiMuonsVec2) const |
L1RpcTBMuonsVec | gBPhi (L1RpcTBMuonsVec &pacMuonsVec) const |
L1RpcTBMuonsVec | run (L1RpcTBMuonsVec2 &pacMuonsVec2) const |
Peformes the Trigger Board Ghost Buster and sorter algorithms. Because the class does not keep any data and GB is the same for every TB, there might be one and the same object of this class for all TBs.
Definition at line 13 of file RPCTBGhostBuster.h.
L1RpcTBMuonsVec RPCTBGhostBuster::gBEta | ( | L1RpcTBMuonsVec2 & | gbPhiMuonsVec2 | ) | const |
gbPhiMuonsVec2 | size() should be equal to 4 (max number of m_tower in TB). Performs the Eta Goustbuster - between muons from diferent towers. Calls RPCTBMuon::setPhiAddr() for each alive muon. |
Definition at line 124 of file RPCTBGhostBuster.cc.
References funct::abs(), RPCConst::m_GBETA_OUT_MUONS_CNT, and jetsAK4_CHS_cff::sort.
L1RpcTBMuonsVec RPCTBGhostBuster::gBPhi | ( | L1RpcTBMuonsVec & | pacMuonsVec | ) | const |
pacMuonsVec | pacMuonsVec.size() should be equal to 12 (Segment in given TB count) or 0, Performs Phi Goustbuster - between muons in one sector of the same m_tower. |
Definition at line 51 of file RPCTBGhostBuster.cc.
References RPCConst::m_GBPHI_OUT_MUONS_CNT, RPCConst::m_SEGMENTS_IN_SECTOR_CNT, and jetsAK4_CHS_cff::sort.
L1RpcTBMuonsVec RPCTBGhostBuster::run | ( | L1RpcTBMuonsVec2 & | pacMuonsVec2 | ) | const |
Calls gBPhi and gBEta.
pacMuonsVec2 | pacMuonsVec2[0..3][0..11] (4 Towers x 12 Segments (PACs) ), if pacMuonsVec2[i].size() == 0, means no nonempty muon. |
Definition at line 15 of file RPCTBGhostBuster.cc.
Referenced by RPCTriggerBoard::runTBGB().