5 #ifndef TRIGCONFDATA_L1THREXTRAINFO_H
6 #define TRIGCONFDATA_L1THREXTRAINFO_H
17 class L1ThrExtraInfoBase;
18 class L1ThrExtraInfo_EMTAULegacy;
19 class L1ThrExtraInfo_JETLegacy;
20 class L1ThrExtraInfo_XSLegacy;
21 class L1ThrExtraInfo_eEM;
22 class L1ThrExtraInfo_jEM;
23 class L1ThrExtraInfo_eTAU;
24 class L1ThrExtraInfo_jTAU;
25 class L1ThrExtraInfo_cTAU;
26 class L1ThrExtraInfo_jJ;
27 class L1ThrExtraInfo_jLJ;
28 class L1ThrExtraInfo_gJ;
29 class L1ThrExtraInfo_gLJ;
30 class L1ThrExtraInfo_gXE;
31 class L1ThrExtraInfo_jXE;
32 class L1ThrExtraInfo_gTE;
33 class L1ThrExtraInfo_jTE;
34 class L1ThrExtraInfo_MU;
69 std::map<std::string, std::shared_ptr<TrigConf::L1ThrExtraInfoBase>>
m_thrExtraInfo{};
70 std::shared_ptr<TrigConf::L1ThrExtraInfoBase>
m_emptyInfo{
nullptr };
80 virtual std::string
className()
const override {
return "L1ThrExtraInfo_EMTAULegacy"; }
91 std::map<std::string,std::vector<IsolationLegacy>>
m_isolation{};
100 virtual std::string
className()
const override {
return "L1ThrExtraInfo_JETLegacy"; }
122 virtual std::string
className()
const override {
return "L1ThrExtraInfo_XSLegacy"; }
170 virtual std::string
className()
const override {
return "L1ThrExtraInfo_eEM"; }
185 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_eEM>>
m_isolation{};
214 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jEM"; }
226 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jEM ptMinToTopo");
234 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jEM ptMinxTOB");
247 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_jEM>>
m_isolation{};
271 virtual std::string
className()
const override {
return "L1ThrExtraInfo_eTAU"; }
291 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_eTAU>>
m_isolation{};
312 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jTAU"; }
324 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTAU ptMinToTopo");
332 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTAU ptMinxTOB");
345 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_jTAU>>
m_isolation{};
379 virtual std::string
className()
const override {
return "L1ThrExtraInfo_cTAU"; }
386 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_cTAU>>
m_isolation{};
395 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jJ"; }
402 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ ptMinToTopo");
410 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ ptMinxTOB");
418 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ seedThreshold");
440 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jLJ"; }
447 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinToTopo");
455 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinxTOB");
474 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gJ"; }
480 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gJ ptMinToTopo");
495 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gLJ"; }
501 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gLJ ptMinToTopo");
509 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ seedThr");
516 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMin");
523 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMax");
547 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jXE"; }
559 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jTE"; }
564 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary_fw");
570 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary");
589 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gXE"; }
596 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gXE seedThr");
598 unsigned int XERHO_param(
const char fpga,
const bool sigmapos)
const {
605 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + (sigmapos ?
"pos" :
"neg") +
" not recongnised for gXE XERHO_param");
607 unsigned int JWOJ_param(
const char fpga,
const char param)
const {
617 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + param +
" not recongnised for gXE JWOJ_param");
648 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gTE"; }
660 virtual std::string
className()
const override {
return "L1ThrExtraInfo_MU"; }
669 const std::map<std::string, std::vector<unsigned int>> &
exclusionList(
const std::string & listName)
const;