ATLAS Offline Software
L1MenuResources.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef GLOBALSIM_L1MENURESOURCES_H
7 #define GLOBALSIM_L1MENURESOURCES_H
8 
9 /*
10  * L1TopoSimulation initialisation is done by reading in a L1Menu
11  * object from the store, and using the information therein to
12  * initialiaze L1TopoAlgorithms.
13  *
14  * In GlobalL1TopoSim, most of the initialiation data is obtained
15  * during the python configuration step, using data found in the python
16  * menu object, or lightly modified.
17  *
18  * However, there is some data, for example the threshold used for the
19  * cTauMultiplicity algorithm, that is the result of some non-trivial
20  * processing. Instead of copying the code to do this processing to python,
21  * the L1Menu object is read in at run time and the threshold is obtained
22  * from that source.
23  *
24  */
25 
26 
27 #include <string>
28 #include <map>
29 
30 namespace TrigConf {
31  class L1Threshold;
32  class L1Menu;
33 }
34 
35 namespace GlobalSim {
36 
38  public:
40  const std::string& confAlgName,
41  const std::string& confAlgTypeLabel);
42 
43 
44  std::map<std::string, int> isolationFW_CTAU() const;
45  std::map<std::string, int> isolationFW_CTAU_jTAUCoreScale() const;
46  const TrigConf::L1Threshold& threshold() const;
47 
48  const std::string& menuName();
49  std::string to_string() const;
50 
51  private:
52 
54  std::string m_confAlgName;
55 
56  // confAlgTypeLabel: string such as "TOPO" or "MULTTOPO"
57  std::string m_confAlgTypeLabel;
58 
59  };
60 }
61 
62 #endif
GlobalSim::L1MenuResources::m_l1menu
const TrigConf::L1Menu & m_l1menu
Definition: L1MenuResources.h:53
TrigConf::L1Menu
L1 menu configuration.
Definition: L1Menu.h:28
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
GlobalSim::L1MenuResources::isolationFW_CTAU_jTAUCoreScale
std::map< std::string, int > isolationFW_CTAU_jTAUCoreScale() const
Definition: L1MenuResources.cxx:69
GlobalSim::L1MenuResources::threshold
const TrigConf::L1Threshold & threshold() const
Definition: L1MenuResources.cxx:106
GlobalSim
AlgTool to obtain a GlobalSim::cTAUTOBArray This class uses ReadHandls to jFex and eFex Tau Rois If t...
Definition: dump.h:8
GlobalSim::L1MenuResources::isolationFW_CTAU
std::map< std::string, int > isolationFW_CTAU() const
Definition: L1MenuResources.cxx:35
GlobalSim::L1MenuResources::menuName
const std::string & menuName()
Definition: L1MenuResources.cxx:138
GlobalSim::L1MenuResources::m_confAlgName
std::string m_confAlgName
Definition: L1MenuResources.h:54
GlobalSim::L1MenuResources::m_confAlgTypeLabel
std::string m_confAlgTypeLabel
Definition: L1MenuResources.h:57
GlobalSim::L1MenuResources::to_string
std::string to_string() const
Definition: L1MenuResources.cxx:112
GlobalSim::L1MenuResources
Definition: L1MenuResources.h:37
python.XMLReader.l1menu
l1menu
Definition: XMLReader.py:73
GlobalSim::L1MenuResources::L1MenuResources
L1MenuResources(const TrigConf::L1Menu &l1menu, const std::string &confAlgName, const std::string &confAlgTypeLabel)
Definition: L1MenuResources.cxx:16
TrigConf::L1Threshold
Standard L1 threshold configuration.
Definition: L1ThresholdBase.h:125