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"
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const ptree & data() const
Access to the underlying data, if needed.
DataStructure()
Default constructor, leading to an uninitialized configuration object.
boost::property_tree::ptree ptree
std::size_t size() const
number of HLT prescales
const HLTPrescale & prescale_express(const std::string &chainName) const
HLT prescales by chain names.
HLTPrescalesSet(const HLTPrescalesSet &)=default
const HLTPrescale & prescale(const std::string &chainName) const
HLT prescales by chain names.
virtual void update() override
Update the internal prescale map after modification of the data object.
std::unordered_map< std::string, HLTPrescale > m_prescales_express
HLTPrescale m_notInExpress
void setPSK(unsigned int psk)
std::unordered_map< uint32_t, HLTPrescale > m_prescalesByHash
virtual std::string className() const override
A string that is the name of the class.
std::unordered_map< std::string, HLTPrescale > m_prescales
HLTPrescalesSet()
Constructors.
unsigned int m_psk
the prescale key
unsigned int psk() const
setter and getter for the HLT prescale key
void printPrescaleSet(bool full) const
HLTPrescalesSet(HLTPrescalesSet &&)=default
virtual void clear() override
Clearing the configuration data.
std::unordered_map< uint32_t, HLTPrescale > m_prescalesByHash_express
virtual ~HLTPrescalesSet() override=default
Destructor.
Forward iterator to traverse the main components of the trigger configuration.