#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 (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 35 of file L1GtVhdlWriterBitManager.h.
L1GtVhdlWriterBitManager::L1GtVhdlWriterBitManager | ( | ) |
Definition at line 36 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_.
std::string L1GtVhdlWriterBitManager::bin2hex | ( | std::string | binString | ) |
Definition at line 94 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, i, readMapInverse(), and cond::rpcobtemp::temp.
Referenced by buildDeltaEtaCalo(), buildDeltaPhiCalo(), buildDeltaPhiMuon(), mirror(), and shiftLeft().
std::string L1GtVhdlWriterBitManager::buildDeltaEtaCalo | ( | const L1GtCaloTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 314 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), hex2bin(), mirror(), query::result, and shiftLeft().
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaEtaMuon | ( | const L1GtMuonTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 335 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), mirror(), query::result, and shiftLeft().
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaPhiCalo | ( | const L1GtCaloTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 352 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), capitalLetters(), dPhi(), hex2bin(), mirror(), and query::result.
Referenced by L1GtVhdlWriterCore::getCaloSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::buildDeltaPhiMuon | ( | const L1GtMuonTemplate::CorrelationParameter *& | cp, |
const unsigned int & | counter | ||
) |
Definition at line 403 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), dPhi(), hex2bin(), mirror(), query::result, shiftLeft(), and cond::rpcobtemp::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 218 of file L1GtVhdlWriterBitManager.cc.
References i.
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 188 of file L1GtVhdlWriterBitManager.cc.
References i.
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 253 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), and i.
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 273 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), prof2calltree::count, and cmsDriverOptions::counter.
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 290 of file L1GtVhdlWriterBitManager.cc.
References capitalLetters(), and i.
Referenced by L1GtVhdlWriterCore::getMuonSetupContentFromTriggerMenu().
std::string L1GtVhdlWriterBitManager::capitalLetters | ( | std::string | hexString | ) |
Definition at line 158 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 78 of file L1GtVhdlWriterBitManager.cc.
References hex2binMap_, i, and cond::rpcobtemp::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 115 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), hex2bin(), i, evf::evtn::offset(), and cond::rpcobtemp::temp.
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), buildDeltaPhiCalo(), and buildDeltaPhiMuon().
std::string L1GtVhdlWriterBitManager::readMapInverse | ( | std::map< std::string, std::string > | map, |
std::string | value | ||
) |
std::string L1GtVhdlWriterBitManager::shiftLeft | ( | std::string | hexString | ) |
Definition at line 177 of file L1GtVhdlWriterBitManager.cc.
References bin2hex(), and hex2bin().
Referenced by buildDeltaEtaCalo(), buildDeltaEtaMuon(), and buildDeltaPhiMuon().
|
private |
Definition at line 38 of file L1GtVhdlWriterBitManager.h.
Referenced by bin2hex(), hex2bin(), and L1GtVhdlWriterBitManager().