36 std::unordered_map<std::string, float>::const_iterator i =
m_rerun_prescale.find(targetName);
38 float ps = found ? i->second : 0;
39 return std::make_pair(found,ps);
44 std::unordered_map<std::string, float>::const_iterator i =
m_stream_prescale.find(streamName);
46 float ps = found ? i->second : 0;
47 return std::make_pair(found,ps);
55 o <<
"Prescale: " << setw(4) << c.prescale()
56 <<
", pass-through: " << setw(4) << c.pass_through()
HLTPrescale & setStreamPrescale(const std::string &streamName, float ps)
PrescaleMap_t m_stream_prescale
float pass_through() const
HLTPrescale(float prescale=1, float pass_through=-1)
HLTPrescale & setRerunPrescale(const std::string &targetName, float ps)
std::string __str__() const
PrescaleMap_t m_rerun_prescale
std::pair< bool, float > getRerunPrescale(const std::string &targetName) const
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)