|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCONFIGSVC__BUNCHGROUPCONDALG
6 #define TRIGCONFIGSVC__BUNCHGROUPCONDALG
14 #include <tbb/concurrent_unordered_map.h>
32 std::shared_ptr<L1BunchGroupSet>
createFromDB(
unsigned int )
const;
35 mutable tbb::concurrent_unordered_map<unsigned int, std::shared_ptr<const L1BunchGroupSet>> m_BgsMap
ATLAS_THREAD_SAFE;
44 Gaudi::Property< std::string >
m_configSource {
this,
"Source",
"FILE",
"Configuration source, can be 'FILE', 'DB', or 'COOL'" };
45 Gaudi::Property< std::string >
m_dbConnection {
this,
"TriggerDB",
"",
"DB connection alias or 'JOSVC', used when property Source set to 'DB' or set to 'COOL'." };
46 Gaudi::Property< unsigned int >
m_bgk {
this,
"BGSK", 0,
"L1 BunchGroup key, used when property 'Source' set to 'DB' or 'FILE'" };
47 Gaudi::Property< std::string >
m_filename {
this,
"Filename",
"",
"L1BunchGroupSet json file, used when property 'Source' set to 'FILE'" };
std::shared_ptr< L1BunchGroupSet > createFromDB(unsigned int) const
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_dbConnection
SG::WriteCondHandleKey< TrigConf::L1BunchGroupSet > m_l1BunchGroupSetOutputKey
Gaudi::Property< std::string > m_configSource
BunchGroupCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual bool isReEntrant() const override final
bool const RAWDATA *ch2 const
tbb::concurrent_unordered_map< unsigned int, std::shared_ptr< const L1BunchGroupSet > > m_BgsMap ATLAS_THREAD_SAFE
An algorithm that can be simultaneously executed in multiple threads.
Forward iterator to traverse the main components of the trigger configuration.
SG::ReadCondHandleKey< AthenaAttributeList > m_bgkFolderInputKey
Gaudi::Property< std::string > m_filename
::StatusCode StatusCode
StatusCode definition for legacy code.
std::shared_ptr< L1BunchGroupSet > createFromFile(const std::string &filename) const
virtual StatusCode execute(const EventContext &ctx) const override
Define macros for attributes used to control the static checker.
Gaudi::Property< unsigned int > m_bgk