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