|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCONFIGSVC__L1PRESCALECONDALG
6 #define TRIGCONFIGSVC__L1PRESCALECONDALG
17 #include <tbb/concurrent_unordered_map.h>
50 std::shared_ptr<L1PrescalesSet>
createFromDB(
unsigned int psk,
bool isRun3 )
const;
53 mutable tbb::concurrent_unordered_map<unsigned int, std::shared_ptr<const L1PrescalesSet>> m_pssMap
ATLAS_THREAD_SAFE;
62 Gaudi::Property< std::string >
m_configSource {
this,
"Source",
"FILE",
"Configuration source, can be 'FILE', 'DB', or 'COOL'" };
63 Gaudi::Property< std::string >
m_dbConnection {
this,
"TriggerDB",
"",
"DB connection alias or 'JOSVC', used when property Source set to 'DB' or set to 'COOL'." };
64 Gaudi::Property< unsigned int >
m_psk {
this,
"L1Psk", 0,
"L1 prescale key, used when property 'Source' set to 'DB' or 'FILE'" };
65 Gaudi::Property< std::string >
m_filename {
this,
"Filename",
"",
"L1 prescale json file, used when property 'Source' set to 'FILE'" };
std::shared_ptr< L1PrescalesSet > createFromFile(const std::string &filename) const
SG::WriteCondHandleKey< TrigConf::L1PrescalesSet > m_l1PrescalesSetOutputKey
Gaudi::Property< std::string > m_configSource
Gaudi::Property< std::string > m_dbConnection
std::shared_ptr< L1PrescalesSet > createFromDB(unsigned int psk, bool isRun3) const
bool const RAWDATA *ch2 const
An algorithm that can be simultaneously executed in multiple threads.
Forward iterator to traverse the main components of the trigger configuration.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< unsigned int > m_psk
Gaudi::Property< std::string > m_filename
virtual bool isReEntrant() const override final
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
virtual ~L1PrescaleCondAlg() override=default
SG::ReadCondHandleKey< AthenaAttributeList > m_pskFolderInputKey
L1PrescaleCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
tbb::concurrent_unordered_map< unsigned int, std::shared_ptr< const L1PrescalesSet > > m_pssMap ATLAS_THREAD_SAFE
Condition algorithm to provide the L1 trigger menu.
Define macros for attributes used to control the static checker.