6#ifndef L1TopoCoreSim_GlobalDecision
7#define L1TopoCoreSim_GlobalDecision
29 std::ostream&
operator<<(std::ostream&,
const TCS::GlobalDecision &);
40 uint32_t
decision_field(
const std::string& connName,
unsigned int clock)
const;
42 bool passed(
const std::string& connName,
unsigned int bit)
const {
return ( ( (uint64_t)0x1 << bit) &
m_decision.find(connName)->second) != 0; }
44 uint32_t
overflow_field(
const std::string& connName,
unsigned int clock)
const;
45 bool overflowed(
const std::string& connName,
unsigned int bit)
const {
return ( ( (uint64_t)0x1 << bit) &
m_overflow.find(connName)->second) != 0; }
51 void setTriggerLines(
const std::vector<TrigConf::TriggerLine> & triggers);
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
uint64_t overflow_field(const std::string &connName) const
void setTriggerLines(const std::vector< TrigConf::TriggerLine > &triggers)
StatusCode resetDecision()
std::map< std::string, uint64_t > m_decision
std::vector< TrigConf::TriggerLine > m_triggers
const Decision & decision(const std::string &algName) const
bool overflowed(const std::string &connName, unsigned int bit) const
bool passed(const std::string &connName, unsigned int bit) const
uint64_t decision_field(const std::string &connName) const
std::map< std::string, uint64_t > m_overflow
StatusCode collectDecision(const std::set< DecisionConnector * > &outconn)
GlobalDecision(const std::string &name="L1TopoGlobalDecision")
friend std::ostream & operator<<(std::ostream &, const TCS::GlobalDecision &)
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
std::ostream & operator<<(std::ostream &os, const TCS::Bin &bin)