5#ifndef TrigConf_HLTPrescale
6#define TrigConf_HLTPrescale
16#include <unordered_map>
24 std::ostream &
operator<<(std::ostream &,
const TrigConf::HLTPrescale &);
54 std::pair<bool, float>
getRerunPrescale(
const std::string& targetName)
const;
HLTPrescale & setStreamPrescale(const std::string &streamName, float ps)
PrescaleMap_t m_stream_prescale
float pass_through() const
const PrescaleMap_t & getStreamPrescales() const
HLTPrescale(float prescale=1, float pass_through=-1)
PrescaleMap_t::value_type value_type
HLTPrescale(HLTPrescale &&o) noexcept=default
HLTPrescale & operator=(HLTPrescale &&) noexcept=default
HLTPrescale & setRerunPrescale(const std::string &targetName, float ps)
std::string __str__() const
PrescaleMap_t m_rerun_prescale
HLTPrescale & operator=(const HLTPrescale &)=default
HLTPrescale & setPassThrough(float pass_through)
const PrescaleMap_t & getRerunPrescales() const
std::pair< bool, float > getRerunPrescale(const std::string &targetName) const
std::unordered_map< std::string, float > PrescaleMap_t
HLTPrescale & setPrescale(float prescale)
HLTPrescale(const HLTPrescale &o)=default
std::pair< bool, float > getStreamPrescale(const std::string &streamName) const
Forward iterator to traverse the main components of the trigger configuration.
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)