#include <TopoCoreSimResult.h>
Definition at line 36 of file TopoCoreSimResult.h.
◆ TopoCoreSimResult()
| TopoCoreSimResult::TopoCoreSimResult |
( |
| ) |
|
◆ ~TopoCoreSimResult()
| TopoCoreSimResult::~TopoCoreSimResult |
( |
| ) |
|
◆ collectResult()
Definition at line 53 of file TopoCoreSimResult.cxx.
53 {
55 if ( (outputConn == nullptr ) && (countConn == nullptr) ) {
57 } else if ( !(outputConn == nullptr ) && (countConn == nullptr) ){
58 set<DecisionConnector*>
c = { outputConn };
60 } else if ( (outputConn == nullptr ) && !(countConn == nullptr) ){
61 set<CountingConnector*>
c = { countConn };
63 } else {
64 set<DecisionConnector*>
c1 = { outputConn };
65 set<CountingConnector*>
c2 = { countConn };
67 }
69}
GlobalOutput m_globalOutput
std::set< TCS::CountingConnector * > m_countConnectors
std::set< TCS::DecisionConnector * > m_outputConnectors
◆ getName()
| const std::string & TrigConf::TrigConfMessaging::getName |
( |
| ) |
const |
|
inlineinherited |
◆ globalOutput()
| const GlobalOutput & TCS::TopoCoreSimResult::globalOutput |
( |
| ) |
const |
|
inline |
◆ msg() [1/2]
| MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 86 of file TrigConfMessaging.h.
87 {
89 if (!ms) {
92 }
94 }
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
◆ msg() [2/2]
| MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
const MSGTC::Level | lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 96 of file TrigConfMessaging.h.
97 {
99 }
MsgStreamTC & msg() const
The standard message stream.
◆ msgLvl()
| bool TrigConf::TrigConfMessaging::msgLvl |
( |
const MSGTC::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
76 {
79 return true;
80 }
81 else {
82 return false;
83 }
84 }
◆ output()
| const std::vector< const TCS::TOBArray * > & TCS::TopoCoreSimResult::output |
( |
const std::string & | connName | ) |
const |
Definition at line 125 of file TopoCoreSimResult.cxx.
125 {
126
128 if(
conn->name() != connName )
continue;
129 return conn->outputData();
130 }
131
132
133 TCS_EXCEPTION(
"No connector with name '" << connName <<
"'");
134
135
136}
#define TCS_EXCEPTION(MSG)
◆ reset()
◆ setMsgLevel()
Definition at line 160 of file TopoCoreSimResult.cxx.
160 {
162
164}
void setLevel(MSGTC::Level lvl)
Set message level of stream.
◆ setupFromMenu()
Definition at line 79 of file TopoCoreSimResult.cxx.
79 {
80
81
82
84
85 vector<TrigConf::TriggerLine> triggerLinesDec;
86
88
90
91
92 for(
const TrigConf::TriggerLine & trigger :
x.second->triggers() ) {
94 triggerLinesDec.push_back(trigger);
95 }
96 }
97
99
100
101
103
104 vector<TrigConf::TriggerLine> triggerLinesCount;
105
107
109
110
111 for(
const TrigConf::TriggerLine & trigger :
x.second->triggers() ) {
113 triggerLinesCount.push_back(trigger);
114 }
115 }
116
118
120}
std::map< std::string, TCS::DecisionConnector * > m_triggerLocationDec
std::map< std::string, TCS::DecisionConnector * > m_outputConnectorMap
std::map< std::string, TCS::CountingConnector * > m_triggerLocationCount
std::map< std::string, TCS::CountingConnector * > m_countConnectorMap
◆ triggerDecision()
| bool TopoCoreSimResult::triggerDecision |
( |
const std::string & | triggerName | ) |
const |
◆ triggerOutput()
| const TCS::TOBArray * TopoCoreSimResult::triggerOutput |
( |
const std::string & | triggerName | ) |
const |
◆ operator<<
Definition at line 141 of file TopoCoreSimResult.cxx.
142 {
143
145
147 o <<
conn->name() << endl;
148
149
150
151 for(
const TCS::TOBArray*
output :
conn->outputData())
152 o <<
" output " <<
output << endl;
153 }
154
155 return o;
156}
const GlobalOutput & globalOutput() const
const std::vector< const TCS::TOBArray * > & output(const std::string &connName) const
◆ m_countConnectorMap
◆ m_countConnectors
◆ m_globalOutput
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
◆ m_name
| std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
◆ m_outputConnectorMap
◆ m_outputConnectors
◆ m_triggerLocationCount
◆ m_triggerLocationDec
The documentation for this class was generated from the following files: