17 const std::string& confAlgName,
18 const std::string& confAlgTypeLabel
21 m_confAlgName{confAlgName},
22 m_confAlgTypeLabel{confAlgTypeLabel}{
23 std::vector<std::string> permittedTypeLabels{
"MULTTOPO",
"TOPO"};
24 if (
std::find(permittedTypeLabels.cbegin(),
25 permittedTypeLabels.cend(),
26 m_confAlgTypeLabel) == permittedTypeLabels.cend()) {
27 throw std::runtime_error(
"L1TopoMenuResources unknown alg type label " +
43 int CTAU_iso_fw_loose =
46 int CTAU_iso_fw_medium =
49 int CTAU_iso_fw_tight =
52 std::map<std::string, int> isolationMap;
68 std::map<std::string, int>
78 int CTAU_iso_fw_loose =
79 static_cast<int>(ctauExtraInfo.
isolation(LooseSel,
82 int CTAU_iso_fw_medium =
83 static_cast<int>(ctauExtraInfo.
isolation(MediumSel,
86 int CTAU_iso_fw_tight =
87 static_cast<int>(ctauExtraInfo.
isolation(TightSel,
90 std::map<std::string, int> isolationMap;
115 const auto & a_name = l1alg.
name();
117 std::stringstream
ss;
118 ss<<
"L1Menu resources for alg " << a_name;
120 ss <<
" parameter: " << std::setw(20) << std::left << param.name()
121 <<
" value: " << std::setw(3) << std::left << param.value()
122 <<
" selection: " << param.selection() <<
'\n';
125 ss <<
"inputs [" << l1alg.inputs().size() <<
"]:\n";
126 for (
const auto&
p : l1alg.inputs()) {
127 ss <<
" input: " <<
p <<
'\n';
130 ss <<
"outputs [" << l1alg.outputs().size() <<
"]:\n";
131 for (
const auto&
p : l1alg.outputs()) {
132 ss <<
" output: " <<
p <<
'\n';