|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCONFDATA_HLTPRESCALESET_H
6 #define TRIGCONFDATA_HLTPRESCALESET_H
10 #include <unordered_map>
42 return "HLTPrescaleSet";
46 std::size_t
size()
const;
49 unsigned int psk()
const;
67 virtual void clear()
override;
79 std::unordered_map<std::string, HLTPrescale>
m_prescales {1024};
96 #ifndef TRIGCONF_STANDALONE
97 #ifndef XAOD_STANDALONE
102 #include "AthenaKernel/CondCont.h"
const ptree & data() const
Access to the underlying data, if needed.
std::unordered_map< uint32_t, HLTPrescale > m_prescalesByHash
void setPSK(unsigned int psk)
std::unordered_map< std::string, HLTPrescale > m_prescales
HLTPrescalesSet()
Constructors.
const HLTPrescale & prescale_express(const std::string &chainName) const
HLT prescales by chain names.
CONDCONT_DEF(TrigConf::HLTPrescalesSet, 130966407)
HLTPrescale m_notInExpress
virtual ~HLTPrescalesSet() override=default
Destructor.
std::size_t size() const
number of HLT prescales
std::unordered_map< uint32_t, HLTPrescale > m_prescalesByHash_express
std::unordered_map< std::string, HLTPrescale > m_prescales_express
Forward iterator to traverse the main components of the trigger configuration.
const HLTPrescale & prescale(const std::string &chainName) const
HLT prescales by chain names.
HLTPrescalesSet(const HLTPrescalesSet &)=default
virtual void update() override
Update the internal prescale map after modification of the data object.
unsigned int m_psk
the prescale key
void printPrescaleSet(bool full) const
Base class for Trigger configuration data and wrapper around underlying representation.
virtual void clear() override
Clearing the configuration data.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual std::string className() const override
A string that is the name of the class.
unsigned int psk() const
setter and getter for the HLT prescale key
boost::property_tree::ptree ptree
macros to associate a CLID to a type
HLTPrescalesSet(HLTPrescalesSet &&)=default