#include <L1GtVhdlDefinitions.h>
Public Types | |
enum | VmeRegister { RegPtHighThreshold, RegPtLowThreshold, RegQualityRange, RegChargeCorrelation, RegEtThreshold } |
Public Member Functions | |
const std::map< L1GtObject, std::string > | getCalo2IntMap () |
const std::map < L1GtConditionType, std::string > | getCond2StrMap () |
const std::map< L1GtObject, std::string > | getObj2StrMap () |
L1GtVhdlDefinitions () | |
constructor More... | |
std::string | obj2str (const L1GtObject &type) |
converts object type to firmware string More... | |
std::string | type2str (const L1GtConditionType &type) |
converts a condition type to firmware string More... | |
virtual | ~L1GtVhdlDefinitions () |
destructor More... | |
Static Protected Attributes | |
static const std::string | outputSubDir1_ |
static const std::string | outputSubDir2_ |
static const std::string | quartusSetupFileChip1_ |
static const std::string | quartusSetupFileChip2_ |
static const std::string | stringConstantAlgo_ |
static const std::string | stringConstantCalo_ |
static const std::string | stringConstantCharge1s_ |
static const std::string | stringConstantCharge2s_ |
static const std::string | stringConstantCharge2wsc_ |
static const std::string | stringConstantCharge3s_ |
static const std::string | stringConstantCharge4s_ |
static const std::string | stringConstantCommon_ |
static const std::string | stringConstantConstantNr_ |
static const std::string | stringConstantDefValId_ |
static const std::string | stringConstantEsumsHigh_ |
static const std::string | stringConstantEsumsLHighDefVal_ |
static const std::string | stringConstantEsumsLow_ |
static const std::string | stringConstantEsumsLowDefVal_ |
static const std::string | stringConstantJetCountsDefVal_ |
static const std::string | stringConstantPth_ |
static const std::string | stringConstantPtHighDefVal_ |
static const std::string | stringConstantPtl_ |
static const std::string | stringConstantPtLowDefVal_ |
static const std::string | stringConstantQuality_ |
static const std::string | stringConstantQualityDefVal_ |
static const std::string | stringConstantQuargeDefVal_ |
static const std::string | substParamAlgos_ |
static const std::string | substParamCaloDefVals_ |
static const std::string | substParamCaloOrMuon_ |
static const std::string | substParamCharge_ |
static const std::string | substParamContent_ |
static const std::string | substParamDefValId_ |
static const std::string | substParamDefValType_ |
static const std::string | substParamEsumsDefVals_ |
static const std::string | substParamJetCntsCommon_ |
static const std::string | substParamJetsDefVals_ |
static const std::string | substParamMaxNr_ |
static const std::string | substParamMuonDefVals_ |
static const std::string | substParamOthers_ |
static const std::string | substParamParticle_ |
static const std::string | substParamType_ |
static const std::string | vhdlTemplateAlgoAndOr_ |
static const std::string | vhdlTemplateCaloSetup_ |
static const std::string | vhdlTemplateCondChip_ |
static const std::string | vhdlTemplateCondChipPkg1_ |
static const std::string | vhdlTemplateCondChipPkg2_ |
static const std::string | vhdlTemplateDefValPkg_ |
static const std::string | vhdlTemplateEtmSetup_ |
static const std::string | vhdlTemplateMuonSetup_ |
Private Attributes | |
std::map< L1GtObject, std::string > | caloType2Int_ |
converts L1GtObject to string More... | |
std::map< L1GtConditionType, std::string > | condType2Str_ |
converts L1GtObject to calo_nr More... | |
std::map< L1GtObject, std::string > | objType2Str_ |
converts L1GtConditionType to firmware string More... | |
Description: Contains conversion maps for conversion of trigger objects to strings etc.
Implementation: <TODO: enter implementation details>
Definition at line 28 of file L1GtVhdlDefinitions.h.
Enumerator | |
---|---|
RegPtHighThreshold | |
RegPtLowThreshold | |
RegQualityRange | |
RegChargeCorrelation | |
RegEtThreshold |
Definition at line 30 of file L1GtVhdlDefinitions.h.
L1GtVhdlDefinitions::L1GtVhdlDefinitions | ( | ) |
constructor
Definition at line 81 of file L1GtVhdlDefinitions.cc.
References caloType2Int_, CenJet, condType2Str_, ETM, ETT, ForJet, HTT, IsoEG, JetCounts, Mu, NoIsoEG, objType2Str_, TauJet, Type1s, Type2cor, Type2s, Type2wsc, Type3s, Type4s, TypeETM, TypeETT, TypeHTT, and TypeJetCounts.
|
virtual |
const std::map< L1GtObject, std::string > L1GtVhdlDefinitions::getCalo2IntMap | ( | ) |
Definition at line 122 of file L1GtVhdlDefinitions.cc.
References caloType2Int_.
Referenced by L1GtVhdlWriterCore::L1GtVhdlWriterCore().
const std::map< L1GtConditionType, std::string > L1GtVhdlDefinitions::getCond2StrMap | ( | ) |
Definition at line 120 of file L1GtVhdlDefinitions.cc.
References condType2Str_.
Referenced by L1GtVhdlWriterCore::L1GtVhdlWriterCore().
const std::map< L1GtObject, std::string > L1GtVhdlDefinitions::getObj2StrMap | ( | ) |
Definition at line 118 of file L1GtVhdlDefinitions.cc.
References objType2Str_.
Referenced by L1GtVhdlWriterCore::L1GtVhdlWriterCore().
std::string L1GtVhdlDefinitions::obj2str | ( | const L1GtObject & | type | ) |
converts object type to firmware string
Definition at line 124 of file L1GtVhdlDefinitions.cc.
References objType2Str_.
Referenced by L1GtVmeWriterCore::writeVME().
std::string L1GtVhdlDefinitions::type2str | ( | const L1GtConditionType & | type | ) |
converts a condition type to firmware string
Definition at line 126 of file L1GtVhdlDefinitions.cc.
References condType2Str_.
Referenced by L1GtVmeWriterCore::writeVME().
|
private |
converts L1GtObject to string
Definition at line 126 of file L1GtVhdlDefinitions.h.
Referenced by getCalo2IntMap(), and L1GtVhdlDefinitions().
|
private |
converts L1GtObject to calo_nr
Definition at line 123 of file L1GtVhdlDefinitions.h.
Referenced by getCond2StrMap(), L1GtVhdlDefinitions(), and type2str().
|
private |
converts L1GtConditionType to firmware string
Definition at line 120 of file L1GtVhdlDefinitions.h.
Referenced by getObj2StrMap(), L1GtVhdlDefinitions(), and obj2str().
|
staticprotected |
Definition at line 66 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::chip2OutputSubDir(), and L1GtVhdlWriterCore::makeFirmware().
|
staticprotected |
Definition at line 67 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::chip2OutputSubDir(), and L1GtVhdlWriterCore::makeFirmware().
|
staticprotected |
Definition at line 61 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeQsfSetupFiles().
|
staticprotected |
Definition at line 62 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeQsfSetupFiles().
|
staticprotected |
Definition at line 93 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeAlgoSetup().
|
staticprotected |
Definition at line 103 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 104 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 105 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 106 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 107 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 108 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 109 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), and L1GtVhdlWriterCore::getSubstParamCommonFromTriggerMenu().
|
staticprotected |
Definition at line 96 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::retNumberOfConditionsString().
|
staticprotected |
Definition at line 94 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 113 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 98 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 112 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 97 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 95 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 111 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 100 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 110 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 99 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 114 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 101 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 102 of file L1GtVhdlDefinitions.h.
|
staticprotected |
Definition at line 75 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeAlgoSetup().
|
staticprotected |
Definition at line 85 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 80 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 88 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), and L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 81 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 79 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 83 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 86 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 89 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu().
|
staticprotected |
Definition at line 87 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 78 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 84 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 82 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer().
|
staticprotected |
Definition at line 76 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer(), L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), and L1GtVhdlWriterCore::getSubstParamCommonFromTriggerMenu().
|
staticprotected |
Definition at line 77 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::buildDefValuesBuffer(), L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), and L1GtVhdlWriterCore::getSubstParamCommonFromTriggerMenu().
|
staticprotected |
Definition at line 53 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeAlgoSetup().
|
staticprotected |
Definition at line 58 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeMuonSetupVhdl().
|
staticprotected |
Definition at line 54 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeConditionChipSetup().
|
staticprotected |
Definition at line 59 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeCondChipPkg().
|
staticprotected |
Definition at line 60 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeCondChipPkg().
|
staticprotected |
Definition at line 55 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeDefValPkg().
|
staticprotected |
Definition at line 56 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeEtmSetup().
|
staticprotected |
Definition at line 57 of file L1GtVhdlDefinitions.h.
Referenced by L1GtVhdlWriterCore::writeMuonSetupVhdl().