Skip to content
Snippets Groups Projects
Commit 3dbf8b69 authored by Marco Montella's avatar Marco Montella Committed by Melissa Yexley
Browse files

ATR-28667 Changing type of L1Topo ZeroBias Threshold masks to unsigned int

ATR-28667 Changing type of L1Topo ZeroBias Threshold masks to unsigned int
parent 20ed2fb0
No related branches found
No related tags found
No related merge requests found
......@@ -122,22 +122,22 @@ namespace TrigConf {
L1Threshold(name, type, extraInfo, data) { load(); };
virtual ~L1Threshold_ZBTopo() override = default;
virtual std::string className() const override { return "L1Threshold_ZBTopo"; }
const std::string & mask0() const { return m_mask0; }
const std::string & mask1() const { return m_mask1; }
const std::string & mask2() const { return m_mask2; }
const std::string & mask3() const { return m_mask3; }
const std::string & mask4() const { return m_mask4; }
const std::string & mask5() const { return m_mask5; }
const unsigned int & mask0() const { return m_mask0; }
const unsigned int & mask1() const { return m_mask1; }
const unsigned int & mask2() const { return m_mask2; }
const unsigned int & mask3() const { return m_mask3; }
const unsigned int & mask4() const { return m_mask4; }
const unsigned int & mask5() const { return m_mask5; }
unsigned int seedBcdelay() const { return m_seedBcdelay; }
protected:
virtual void update() override { load(); }
private:
std::string m_mask0{""};
std::string m_mask1{""};
std::string m_mask2{""};
std::string m_mask3{""};
std::string m_mask4{""};
std::string m_mask5{""};
unsigned int m_mask0{0};
unsigned int m_mask1{0};
unsigned int m_mask2{0};
unsigned int m_mask3{0};
unsigned int m_mask4{0};
unsigned int m_mask5{0};
unsigned int m_seedBcdelay{0};
void load();
};
......
......@@ -112,12 +112,12 @@ TrigConf::L1Threshold_ZB::load()
void
TrigConf::L1Threshold_ZBTopo::load()
{
m_mask0 = getAttribute("mask0");
m_mask1 = getAttribute("mask1");
m_mask2 = getAttribute("mask2");
m_mask3 = getAttribute("mask3");
m_mask4 = getAttribute("mask4");
m_mask5 = getAttribute("mask5");
m_mask0 = getAttribute<unsigned int>("mask0");
m_mask1 = getAttribute<unsigned int>("mask1");
m_mask2 = getAttribute<unsigned int>("mask2");
m_mask3 = getAttribute<unsigned int>("mask3");
m_mask4 = getAttribute<unsigned int>("mask4");
m_mask5 = getAttribute<unsigned int>("mask5");
m_seedBcdelay = getAttribute<unsigned int>("delay");
......
......@@ -319,7 +319,7 @@ class ThresholdDef:
# ATR-22344
LArSaturationThreshold('LArSaturation')
ZeroBiasThresholdTopo('ZeroBiasA')
ZeroBiasThresholdTopo('ZeroBiasA').setSeedThreshold(seed=[805306368, 0, 0, 0, 0, 0], bcdelay=3564) # eEM18
ZeroBiasThresholdTopo('ZeroBiasB')
# CALREQ
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment