#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 83 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, mps_fire::i, readMapInverse(), str, 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 281 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), TauDecayModes::dec, hex2bin(), mirror(), mps_fire::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 300 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, mirror(), mps_fire::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 315 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), TauDecayModes::dec, hex2bin(), mirror(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaPhiMuon | ( | const L1GtMuonTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 365 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), TauDecayModes::dec, hex2bin(), mirror(), mps_fire::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 193 of file L1GtVhdlWriterBitManager.cc.
References TauDecayModes::dec, mps_fire::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 167 of file L1GtVhdlWriterBitManager.cc.
References TauDecayModes::dec, mps_fire::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 225 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, mps_fire::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 243 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), submitPVResolutionJobs::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 259 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), TauDecayModes::dec, mps_fire::i, and pileupDistInMC::num.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::capitalLetters | ( | std::string | hexString | ) |
Definition at line 137 of file L1GtVhdlWriterBitManager.cc.
References mps_fire::i.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), buildDeltaPhiCalo(), buildPhiCalo(), buildPhiEnergySum(), and buildPhiMuon().
std::string L1GtVhdlWriterBitManager::hex2bin | ( | std::string | hexString | ) |
Definition at line 71 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, mps_fire::i, str, 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 99 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), hex2bin(), mps_fire::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 158 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), hex2bin(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), and buildDeltaPhiMuon().
|
private |
Definition at line 35 of file L1GtVhdlWriterBitManager.h.
Referenced by bin2hex(), hex2bin(), and L1GtVhdlWriterBitManager().