#include <L1MuGMTPSB.h>
Public Member Functions | |
const L1MuRegionalCand * | CSCMuon (int index) const |
get CSC muon More... | |
const L1MuRegionalCand * | DTBXMuon (int index) const |
get DTBX muon More... | |
bool | empty () const |
are there any data in the PSB More... | |
const L1MuGMTMatrix< bool > & | isolBits () const |
return isolation bits More... | |
L1MuGMTPSB (const L1MuGlobalMuonTrigger &gmt) | |
constructor More... | |
const L1MuGMTMatrix< bool > & | mipBits () const |
return minimum ionizing bits More... | |
int | numberCSC () const |
return number of non-empty CSC muons More... | |
int | numberDTBX () const |
return number of non-empty DTBX muons More... | |
int | numberRPC () const |
return number of non-empty RPC muons More... | |
void | print () const |
print PSB More... | |
void | receiveData (edm::Event &e, int bx) |
receive muon candidates More... | |
void | reset () |
clear PSB More... | |
const L1MuRegionalCand * | RPCMuon (int index) const |
get RPC muon More... | |
virtual | ~L1MuGMTPSB () |
destructor More... | |
Private Member Functions | |
void | getCalo (edm::Event &e) |
get Calorimeter Trigger data More... | |
void | getCSC (std::vector< L1MuRegionalCand > const *data, int bx) |
get muons from endcap Muon Trigger Track Finder More... | |
void | getDTBX (std::vector< L1MuRegionalCand > const *data, int bx) |
get muons from barrel Muon Trigger Track Finder More... | |
void | getRPCb (std::vector< L1MuRegionalCand > const *data, int bx) |
get muons from RPCb Trigger More... | |
void | getRPCf (std::vector< L1MuRegionalCand > const *data, int bx) |
get muons from RPCf Trigger More... | |
void | printCSC () const |
print CSC muons More... | |
void | printDTBX () const |
print DTBX muons More... | |
void | printRPCbarrel () const |
print barrel RPC muons More... | |
void | printRPCendcap () const |
print endcap RPC muons More... | |
Private Attributes | |
std::vector< L1MuRegionalCand > | m_CscMuons |
std::vector< L1MuRegionalCand > | m_DtbxMuons |
const L1MuGlobalMuonTrigger & | m_gmt |
L1MuGMTMatrix< bool > | m_Isol |
L1MuGMTMatrix< bool > | m_Mip |
std::vector< L1MuRegionalCand > | m_RpcMuons |
L1 Global Muon Trigger Pipelined Synchronising Buffer module.
the PSB receives muon candidates from the barrel track finder, the endcap track finder and from the RPC trigger. In addition it gets isolation and mip bits from the regional Calorimeter Trigger
Definition at line 48 of file L1MuGMTPSB.h.
L1MuGMTPSB::L1MuGMTPSB | ( | const L1MuGlobalMuonTrigger & | gmt | ) |
constructor
Definition at line 52 of file L1MuGMTPSB.cc.
References L1MuGMTMatrix< T >::init(), m_CscMuons, m_DtbxMuons, m_Isol, m_Mip, m_RpcMuons, L1MuGMTConfig::MAXCSC, L1MuGMTConfig::MAXDTBX, and L1MuGMTConfig::MAXRPC.
|
virtual |
destructor
Definition at line 70 of file L1MuGMTPSB.cc.
References m_CscMuons, m_DtbxMuons, m_RpcMuons, and reset().
const L1MuRegionalCand * L1MuGMTPSB::CSCMuon | ( | int | index | ) | const |
get CSC muon
Definition at line 250 of file L1MuGMTPSB.cc.
References getHLTprescales::index, m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMipIsoAU::load(), and L1MuGMTMerger::load().
const L1MuRegionalCand * L1MuGMTPSB::DTBXMuon | ( | int | index | ) | const |
get DTBX muon
Definition at line 240 of file L1MuGMTPSB.cc.
References getHLTprescales::index, m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMipIsoAU::load(), and L1MuGMTMerger::load().
bool L1MuGMTPSB::empty | ( | void | ) | const |
are there any data in the PSB
Definition at line 307 of file L1MuGMTPSB.cc.
References numberCSC(), numberDTBX(), and numberRPC().
Referenced by printCSC(), printDTBX(), printRPCbarrel(), printRPCendcap(), L1MuGlobalMuonTrigger::produce(), and receiveData().
|
private |
get Calorimeter Trigger data
Definition at line 452 of file L1MuGMTPSB.cc.
References L1MuGlobalMuonTrigger::currentReadoutRecord(), L1MuGMTConfig::Debug(), edm::Event::getByLabel(), L1MuGMTConfig::getMipIsoInputTag(), edm::HandleBase::isValid(), m_gmt, m_Isol, m_Mip, edm::Handle< T >::product(), L1MuGMTMatrix< T >::set(), L1MuGMTReadoutRecord::setMIPbit(), and L1MuGMTReadoutRecord::setQuietbit().
Referenced by receiveData().
|
private |
get muons from endcap Muon Trigger Track Finder
Definition at line 378 of file L1MuGMTPSB.cc.
References m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by receiveData().
|
private |
get muons from barrel Muon Trigger Track Finder
Definition at line 355 of file L1MuGMTPSB.cc.
References L1MuGMTConfig::Debug(), m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by receiveData().
|
private |
get muons from RPCb Trigger
Definition at line 319 of file L1MuGMTPSB.cc.
References m_RpcMuons, and L1MuGMTConfig::MAXRPCbarrel.
Referenced by receiveData().
|
private |
get muons from RPCf Trigger
Definition at line 337 of file L1MuGMTPSB.cc.
References m_RpcMuons, and L1MuGMTConfig::MAXRPCendcap.
Referenced by receiveData().
|
inline |
return isolation bits
Definition at line 89 of file L1MuGMTPSB.h.
References m_Isol.
Referenced by L1MuGMTMipIsoAU::assignISO().
|
inline |
return minimum ionizing bits
Definition at line 92 of file L1MuGMTPSB.h.
References m_Mip.
Referenced by L1MuGMTMipIsoAU::assignMIP().
int L1MuGMTPSB::numberCSC | ( | ) | const |
return number of non-empty CSC muons
Definition at line 291 of file L1MuGMTPSB.cc.
References prof2calltree::count, and m_CscMuons.
Referenced by empty().
int L1MuGMTPSB::numberDTBX | ( | ) | const |
return number of non-empty DTBX muons
Definition at line 275 of file L1MuGMTPSB.cc.
References prof2calltree::count, and m_DtbxMuons.
Referenced by empty().
int L1MuGMTPSB::numberRPC | ( | ) | const |
return number of non-empty RPC muons
Definition at line 259 of file L1MuGMTPSB.cc.
References prof2calltree::count, and m_RpcMuons.
Referenced by empty().
void L1MuGMTPSB::print | ( | void | ) | const |
print PSB
Definition at line 215 of file L1MuGMTPSB.cc.
References printCSC(), printDTBX(), printRPCbarrel(), and printRPCendcap().
Referenced by L1MuGlobalMuonTrigger::produce().
|
private |
print CSC muons
Definition at line 438 of file L1MuGMTPSB.cc.
References empty(), i, m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by print().
|
private |
print DTBX muons
Definition at line 424 of file L1MuGMTPSB.cc.
References empty(), i, m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by print().
|
private |
print barrel RPC muons
Definition at line 396 of file L1MuGMTPSB.cc.
References empty(), i, m_RpcMuons, and L1MuGMTConfig::MAXRPCbarrel.
Referenced by print().
|
private |
print endcap RPC muons
Definition at line 410 of file L1MuGMTPSB.cc.
References empty(), i, m_RpcMuons, and L1MuGMTConfig::MAXRPCendcap.
Referenced by print().
void L1MuGMTPSB::receiveData | ( | edm::Event & | e, |
int | bx | ||
) |
receive muon candidates
Definition at line 86 of file L1MuGMTPSB.cc.
References L1MuGlobalMuonTrigger::currentReadoutRecord(), L1MuGMTConfig::Debug(), empty(), L1MuRegionalCand::eta_packed(), edm::Event::getByLabel(), getCalo(), L1MuGMTConfig::getCaloTrigger(), getCSC(), L1MuGMTConfig::getCSCInputTag(), getDTBX(), L1MuGMTConfig::getDTInputTag(), L1MuGMTConfig::getGMTChanMask(), L1MuScale::getLowEdge(), L1MuTriggerScales::getPhiScale(), L1MuTriggerPtScale::getPtScale(), L1MuTriggerScales::getRegionalEtaScale(), getRPCb(), L1MuGMTConfig::getRPCbInputTag(), getRPCf(), L1MuGMTConfig::getRPCfInputTag(), L1MuGMTChannelMask::getSubsystemMask(), L1MuGMTConfig::getTriggerPtScale(), L1MuGMTConfig::getTriggerScales(), i, edm::HandleBase::isValid(), diffTwoXMLs::label, m_CscMuons, m_DtbxMuons, m_gmt, m_RpcMuons, L1MuRegionalCand::phi_packed(), edm::Handle< T >::product(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::setEtaValue(), L1MuGMTReadoutRecord::setInputCand(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), and L1MuRegionalCand::type_idx().
Referenced by L1MuGlobalMuonTrigger::produce().
void L1MuGMTPSB::reset | ( | void | ) |
clear PSB
Definition at line 194 of file L1MuGMTPSB.cc.
References L1MuGMTMatrix< T >::init(), m_CscMuons, m_DtbxMuons, m_Isol, m_Mip, and m_RpcMuons.
Referenced by L1MuGlobalMuonTrigger::reset(), and ~L1MuGMTPSB().
const L1MuRegionalCand * L1MuGMTPSB::RPCMuon | ( | int | index | ) | const |
get RPC muon
Definition at line 230 of file L1MuGMTPSB.cc.
References getHLTprescales::index, m_RpcMuons, and L1MuGMTConfig::MAXRPC.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMipIsoAU::load(), and L1MuGMTMerger::load().
|
private |
Definition at line 129 of file L1MuGMTPSB.h.
Referenced by CSCMuon(), getCSC(), L1MuGMTPSB(), numberCSC(), printCSC(), receiveData(), reset(), and ~L1MuGMTPSB().
|
private |
Definition at line 128 of file L1MuGMTPSB.h.
Referenced by DTBXMuon(), getDTBX(), L1MuGMTPSB(), numberDTBX(), printDTBX(), receiveData(), reset(), and ~L1MuGMTPSB().
|
private |
Definition at line 125 of file L1MuGMTPSB.h.
Referenced by getCalo(), and receiveData().
|
private |
Definition at line 131 of file L1MuGMTPSB.h.
Referenced by getCalo(), isolBits(), L1MuGMTPSB(), and reset().
|
private |
Definition at line 132 of file L1MuGMTPSB.h.
Referenced by getCalo(), L1MuGMTPSB(), mipBits(), and reset().
|
private |
Definition at line 127 of file L1MuGMTPSB.h.
Referenced by getRPCb(), getRPCf(), L1MuGMTPSB(), numberRPC(), printRPCbarrel(), printRPCendcap(), receiveData(), reset(), RPCMuon(), and ~L1MuGMTPSB().