#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 45 of file L1MuGMTDebugBlock.h.
L1MuGMTDebugBlock::L1MuGMTDebugBlock | ( | int | minbx = -10 , |
int | maxbx = 10 |
||
) |
constructor
Definition at line 34 of file L1MuGMTDebugBlock.cc.
References reset().
|
virtual |
destructor
Definition at line 60 of file L1MuGMTDebugBlock.cc.
References _brlmuons, _etasel, _fwdmuons, _isMIPISO, _maxbx, _minbx, _mqMatrices, _pairMatrices, _phisel, _proeta, _prophi, and l1GtPatternGenerator_cfi::bx.
|
inline |
Get stored eta position.
Definition at line 102 of file L1MuGMTDebugBlock.h.
References _minbx, _proeta, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get stored eta position, four indices.
Definition at line 134 of file L1MuGMTDebugBlock.h.
References _minbx, _proeta, l1GtPatternGenerator_cfi::bx, GeomDetEnumerators::isRPC(), and EgHLTOffHistBins_cfi::nr.
|
inline |
Get stored eta select bits.
Definition at line 108 of file L1MuGMTDebugBlock.h.
References _etasel, _minbx, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get brl Cands.
Definition at line 123 of file L1MuGMTDebugBlock.h.
References _brlmuons, _minbx, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get Cancel Bits.
Definition at line 120 of file L1MuGMTDebugBlock.h.
References _cancelbits, _minbx, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get fwd Cands.
Definition at line 126 of file L1MuGMTDebugBlock.h.
References _fwdmuons, _minbx, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get match quality matrices.
Definition at line 117 of file L1MuGMTDebugBlock.h.
References _minbx, _mqMatrices, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get pair matrices.
Definition at line 114 of file L1MuGMTDebugBlock.h.
References _minbx, _pairMatrices, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get stored MIP/ISO select bits.
Definition at line 111 of file L1MuGMTDebugBlock.h.
References _isMIPISO, _minbx, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGlobalMuonTrigger::produce().
|
inline |
Get stored phi position.
Definition at line 99 of file L1MuGMTDebugBlock.h.
References _minbx, _prophi, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
|
inline |
Get stored phi position, four indices.
Definition at line 129 of file L1MuGMTDebugBlock.h.
References _minbx, _prophi, l1GtPatternGenerator_cfi::bx, GeomDetEnumerators::isRPC(), and EgHLTOffHistBins_cfi::nr.
|
inline |
Get stored phi select bits.
Definition at line 105 of file L1MuGMTDebugBlock.h.
References _minbx, _phisel, l1GtPatternGenerator_cfi::bx, and heavyIonCSV_trainingSettings::idx.
void L1MuGMTDebugBlock::reset | ( | void | ) |
Reset the debug block.
Definition at line 102 of file L1MuGMTDebugBlock.cc.
References _brlmuons, _bx, _etasel, _fwdmuons, _isMIPISO, _maxbx, _minbx, _mqMatrices, _pairMatrices, _phisel, _proeta, _prophi, l1GtPatternGenerator_cfi::bx, mps_fire::i, and NumMatrices.
Referenced by L1MuGMTDebugBlock(), and L1MuGlobalMuonTrigger::produce().
|
inline |
Set brl GMT Cands.
Definition at line 93 of file L1MuGMTDebugBlock.h.
References _brlmuons, _bx, _minbx, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTSorter::run().
|
inline |
Set the current bunch crossing.
Definition at line 59 of file L1MuGMTDebugBlock.h.
References _bx, _maxbx, and l1GtPatternGenerator_cfi::bx.
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 81 of file L1MuGMTDebugBlock.cc.
References _bx, _cancelbits, _minbx, mps_fire::i, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTCancelOutUnit::decide().
|
inline |
Set projected eta positions for current bx.
Definition at line 72 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _proeta, PVValHelper::eta, and heavyIonCSV_trainingSettings::idx.
|
inline |
Set eta select bits for current bx.
Definition at line 78 of file L1MuGMTDebugBlock.h.
References _bx, _etasel, _minbx, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTEtaProjectionUnit::run().
|
inline |
Set fwd GMT Cands.
Definition at line 96 of file L1MuGMTDebugBlock.h.
References _bx, _fwdmuons, _minbx, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTSorter::run().
|
inline |
Set MIP/ISO bits for current bx.
Definition at line 81 of file L1MuGMTDebugBlock.h.
References _bx, _isMIPISO, _minbx, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTMipIsoAU::assignISO(), and L1MuGMTMipIsoAU::assignMIP().
|
inline |
Set match quality matrices.
Definition at line 87 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _mqMatrices, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTMatcher::match().
|
inline |
Set pair matrices.
Definition at line 84 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _pairMatrices, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTMatcher::match().
|
inline |
|
inline |
Set phi select bits for current bx.
Definition at line 75 of file L1MuGMTDebugBlock.h.
References _bx, _minbx, _phisel, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuGMTPhiProjectionUnit::run().
|
private |
Definition at line 151 of file L1MuGMTDebugBlock.h.
Referenced by GetBrlGMTCand(), reset(), SetBrlGMTCands(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 140 of file L1MuGMTDebugBlock.h.
Referenced by reset(), SetBrlGMTCands(), SetBX(), SetCancelBits(), SetEta(), SetEtaSelBits(), SetFwdGMTCands(), SetIsMIPISO(), SetMQMatrix(), SetPairMatrix(), SetPhi(), and SetPhiSelBits().
|
private |
Definition at line 150 of file L1MuGMTDebugBlock.h.
Referenced by GetCancelBits(), and SetCancelBits().
|
private |
Definition at line 144 of file L1MuGMTDebugBlock.h.
Referenced by EtaSel(), reset(), SetEtaSelBits(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 152 of file L1MuGMTDebugBlock.h.
Referenced by GetFwdGMTCand(), reset(), SetFwdGMTCands(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 145 of file L1MuGMTDebugBlock.h.
Referenced by IsMIPISO(), reset(), SetIsMIPISO(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 136 of file L1MuGMTDebugBlock.h.
Referenced by reset(), SetBX(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 136 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 148 of file L1MuGMTDebugBlock.h.
Referenced by GetMQMatrix(), reset(), SetMQMatrix(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 147 of file L1MuGMTDebugBlock.h.
Referenced by GetPairMatrix(), reset(), SetPairMatrix(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 143 of file L1MuGMTDebugBlock.h.
Referenced by PhiSel(), reset(), SetPhiSelBits(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 142 of file L1MuGMTDebugBlock.h.
Referenced by Eta(), reset(), SetEta(), and ~L1MuGMTDebugBlock().
|
private |
Definition at line 141 of file L1MuGMTDebugBlock.h.
Referenced by Phi(), reset(), SetPhi(), and ~L1MuGMTDebugBlock().
|
static |
Definition at line 47 of file L1MuGMTDebugBlock.h.
Referenced by reset().