#include <L1MuGMTReadoutRecord.h>
Public Member Functions | |
int | getBCERR () const |
std::vector< L1MuRegionalCand > | getBrlRPCCands () const |
get barrel RPC candidates vector More... | |
int | getBxCounter () const |
int | getBxInEvent () const |
int | getBxNr () const |
get counters More... | |
std::vector< L1MuRegionalCand > | getCSCCands () const |
get CSC candidates vector More... | |
std::vector< L1MuRegionalCand > | getDTBXCands () const |
get DT candidates vector More... | |
int | getEvNr () const |
std::vector< L1MuRegionalCand > | getFwdRPCCands () const |
get forward RPC candidates vector More... | |
std::vector< L1MuGMTExtendedCand > | getGMTBrlCands () const |
get GMT barrel candidates vector More... | |
std::vector< L1MuGMTExtendedCand > & | getGMTBrlCandsData () |
std::vector< L1MuGMTExtendedCand > | getGMTCands () const |
get GMT candidates vector More... | |
std::vector< L1MuGMTExtendedCand > & | getGMTCandsData () |
get GMT candidates vector as stored in data (no rank info) More... | |
std::vector< L1MuGMTExtendedCand > | getGMTFwdCands () const |
get GMT forward candidates vector More... | |
unsigned | getMIPbit (int eta, int phi) const |
get MIP bit More... | |
unsigned | getQuietbit (int eta, int phi) const |
get Quiet bit More... | |
L1MuGMTReadoutRecord () | |
constructors More... | |
L1MuGMTReadoutRecord (int bxie) | |
void | reset () |
reset the record More... | |
void | setBCERR (int bcerr) |
void | setBxCounter (int bxie) |
void | setBxInEvent (int bxie) |
void | setBxNr (int bxnr) |
set counters More... | |
void | setEvNr (int evnr) |
void | setGMTBrlCand (int nr, L1MuGMTExtendedCand const &cand) |
set GMT barrel candidate More... | |
void | setGMTBrlCand (int nr, unsigned data, unsigned rank) |
set GMT barrel candidate More... | |
void | setGMTCand (int nr, L1MuGMTExtendedCand const &cand) |
set GMT candidate (does not store rank) More... | |
void | setGMTCand (int nr, unsigned data) |
set GMT candidate (does not store rank) More... | |
void | setGMTFwdCand (int nr, L1MuGMTExtendedCand const &cand) |
set GMT forward candidate More... | |
void | setGMTFwdCand (int nr, unsigned data, unsigned rank) |
set GMT forward candidate More... | |
void | setInputCand (int nr, unsigned data) |
set Input muon More... | |
void | setInputCand (int nr, L1MuRegionalCand const &cand) |
set Input muon More... | |
void | setMIPbit (int eta, int phi) |
set MIP bit More... | |
void | setQuietbit (int eta, int phi) |
set Quiet bit More... | |
virtual | ~L1MuGMTReadoutRecord () |
destructor More... | |
Private Member Functions | |
unsigned | getBrlRank (int i) const |
get rank of brl cand i More... | |
unsigned | getFwdRank (int i) const |
get rank of fwd cand i More... | |
void | setBrlRank (int i, unsigned value) |
set rank of brl cand i More... | |
void | setFwdRank (int i, unsigned value) |
set rank of fwd cand i More... | |
Private Attributes | |
std::vector< L1MuGMTExtendedCand > | m_BarrelCands |
unsigned | m_BCERR |
unsigned | m_BxInEvent |
unsigned | m_BxNr |
unsigned | m_EvNr |
std::vector< L1MuGMTExtendedCand > | m_ForwardCands |
std::vector< L1MuGMTExtendedCand > | m_GMTCands |
std::vector< L1MuRegionalCand > | m_InputCands |
unsigned | m_MIPbits [8] |
unsigned | m_Quietbits [8] |
L1 Global Muon Trigger Readout Buffer
Contains the data that the GMT sends to readout for one bunch crossing.
Only simple data members are used so that it is easier to make the data persistent or use it in an other context.
L1 Global Muon Trigger Readout Record
Contains the data that the GMT will send to readout for one bunch crossing.
Definition at line 44 of file L1MuGMTReadoutRecord.h.
L1MuGMTReadoutRecord::L1MuGMTReadoutRecord | ( | ) |
constructors
Definition at line 49 of file L1MuGMTReadoutRecord.cc.
References reset().
L1MuGMTReadoutRecord::L1MuGMTReadoutRecord | ( | int | bxie | ) |
Definition at line 54 of file L1MuGMTReadoutRecord.cc.
References m_BxInEvent, and reset().
|
virtual |
|
inline |
Definition at line 66 of file L1MuGMTReadoutRecord.h.
References getGMTBrlCands(), getGMTCands(), getGMTCandsData(), and m_BCERR.
Referenced by L1GTDigiToRaw::packGMT().
|
private |
get rank of brl cand i
Definition at line 290 of file L1MuGMTReadoutRecord.cc.
References mps_fire::i, and m_BarrelCands.
Referenced by setBCERR().
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getBrlRPCCands | ( | ) | const |
get barrel RPC candidates vector
Definition at line 171 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, mps_fire::i, and m_InputCands.
Referenced by getGMTBrlCandsData(), L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().
|
inline |
|
inline |
Definition at line 64 of file L1MuGMTReadoutRecord.h.
References m_BxInEvent.
Referenced by L1GTDigiToRaw::packGMT().
|
inline |
get counters
Definition at line 62 of file L1MuGMTReadoutRecord.h.
References m_BxNr.
Referenced by L1TGT::analyze(), and L1GTDigiToRaw::packGMT().
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getCSCCands | ( | ) | const |
get CSC candidates vector
Definition at line 159 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, mps_fire::i, and m_InputCands.
Referenced by getGMTBrlCandsData(), L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getDTBXCands | ( | ) | const |
get DT candidates vector
Definition at line 145 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, mps_fire::i, and m_InputCands.
Referenced by getGMTBrlCandsData(), L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().
|
inline |
Definition at line 65 of file L1MuGMTReadoutRecord.h.
References m_EvNr.
Referenced by L1GTDigiToRaw::packGMT().
|
private |
get rank of fwd cand i
Definition at line 298 of file L1MuGMTReadoutRecord.cc.
References mps_fire::i, and m_ForwardCands.
Referenced by setBCERR().
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getFwdRPCCands | ( | ) | const |
get forward RPC candidates vector
Definition at line 183 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, mps_fire::i, and m_InputCands.
Referenced by getGMTBrlCandsData(), L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTBrlCands | ( | ) | const |
get GMT barrel candidates vector
Definition at line 119 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, and m_BarrelCands.
Referenced by getBCERR(), and L1GTDigiToRaw::packGMT().
|
inline |
Definition at line 76 of file L1MuGMTReadoutRecord.h.
References PVValHelper::eta, getBrlRPCCands(), getCSCCands(), getDTBXCands(), getFwdRPCCands(), getGMTFwdCands(), getMIPbit(), getQuietbit(), m_BarrelCands, and phi.
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTCands | ( | ) | const |
get GMT candidates vector
Definition at line 92 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, m_BarrelCands, m_ForwardCands, and L1MuGMTExtendedCand::rankRef().
Referenced by getBCERR(), L1GTDigiToRaw::packGMT(), L1ExtraParticlesProd::produce(), and L1TMuonLegacyConverter::produce().
vector< L1MuGMTExtendedCand > & L1MuGMTReadoutRecord::getGMTCandsData | ( | ) |
get GMT candidates vector as stored in data (no rank info)
Definition at line 112 of file L1MuGMTReadoutRecord.cc.
References m_GMTCands.
Referenced by getBCERR().
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTFwdCands | ( | ) | const |
get GMT forward candidates vector
Definition at line 132 of file L1MuGMTReadoutRecord.cc.
References egammaForCoreTracking_cff::cands, and m_ForwardCands.
Referenced by getGMTBrlCandsData(), and L1GTDigiToRaw::packGMT().
unsigned L1MuGMTReadoutRecord::getMIPbit | ( | int | eta, |
int | phi | ||
) | const |
get MIP bit
Definition at line 195 of file L1MuGMTReadoutRecord.cc.
References training_settings::idx, m_MIPbits, RecoTauDiscriminantConfiguration::mask, and phi.
Referenced by getGMTBrlCandsData().
unsigned L1MuGMTReadoutRecord::getQuietbit | ( | int | eta, |
int | phi | ||
) | const |
get Quiet bit
Definition at line 211 of file L1MuGMTReadoutRecord.cc.
References training_settings::idx, m_Quietbits, RecoTauDiscriminantConfiguration::mask, and phi.
Referenced by getGMTBrlCandsData().
void L1MuGMTReadoutRecord::reset | ( | void | ) |
reset the record
Definition at line 71 of file L1MuGMTReadoutRecord.cc.
References mps_fire::i, m_BarrelCands, m_BCERR, m_BxInEvent, m_BxNr, m_EvNr, m_ForwardCands, m_GMTCands, m_InputCands, m_MIPbits, and m_Quietbits.
Referenced by L1MuGMTReadoutRecord().
|
inline |
Definition at line 109 of file L1MuGMTReadoutRecord.h.
References data, getBrlRank(), getFwdRank(), mps_fire::i, m_BCERR, setBrlRank(), setFwdRank(), setGMTBrlCand(), setGMTCand(), setGMTFwdCand(), setInputCand(), setMIPbit(), and setQuietbit().
Referenced by L1GlobalTriggerRawToDigi::unpackGMT().
|
private |
set rank of brl cand i
Definition at line 305 of file L1MuGMTReadoutRecord.cc.
References mps_fire::i, and m_BarrelCands.
Referenced by setBCERR().
|
inline |
|
inline |
Definition at line 107 of file L1MuGMTReadoutRecord.h.
References m_BxInEvent.
Referenced by L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
|
inline |
set counters
Definition at line 105 of file L1MuGMTReadoutRecord.h.
References m_BxNr.
Referenced by L1EmulBias::ModifyCollection(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
|
inline |
Definition at line 108 of file L1MuGMTReadoutRecord.h.
References m_EvNr.
Referenced by L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
|
private |
set rank of fwd cand i
Definition at line 315 of file L1MuGMTReadoutRecord.cc.
References mps_fire::i, and m_ForwardCands.
Referenced by setBCERR().
void L1MuGMTReadoutRecord::setGMTBrlCand | ( | int | nr, |
L1MuGMTExtendedCand const & | cand | ||
) |
set GMT barrel candidate
Definition at line 246 of file L1MuGMTReadoutRecord.cc.
References m_BarrelCands.
Referenced by L1MuGMTSorter::run(), setBCERR(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
void L1MuGMTReadoutRecord::setGMTBrlCand | ( | int | nr, |
unsigned | data, | ||
unsigned | rank | ||
) |
set GMT barrel candidate
Definition at line 253 of file L1MuGMTReadoutRecord.cc.
References m_BarrelCands, and m_BxInEvent.
void L1MuGMTReadoutRecord::setGMTCand | ( | int | nr, |
L1MuGMTExtendedCand const & | cand | ||
) |
set GMT candidate (does not store rank)
set GMT candidate
Definition at line 274 of file L1MuGMTReadoutRecord.cc.
References m_GMTCands.
Referenced by L1MuGMTSorter::run(), setBCERR(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
void L1MuGMTReadoutRecord::setGMTCand | ( | int | nr, |
unsigned | data | ||
) |
set GMT candidate (does not store rank)
set GMT candidate
Definition at line 281 of file L1MuGMTReadoutRecord.cc.
References m_BxInEvent, and m_GMTCands.
void L1MuGMTReadoutRecord::setGMTFwdCand | ( | int | nr, |
L1MuGMTExtendedCand const & | cand | ||
) |
set GMT forward candidate
Definition at line 260 of file L1MuGMTReadoutRecord.cc.
References m_ForwardCands.
Referenced by L1MuGMTSorter::run(), setBCERR(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
void L1MuGMTReadoutRecord::setGMTFwdCand | ( | int | nr, |
unsigned | data, | ||
unsigned | rank | ||
) |
set GMT forward candidate
Definition at line 267 of file L1MuGMTReadoutRecord.cc.
References m_BxInEvent, and m_ForwardCands.
void L1MuGMTReadoutRecord::setInputCand | ( | int | nr, |
unsigned | data | ||
) |
set Input muon
set Regional Candidates
Definition at line 239 of file L1MuGMTReadoutRecord.cc.
References m_BxInEvent, and m_InputCands.
Referenced by L1MuGMTPSB::receiveData(), setBCERR(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().
void L1MuGMTReadoutRecord::setInputCand | ( | int | nr, |
L1MuRegionalCand const & | cand | ||
) |
set Input muon
set Regional Candidates
Definition at line 232 of file L1MuGMTReadoutRecord.cc.
References m_InputCands.
void L1MuGMTReadoutRecord::setMIPbit | ( | int | eta, |
int | phi | ||
) |
set MIP bit
Definition at line 324 of file L1MuGMTReadoutRecord.cc.
References training_settings::idx, m_MIPbits, RecoTauDiscriminantConfiguration::mask, and phi.
Referenced by L1MuGMTPSB::getCalo(), setBCERR(), and L1DummyProducer::SimpleDigi().
void L1MuGMTReadoutRecord::setQuietbit | ( | int | eta, |
int | phi | ||
) |
set Quiet bit
Definition at line 340 of file L1MuGMTReadoutRecord.cc.
References training_settings::idx, m_Quietbits, RecoTauDiscriminantConfiguration::mask, and phi.
Referenced by L1MuGMTPSB::getCalo(), setBCERR(), and L1DummyProducer::SimpleDigi().
|
private |
Definition at line 157 of file L1MuGMTReadoutRecord.h.
Referenced by getBrlRank(), getGMTBrlCands(), getGMTBrlCandsData(), getGMTCands(), reset(), setBrlRank(), and setGMTBrlCand().
|
private |
Definition at line 153 of file L1MuGMTReadoutRecord.h.
Referenced by getBCERR(), reset(), and setBCERR().
|
private |
Definition at line 150 of file L1MuGMTReadoutRecord.h.
Referenced by getBxCounter(), getBxInEvent(), L1MuGMTReadoutRecord(), reset(), setBxCounter(), setBxInEvent(), setGMTBrlCand(), setGMTCand(), setGMTFwdCand(), and setInputCand().
|
private |
Definition at line 149 of file L1MuGMTReadoutRecord.h.
|
private |
Definition at line 151 of file L1MuGMTReadoutRecord.h.
|
private |
Definition at line 158 of file L1MuGMTReadoutRecord.h.
Referenced by getFwdRank(), getGMTCands(), getGMTFwdCands(), reset(), setFwdRank(), and setGMTFwdCand().
|
private |
Definition at line 159 of file L1MuGMTReadoutRecord.h.
Referenced by getGMTCandsData(), reset(), and setGMTCand().
|
private |
Definition at line 155 of file L1MuGMTReadoutRecord.h.
Referenced by getBrlRPCCands(), getCSCCands(), getDTBXCands(), getFwdRPCCands(), reset(), and setInputCand().
|
private |
Definition at line 162 of file L1MuGMTReadoutRecord.h.
Referenced by getMIPbit(), reset(), and setMIPbit().
|
private |
Definition at line 163 of file L1MuGMTReadoutRecord.h.
Referenced by getQuietbit(), reset(), and setQuietbit().