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");
429 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jLJ"; }
436 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinToTopo");
444 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jLJ ptMinxTOB");
463 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gJ"; }
469 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gJ ptMinToTopo");
484 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gLJ"; }
490 throw std::runtime_error(
"L1ThrExtraInfo: Eta range " +
std::to_string(
eta_range) +
" not valid for gLJ ptMinToTopo");
498 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ seedThr");
505 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMin");
512 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gLJ rhoTowerMax");
536 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jXE"; }
548 virtual std::string
className()
const override {
return "L1ThrExtraInfo_jTE"; }
553 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary_fw");
559 throw std::runtime_error(
"L1ThrExtraInfo: Module" +
module +
" not recongnised for jTE etaBoundary");
578 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gXE"; }
585 throw std::runtime_error(std::string(
"L1ThrExtraInfo: FPGA ") + fpga +
" not recongnised for gXE seedThr");
587 unsigned int XERHO_param(
const char fpga,
const bool sigmapos)
const {
594 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + (sigmapos ?
"pos" :
"neg") +
" not recongnised for gXE XERHO_param");
596 unsigned int JWOJ_param(
const char fpga,
const char param)
const {
606 throw std::runtime_error(std::string(
"L1ThrExtraInfo: ") + fpga +
" and " + param +
" not recongnised for gXE JWOJ_param");
637 virtual std::string
className()
const override {
return "L1ThrExtraInfo_gTE"; }
649 virtual std::string
className()
const override {
return "L1ThrExtraInfo_MU"; }
658 const std::map<std::string, std::vector<unsigned int>> &
exclusionList(
const std::string & listName)
const;