14 if (
pnodes_[nodeIdx].uparams_.size() != 4) {
18 for (
size_t i = 0;
i < 28; ++
i) {
40 if (
pnodes_[nodeIdx].uparams_.size() == 4) {
43 return std::bitset<28>();
50 if (
pnodes_[nodeIdx].uparams_.size() == 4) {
51 return std::bitset<12>(
pnodes_[nodeIdx].uparams_[tfIdx]);
53 return std::bitset<12>();
61 if (
pnodes_[nodeIdx].uparams_.size() == 4) {
62 for (
size_t i = 0;
i < 6; ++
i) {
63 inputFlags[
i] = ((
pnodes_[nodeIdx].uparams_[tfIdx] >> (
i + startIdx)) & 0x1);
79 pnodes_[nodeIdx].uparams_.resize(4);
80 for (
size_t i = 0;
i < 28; ++
i) {
97 pnodes_[nodeIdx].uparams_.resize(4);
98 for (
size_t i = 0;
i < 28; ++
i) {
106 pnodes_[nodeIdx].uparams_.resize(4);
107 for (
size_t i = 0;
i < 12; ++
i) {
108 pnodes_[nodeIdx].uparams_[tfIdx] += (inputFlags.test(
i) <<
i);
115 pnodes_[nodeIdx].uparams_.resize(4);
116 for (
size_t i = 0;
i < 6; ++
i) {
117 pnodes_[nodeIdx].uparams_[tfIdx] += (inputFlags.test(
i) << (
i + startIdx));
124 out <<
"L1 MicroGMT Parameters" << std::endl;
126 out <<
"Firmware version: " << this->
fwVersion() << std::endl;
129 out <<
" EMTF-|OMTF-| BMTF |OMTF+|EMTF+| CALO | res 0" << std::endl;
131 out <<
"Masked Inputs: " << this->
maskedInputs() << std::endl;
132 out <<
" EMTF-|OMTF-| BMTF |OMTF+|EMTF+| CALO | res 0" << std::endl;
134 out <<
"LUT paths (LUTs are generated analytically if path is empty)" << std::endl;
void setInputFlags(const int &nodeIdx, const std::bitset< 72 > &flags)
std::string oEtaExtrapolationLUTPath() const
std::string fEtaExtrapolationLUTPath() const
double fOPosMatchQualLUTMaxDR() const
double fwdPosSingleMatchQualLUTMaxDR() const
std::string fONegMatchQualLUTPath() const
std::string idxSelMemPhiLUTPath() const
double fwdNegSingleMatchQualLUTMaxDR() const
std::string relIsoCheckMemLUTPath() const
std::bitset< 6 > eomtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx) const
void setTfInputFlags(const int &nodeIdx, const int &tfIdx, const std::bitset< 12 > &flags)
std::vector< Node > pnodes_
std::string fwdPosSingleMatchQualLUTPath() const
double ovlPosSingleMatchQualLUTMaxDR() const
L1TMuonGlobalParamsHelper()
void setEOmtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx, const std::bitset< 6 > &flags)
double fONegMatchQualLUTMaxDR() const
std::bitset< 72 > inputsToDisable() const
std::string absIsoCheckMemLUTPath() const
std::string oPhiExtrapolationLUTPath() const
std::string ovlPosSingleMatchQualLUTPath() const
std::string sortRankLUTPath() const
double bOPosMatchQualLUTMaxDREtaFine() const
std::string bPhiExtrapolationLUTPath() const
double bOPosMatchQualLUTMaxDR() const
double bONegMatchQualLUTMaxDREtaFine() const
void setCaloInputFlags(const int &nodeIdx, const std::bitset< 28 > &flags)
std::string bONegMatchQualLUTPath() const
std::string fOPosMatchQualLUTPath() const
std::string bEtaExtrapolationLUTPath() const
unsigned sortRankLUTPtFactor() const
void setFwVersion(unsigned fwVersion)
std::string fPhiExtrapolationLUTPath() const
std::bitset< 72 > maskedInputs() const
double ovlNegSingleMatchQualLUTMaxDR() const
std::bitset< 12 > tfInputFlags(const int &nodeIdx, const int &tfIdx) const
void print(std::ostream &) const
double bONegMatchQualLUTMaxDR() const
unsigned fwVersion() const
std::string idxSelMemEtaLUTPath() const
std::string bOPosMatchQualLUTPath() const
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams &x)
std::bitset< 28 > caloInputFlags(const int &nodeIdx) const
unsigned sortRankLUTQualFactor() const
std::string fwdNegSingleMatchQualLUTPath() const
std::string ovlNegSingleMatchQualLUTPath() const
std::bitset< 72 > inputFlags(const int &nodeIdx) const