#include <L1GtVhdlWriterBitManager.h>
Public Member Functions | |
std::string | bin2hex (std::string binString) |
std::string | buildDeltaEtaCalo (const L1GtCaloTemplate::CorrelationParameter *&cp, const unsigned int &counter) |
std::string | buildDeltaEtaMuon (const L1GtMuonTemplate::CorrelationParameter *&cp, const unsigned int &counter) |
std::string | buildDeltaPhiCalo (const L1GtCaloTemplate::CorrelationParameter *&cp, const unsigned int &counter) |
std::string | buildDeltaPhiMuon (const L1GtMuonTemplate::CorrelationParameter *&cp, const unsigned int &counter) |
std::string | buildEtaCalo (const std::vector< L1GtCaloTemplate::ObjectParameter > *op, const unsigned int &num, const unsigned int &counter) |
std::string | buildEtaMuon (const std::vector< L1GtMuonTemplate::ObjectParameter > *op, const unsigned int &num, const unsigned int &counter) |
std::string | buildPhiCalo (const std::vector< L1GtCaloTemplate::ObjectParameter > *op, const unsigned int &num, const unsigned int &counter) |
std::string | buildPhiEnergySum (const std::vector< L1GtEnergySumTemplate::ObjectParameter > *op, const unsigned int &num, const unsigned int &counter) |
std::string | buildPhiMuon (const std::vector< L1GtMuonTemplate::ObjectParameter > *op, const unsigned int &num, const unsigned int &counter, bool high) |
std::string | capitalLetters (std::string hexString) |
std::string | hex2bin (std::string hexString) |
L1GtVhdlWriterBitManager () | |
std::string | mirror (unsigned int offset, std::string hexString, bool hexOutput=true) |
std::string | readMapInverse (const std::map< std::string, std::string > &map, std::string value) |
std::string | shiftLeft (std::string hexString) |
Private Attributes | |
std::map< std::string, std::string > | hex2binMap_ |
This class builds the LUTS for the GT firmware. Furthermore it is providing some helpers for basic bit operations in binary and hex format.
Implementation: <TODO: enter implementation details>
Definition at line 33 of file L1GtVhdlWriterBitManager.h.
L1GtVhdlWriterBitManager::L1GtVhdlWriterBitManager | ( | ) |
Definition at line 34 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_.
std::string L1GtVhdlWriterBitManager::bin2hex | ( | std::string | binString | ) |
Definition at line 92 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, i, readMapInverse(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by buildDeltaEtaCalo(), buildDeltaPhiCalo(), buildDeltaPhiMuon(), mirror(), and shiftLeft().
std::string L1GtVhdlWriterBitManager::buildDeltaEtaCalo | ( | const L1GtCaloTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 312 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), TauDecayModes::dec, hex2bin(), mirror(), query::result, shiftLeft(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaEtaMuon | ( | const L1GtMuonTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 333 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, mirror(), query::result, shiftLeft(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaPhiCalo | ( | const L1GtCaloTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 350 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), TauDecayModes::dec, dPhi(), hex2bin(), mirror(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaPhiMuon | ( | const L1GtMuonTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 401 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), TauDecayModes::dec, dPhi(), hex2bin(), mirror(), query::result, shiftLeft(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildEtaCalo | ( | const std::vector< L1GtCaloTemplate::ObjectParameter > * | op, |
const unsigned int & | num, | ||
const unsigned int & | counter | ||
) |
Definition at line 216 of file L1GtVhdlWriterBitManager.cc.
References TauDecayModes::dec, i, and pileupDistInMC::num.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildEtaMuon | ( | const std::vector< L1GtMuonTemplate::ObjectParameter > * | op, |
const unsigned int & | num, | ||
const unsigned int & | counter | ||
) |
Definition at line 186 of file L1GtVhdlWriterBitManager.cc.
References TauDecayModes::dec, i, and pileupDistInMC::num.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildPhiCalo | ( | const std::vector< L1GtCaloTemplate::ObjectParameter > * | op, |
const unsigned int & | num, | ||
const unsigned int & | counter | ||
) |
Definition at line 251 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, i, and pileupDistInMC::num.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildPhiEnergySum | ( | const std::vector< L1GtEnergySumTemplate::ObjectParameter > * | op, |
const unsigned int & | num, | ||
const unsigned int & | counter | ||
) |
Definition at line 271 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), KineDebug3::count(), counter, and TauDecayModes::dec.
Referenced by L1GtVhdlWriterCore::getEsumsSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildPhiMuon | ( | const std::vector< L1GtMuonTemplate::ObjectParameter > * | op, |
const unsigned int & | num, | ||
const unsigned int & | counter, | ||
bool | high | ||
) |
high | is true in order to build phiHigh and false in order to build phiLow |
Definition at line 288 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, i, and pileupDistInMC::num.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::capitalLetters | ( | std::string | hexString | ) |
Definition at line 156 of file L1GtVhdlWriterBitManager.cc.
References i.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), buildDeltaPhiCalo(), buildPhiCalo(), buildPhiEnergySum(), and buildPhiMuon().
std::string L1GtVhdlWriterBitManager::hex2bin | ( | std::string | hexString | ) |
Definition at line 76 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, i, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by buildDeltaEtaCalo(), buildDeltaPhiCalo(), buildDeltaPhiMuon(), mirror(), and shiftLeft().
std::string L1GtVhdlWriterBitManager::mirror | ( | unsigned int | offset, |
std::string | hexString, | ||
bool | hexOutput = true |
||
) |
Definition at line 113 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), hex2bin(), i, hltrates_dqm_sourceclient-live_cfg::offset, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), buildDeltaPhiCalo(), and buildDeltaPhiMuon().
std::string L1GtVhdlWriterBitManager::readMapInverse | ( | const std::map< std::string, std::string > & | map, |
std::string | value | ||
) |
std::string L1GtVhdlWriterBitManager::shiftLeft | ( | std::string | hexString | ) |
Definition at line 175 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), hex2bin(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), and buildDeltaPhiMuon().
|
private |
Definition at line 36 of file L1GtVhdlWriterBitManager.h.
Referenced by bin2hex(), hex2bin(), and L1GtVhdlWriterBitManager().