#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, edm::ConsumesCollector &&iC) | |
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 49 of file L1MuGMTPSB.h.
L1MuGMTPSB::L1MuGMTPSB | ( | const L1MuGlobalMuonTrigger & | gmt, |
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 52 of file L1MuGMTPSB.cc.
References L1MuGMTConfig::getCSCInputTag(), L1MuGMTConfig::getDTInputTag(), L1MuGMTConfig::getMipIsoInputTag(), L1MuGMTConfig::getRPCbInputTag(), L1MuGMTConfig::getRPCfInputTag(), m_CscMuons, m_DtbxMuons, m_RpcMuons, L1MuGMTConfig::MAXCSC, L1MuGMTConfig::MAXDTBX, and L1MuGMTConfig::MAXRPC.
|
virtual |
destructor
Definition at line 72 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 238 of file L1MuGMTPSB.cc.
References m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMerger::load(), and L1MuGMTMipIsoAU::load().
const L1MuRegionalCand * L1MuGMTPSB::DTBXMuon | ( | int | index | ) | const |
get DTBX muon
Definition at line 231 of file L1MuGMTPSB.cc.
References m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMerger::load(), and L1MuGMTMipIsoAU::load().
bool L1MuGMTPSB::empty | ( | void | ) | const |
are there any data in the PSB
Definition at line 287 of file L1MuGMTPSB.cc.
References contentValuesFiles::number, numberCSC(), numberDTBX(), and numberRPC().
Referenced by printCSC(), printDTBX(), printRPCbarrel(), printRPCendcap(), L1MuGlobalMuonTrigger::produce(), and receiveData().
|
private |
get Calorimeter Trigger data
Definition at line 417 of file L1MuGMTPSB.cc.
References L1MuGlobalMuonTrigger::currentReadoutRecord(), L1MuGMTConfig::Debug(), MillePedeFileConverter_cfg::e, 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 353 of file L1MuGMTPSB.cc.
References l1GtPatternGenerator_cfi::bx, data, m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by receiveData().
|
private |
get muons from barrel Muon Trigger Track Finder
Definition at line 330 of file L1MuGMTPSB.cc.
References l1GtPatternGenerator_cfi::bx, data, L1MuGMTConfig::Debug(), m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by receiveData().
|
private |
get muons from RPCb Trigger
Definition at line 296 of file L1MuGMTPSB.cc.
References l1GtPatternGenerator_cfi::bx, data, m_RpcMuons, and L1MuGMTConfig::MAXRPCbarrel.
Referenced by receiveData().
|
private |
get muons from RPCf Trigger
Definition at line 313 of file L1MuGMTPSB.cc.
References l1GtPatternGenerator_cfi::bx, data, m_RpcMuons, and L1MuGMTConfig::MAXRPCendcap.
Referenced by receiveData().
|
inline |
return isolation bits
Definition at line 88 of file L1MuGMTPSB.h.
References m_Isol.
Referenced by L1MuGMTMipIsoAU::assignISO().
|
inline |
return minimum ionizing bits
Definition at line 91 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 273 of file L1MuGMTPSB.cc.
References KineDebug3::count(), and m_CscMuons.
Referenced by empty().
int L1MuGMTPSB::numberDTBX | ( | ) | const |
return number of non-empty DTBX muons
Definition at line 259 of file L1MuGMTPSB.cc.
References KineDebug3::count(), and m_DtbxMuons.
Referenced by empty().
int L1MuGMTPSB::numberRPC | ( | ) | const |
return number of non-empty RPC muons
Definition at line 245 of file L1MuGMTPSB.cc.
References KineDebug3::count(), and m_RpcMuons.
Referenced by empty().
void L1MuGMTPSB::print | ( | void | ) | const |
print PSB
Definition at line 212 of file L1MuGMTPSB.cc.
References printCSC(), printDTBX(), printRPCbarrel(), and printRPCendcap().
Referenced by L1MuGlobalMuonTrigger::produce().
|
private |
print CSC muons
Definition at line 405 of file L1MuGMTPSB.cc.
References empty(), mps_fire::i, m_CscMuons, and L1MuGMTConfig::MAXCSC.
Referenced by print().
|
private |
print DTBX muons
Definition at line 393 of file L1MuGMTPSB.cc.
References empty(), mps_fire::i, m_DtbxMuons, and L1MuGMTConfig::MAXDTBX.
Referenced by print().
|
private |
print barrel RPC muons
Definition at line 369 of file L1MuGMTPSB.cc.
References empty(), mps_fire::i, m_RpcMuons, and L1MuGMTConfig::MAXRPCbarrel.
Referenced by print().
|
private |
print endcap RPC muons
Definition at line 381 of file L1MuGMTPSB.cc.
References empty(), mps_fire::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 l1GtPatternGenerator_cfi::bx, L1MuGlobalMuonTrigger::currentReadoutRecord(), L1MuGMTConfig::Debug(), MillePedeFileConverter_cfg::e, empty(), 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(), mps_fire::i, edm::HandleBase::isValid(), label, m_CscMuons, m_DtbxMuons, m_gmt, m_RpcMuons, edm::Handle< T >::product(), and L1MuGMTReadoutRecord::setInputCand().
Referenced by L1MuGlobalMuonTrigger::produce().
void L1MuGMTPSB::reset | ( | void | ) |
clear PSB
Definition at line 191 of file L1MuGMTPSB.cc.
References m_CscMuons, m_DtbxMuons, m_Isol, m_Mip, m_RpcMuons, and L1MuGMTMatrix< T >::reset().
Referenced by L1MuGlobalMuonTrigger::reset(), and ~L1MuGMTPSB().
const L1MuRegionalCand * L1MuGMTPSB::RPCMuon | ( | int | index | ) | const |
get RPC muon
Definition at line 224 of file L1MuGMTPSB.cc.
References m_RpcMuons, and L1MuGMTConfig::MAXRPC.
Referenced by L1MuGMTMatcher::load(), L1MuGMTMerger::load(), and L1MuGMTMipIsoAU::load().
|
private |
Definition at line 126 of file L1MuGMTPSB.h.
Referenced by CSCMuon(), getCSC(), L1MuGMTPSB(), numberCSC(), printCSC(), receiveData(), reset(), and ~L1MuGMTPSB().
|
private |
Definition at line 125 of file L1MuGMTPSB.h.
Referenced by DTBXMuon(), getDTBX(), L1MuGMTPSB(), numberDTBX(), printDTBX(), receiveData(), reset(), and ~L1MuGMTPSB().
|
private |
Definition at line 122 of file L1MuGMTPSB.h.
Referenced by getCalo(), and receiveData().
|
private |
Definition at line 128 of file L1MuGMTPSB.h.
Referenced by getCalo(), isolBits(), and reset().
|
private |
Definition at line 129 of file L1MuGMTPSB.h.
|
private |
Definition at line 124 of file L1MuGMTPSB.h.
Referenced by getRPCb(), getRPCf(), L1MuGMTPSB(), numberRPC(), printRPCbarrel(), printRPCendcap(), receiveData(), reset(), RPCMuon(), and ~L1MuGMTPSB().