6#ifndef L1TopoCoreSim_GlobalOutput
7#define L1TopoCoreSim_GlobalOutput
30 std::ostream&
operator<<(std::ostream&,
const TCS::GlobalOutput &);
39 GlobalOutput(
const std::string & name =
"L1TopoGlobalOutput");
43 uint32_t
decision_field(
const std::string& l1connName,
unsigned int clock)
const;
45 bool passed(
const std::string& connName,
unsigned int bit)
const {
return ( ( (uint64_t)0x1 << bit) &
m_decision.find(connName)->second) != 0; }
47 uint32_t
overflow_field(
const std::string& l1connName,
unsigned int clock)
const;
48 bool overflowed(
const std::string& l1connName,
unsigned int bit)
const {
return ( ( (uint64_t)0x1 << bit) &
m_overflow.find(l1connName)->second) != 0; }
51 uint32_t
ambiguity_field(
const std::string& l1connName,
unsigned int clock)
const;
53 std::bitset<128>
count_field(
const std::string& l1connName)
const;
63 StatusCode collectOutput(
const std::set<DecisionConnector*> & outConn,
const std::set<CountingConnector*> & countConn);
79 std::map<std::string,std::bitset<128>>
m_count;
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
std::map< std::string, uint64_t > m_overflow
const Decision & decision(const std::string &algName) const
friend std::ostream & operator<<(std::ostream &, const TCS::GlobalOutput &)
bool overflowed(const std::string &l1connName, unsigned int bit) const
std::map< std::string, std::bitset< 128 > > m_count
std::bitset< 128 > count_field(const std::string &l1connName) const
void setMultiplicityTriggerLines(const std::vector< TrigConf::TriggerLine > &triggers)
uint64_t decision_field(const std::string &l1connName) const
uint64_t ambiguity_field(const std::string &l1connName) const
void setDecisionTriggerLines(const std::vector< TrigConf::TriggerLine > &triggers)
GlobalOutput(const std::string &name="L1TopoGlobalOutput")
StatusCode collectOutput(const std::set< DecisionConnector * > &outConn, const std::set< CountingConnector * > &countConn)
std::map< std::string, uint64_t > m_decision
uint64_t overflow_field(const std::string &l1connName) const
std::map< std::string, uint64_t > m_ambiguity
std::vector< TrigConf::TriggerLine > m_triggersDec
std::vector< TrigConf::TriggerLine > m_triggersCount
bool passed(const std::string &connName, unsigned int bit) const
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
std::ostream & operator<<(std::ostream &os, const TCS::Bin &bin)