#include <L1MuGMTDebugBlock.h>
Public Member Functions | |
float | Eta (int bx, int idx) |
Get stored eta position. More... | |
float | Eta (int bx, int isFWD, int isISO, int isRPC, int nr) |
Get stored eta position, four indices. More... | |
unsigned | EtaSel (int bx, int idx) |
Get stored eta select bits. More... | |
L1MuGMTExtendedCand const & | GetBrlGMTCand (int bx, int idx) |
Get brl Cands. More... | |
unsigned | GetCancelBits (int bx, int idx) |
Get Cancel Bits. More... | |
L1MuGMTExtendedCand const & | GetFwdGMTCand (int bx, int idx) |
Get fwd Cands. More... | |
L1MuGMTMatrix< int > | GetMQMatrix (int bx, int idx) |
Get match quality matrices. More... | |
L1MuGMTMatrix< bool > | GetPairMatrix (int bx, int idx) |
Get pair matrices. More... | |
unsigned | IsMIPISO (int bx, int idx) |
Get stored MIP/ISO select bits. More... | |
L1MuGMTDebugBlock (int minbx=-10, int maxbx=10) | |
constructor More... | |
float | Phi (int bx, int idx) |
Get stored phi position. More... | |
float | Phi (int bx, int isFWD, int isISO, int isRPC, int nr) |
Get stored phi position, four indices. More... | |
unsigned | PhiSel (int bx, int idx) |
Get stored phi select bits. More... | |
void | reset () |
Reset the debug block. More... | |
void | SetBrlGMTCands (int idx, L1MuGMTExtendedCand const &cand) |
Set brl GMT Cands. More... | |
void | SetBX (int bx) |
Set the current bunch crossing. More... | |
void | SetCancelBits (int idx, const std::vector< bool > &mine, const std::vector< bool > &others) |
Set cancel bits. More... | |
void | SetEta (int idx, float eta) |
Set projected eta positions for current bx. More... | |
void | SetEtaSelBits (int idx, unsigned etasel) |
Set eta select bits for current bx. More... | |
void | SetFwdGMTCands (int idx, L1MuGMTExtendedCand const &cand) |
Set fwd GMT Cands. More... | |
void | SetIsMIPISO (int idx, unsigned ismipiso) |
Set MIP/ISO bits for current bx. More... | |
void | SetMQMatrix (int idx, L1MuGMTMatrix< int > mqm) |
Set match quality matrices. More... | |
void | SetPairMatrix (int idx, L1MuGMTMatrix< bool > pm) |
Set pair matrices. More... | |
void | SetPhi (int idx, float phi) |
Set projected phi positions for current bx. More... | |
void | SetPhiSelBits (int idx, unsigned phisel) |
Set phi select bits for current bx. More... | |
virtual | ~L1MuGMTDebugBlock () |
destructor More... | |
Static Public Attributes | |
static const int | NumMatrices = 6 |
Private Attributes | |
std::vector< std::vector < L1MuGMTExtendedCand > > | _brlmuons |
int | _bx |
std::vector< std::vector < unsigned > > | _cancelbits |
std::vector< std::vector < unsigned > > | _etasel |
std::vector< std::vector < L1MuGMTExtendedCand > > | _fwdmuons |
std::vector< std::vector < unsigned > > | _isMIPISO |
const int | _maxbx |
const int | _minbx |
std::vector< std::vector < L1MuGMTMatrix< int > > > | _mqMatrices |
std::vector< std::vector < L1MuGMTMatrix< bool > > > | _pairMatrices |
std::vector< std::vector < unsigned > > | _phisel |
std::vector< std::vector< float > > | _proeta |
std::vector< std::vector< float > > | _prophi |
Description: debug block for GMT it is filled during GMT processing and allows to retrieve intermediate results, later (e.g. for comparison with the hardware model)
Definition at line 48 of file L1MuGMTDebugBlock.h.
L1MuGMTDebugBlock::L1MuGMTDebugBlock | ( | int | minbx = -10 , |
int | maxbx = 10 |
||
) |
constructor
Definition at line 36 of file L1MuGMTDebugBlock.cc.
References reset().
|
virtual |
destructor
Definition at line 59 of file L1MuGMTDebugBlock.cc.
References _brlmuons, _etasel, _fwdmuons, _isMIPISO, _maxbx, _minbx, _mqMatrices, _pairMatrices, _phisel, _proeta, and _prophi.
|
inline |
Get stored eta position.
Definition at line 106 of file L1MuGMTDebugBlock.h.
References _minbx, _proeta, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get stored eta position, four indices.
Definition at line 138 of file L1MuGMTDebugBlock.h.
References _minbx, and _proeta.
|
inline |
Get stored eta select bits.
Definition at line 112 of file L1MuGMTDebugBlock.h.
References _etasel, _minbx, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get brl Cands.
Definition at line 127 of file L1MuGMTDebugBlock.h.
References _brlmuons, _minbx, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get Cancel Bits.
Definition at line 124 of file L1MuGMTDebugBlock.h.
References _cancelbits, _minbx, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get fwd Cands.
Definition at line 130 of file L1MuGMTDebugBlock.h.
References _fwdmuons, _minbx, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get match quality matrices.
Definition at line 121 of file L1MuGMTDebugBlock.h.
References _minbx, _mqMatrices, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get pair matrices.
Definition at line 118 of file L1MuGMTDebugBlock.h.
References _minbx, _pairMatrices, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get stored MIP/ISO select bits.
Definition at line 115 of file L1MuGMTDebugBlock.h.
References _isMIPISO, _minbx, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGlobalMuonTrigger::produce().
|
inline |
Get stored phi position.
Definition at line 103 of file L1MuGMTDebugBlock.h.
References _minbx, _prophi, and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Get stored phi position, four indices.
Definition at line 133 of file L1MuGMTDebugBlock.h.
References _minbx, and _prophi.
|
inline |
Get stored phi select bits.
Definition at line 109 of file L1MuGMTDebugBlock.h.
References _minbx, _phisel, and customizeTrackingMonitorSeedNumber::idx.
void L1MuGMTDebugBlock::reset | ( | void | ) |
Reset the debug block.
Definition at line 100 of file L1MuGMTDebugBlock.cc.
References _brlmuons, _bx, _etasel, _fwdmuons, _isMIPISO, _maxbx, _minbx, _mqMatrices, _pairMatrices, _phisel, _proeta, _prophi, i, and NumMatrices.
Referenced by L1MuGMTDebugBlock(), and L1MuGlobalMuonTrigger::produce().
|
inline |
Set brl GMT Cands.
Definition at line 96 of file L1MuGMTDebugBlock.h.
References _brlmuons, _bx, _minbx, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTSorter::run().
|
inline |
Set the current bunch crossing.
Definition at line 63 of file L1MuGMTDebugBlock.h.
Referenced by L1MuGlobalMuonTrigger::produce().
void L1MuGMTDebugBlock::SetCancelBits | ( | int | idx, |
const std::vector< bool > & | mine, | ||
const std::vector< bool > & | others | ||
) |
Set cancel bits.
Definition at line 80 of file L1MuGMTDebugBlock.cc.
References _bx, _cancelbits, _minbx, bits, i, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTCancelOutUnit::decide().
|
inline |
Set projected eta positions for current bx.
Definition at line 75 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _proeta, eta(), and customizeTrackingMonitorSeedNumber::idx.
|
inline |
Set eta select bits for current bx.
Definition at line 81 of file L1MuGMTDebugBlock.h.
References _bx, _etasel, _minbx, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTEtaProjectionUnit::run().
|
inline |
Set fwd GMT Cands.
Definition at line 99 of file L1MuGMTDebugBlock.h.
References _bx, _fwdmuons, _minbx, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTSorter::run().
|
inline |
Set MIP/ISO bits for current bx.
Definition at line 84 of file L1MuGMTDebugBlock.h.
References _bx, _isMIPISO, _minbx, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTMipIsoAU::assignISO(), and L1MuGMTMipIsoAU::assignMIP().
|
inline |
Set match quality matrices.
Definition at line 90 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _mqMatrices, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTMatcher::match().
|
inline |
Set pair matrices.
Definition at line 87 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _pairMatrices, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTMatcher::match().
|
inline |
Set projected phi positions for current bx.
Definition at line 72 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _prophi, customizeTrackingMonitorSeedNumber::idx, and phi.
|
inline |
Set phi select bits for current bx.
Definition at line 78 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _phisel, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuGMTPhiProjectionUnit::run().
|
private |
Definition at line 157 of file L1MuGMTDebugBlock.h.
Referenced by GetBrlGMTCand(), reset(), SetBrlGMTCands(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 146 of file L1MuGMTDebugBlock.h.
Referenced by reset(), SetBrlGMTCands(), SetBX(), SetCancelBits(), SetEta(), SetEtaSelBits(), SetFwdGMTCands(), SetIsMIPISO(), SetMQMatrix(), SetPairMatrix(), SetPhi(), and SetPhiSelBits().
|
private |
Definition at line 156 of file L1MuGMTDebugBlock.h.
Referenced by GetCancelBits(), and SetCancelBits().
|
private |
Definition at line 150 of file L1MuGMTDebugBlock.h.
Referenced by EtaSel(), reset(), SetEtaSelBits(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 158 of file L1MuGMTDebugBlock.h.
Referenced by GetFwdGMTCand(), reset(), SetFwdGMTCands(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 151 of file L1MuGMTDebugBlock.h.
Referenced by IsMIPISO(), reset(), SetIsMIPISO(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 140 of file L1MuGMTDebugBlock.h.
Referenced by reset(), SetBX(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 140 of file L1MuGMTDebugBlock.h.
Referenced by Eta(), EtaSel(), GetBrlGMTCand(), GetCancelBits(), GetFwdGMTCand(), GetMQMatrix(), GetPairMatrix(), IsMIPISO(), Phi(), PhiSel(), reset(), SetBrlGMTCands(), SetCancelBits(), SetEta(), SetEtaSelBits(), SetFwdGMTCands(), SetIsMIPISO(), SetMQMatrix(), SetPairMatrix(), SetPhi(), SetPhiSelBits(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 154 of file L1MuGMTDebugBlock.h.
Referenced by GetMQMatrix(), reset(), SetMQMatrix(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 153 of file L1MuGMTDebugBlock.h.
Referenced by GetPairMatrix(), reset(), SetPairMatrix(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 149 of file L1MuGMTDebugBlock.h.
Referenced by PhiSel(), reset(), SetPhiSelBits(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 148 of file L1MuGMTDebugBlock.h.
Referenced by Eta(), reset(), SetEta(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 147 of file L1MuGMTDebugBlock.h.
Referenced by Phi(), reset(), SetPhi(), and ~L1MuGMTDebugBlock().
|
static |
Definition at line 51 of file L1MuGMTDebugBlock.h.
Referenced by reset().