|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigConf_HLTPrescaleSet
6 #define TrigConf_HLTPrescaleSet
19 #include <unordered_map>
34 typedef std::unordered_map<unsigned int, HLTPrescale>
ScalingMap_t;
69 std::string
__str__()
const override;
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
friend std::ostream & operator<<(std::ostream &, const TrigConf::HLTPrescaleSet &)
bool hasPrescale(unsigned int counter, TrigConf::HLTLevel level=HLT) const
HLTPrescaleSet()
default constructor
void print(const std::string &indent="", unsigned int detail=1) const override
print the prescale set
HLTPrescale & setPrescale(const HLTPrescale &sc, unsigned int chain_counter, HLTLevel level=HLT)
std::array< ScalingMap_t, 3 > m_scalers
HLTPrescale & thePrescale(unsigned int chain_counter, HLTLevel level)
Forward iterator to traverse the main components of the trigger configuration.
virtual ~HLTPrescaleSet() override=default
destructor
void getIOV(uint32_t &start_run, uint32_t &start_lb, uint32_t &end_run, uint32_t &end_lb) const
gets the IOV of the prescale set
const ScalingMap_t & getPrescales(HLTLevel level) const
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
const HLTPrescale & getPrescale(unsigned int chain_counter, HLTLevel level=HLT) const
size_t size(HLTLevel level=HLT) const
HLT chain configuration information.
bool isValid(uint32_t run, uint32_t lb) const
checks if run/lb are in the current IOV
std::unordered_map< unsigned int, HLTPrescale > ScalingMap_t
std::string __str__() const override
std::ostream & indent(std::ostream &o, int lvl, int size) const
void setIOV(uint32_t start_run, uint32_t start_lb, uint32_t end_run, uint32_t end_lb)
sets the IOV of the prescale set