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