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"; }
186 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_eEM>>
m_isolation{};
216 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jEM"; }
228 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jEM ptMinToTopo");
236 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jEM ptMinxTOB");
249 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_jEM>>
m_isolation{};
273 virtual std::string
className()
const override {
return "L1ThrExtraInfo_eTAU"; }
293 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_eTAU>>
m_isolation{};
314 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jTAU"; }
326 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTAU ptMinToTopo");
334 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTAU ptMinxTOB");
347 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_jTAU>>
m_isolation{};
381 virtual std::string
className()
const override {
return "L1ThrExtraInfo_cTAU"; }
388 std::map<TrigConf::Selection::WP, ValueWithEtaDependence<WorkingPoints_cTAU>>
m_isolation{};
397 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jJ"; }
404 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ ptMinToTopo");
412 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ ptMinxTOB");
420 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jJ seedThreshold");
442 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jLJ"; }
449 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinToTopo");
457 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinxTOB");
476 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gJ"; }
482 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gJ ptMinToTopo");
497 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gLJ"; }
503 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gLJ ptMinToTopo");
511 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ seedThr");
518 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMin");
525 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMax");
549 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jXE"; }
561 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jTE"; }
566 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary_fw");
572 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary");
591 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gXE"; }
598 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gXE seedThr");
600 unsigned int XERHO_param(
const char fpga,
const bool sigmapos)
const {
607 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + (sigmapos ?
"pos" :
"neg") +
" not recongnised for gXE XERHO_param");
609 unsigned int JWOJ_param(
const char fpga,
const char param)
const {
619 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + param +
" not recongnised for gXE JWOJ_param");
650 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gTE"; }
662 virtual std::string
className()
const override {
return "L1ThrExtraInfo_MU"; }
671 const std::map<std::string, std::vector<unsigned int>> &
exclusionList(
const std::string & listName)
const;