|
ATLAS Offline Software
|
Go to the documentation of this file.
26 TopoCoreSimResult::TopoCoreSimResult() :
27 TrigConfMessaging(
"TopoCoreSimResult")
38 TCS_EXCEPTION(
"No trigger with name '" << triggerName <<
"' defined");
39 return x->second->decision(triggerName);
46 TCS_EXCEPTION(
"No trigger with name '" << triggerName <<
"' defined");
47 return x->second->output(triggerName);
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 };
64 set<DecisionConnector*>
c1 = { outputConn };
65 set<CountingConnector*>
c2 = { countConn };
79 TopoCoreSimResult::setupFromMenu(
const std::map<std::string, TCS::DecisionConnector*>& outputConnectorMap,
const std::map<std::string, TCS::CountingConnector*>& countConnectorMap) {
85 vector<TrigConf::TriggerLine> triggerLinesDec;
94 triggerLinesDec.push_back(trigger);
104 vector<TrigConf::TriggerLine> triggerLinesCount;
113 triggerLinesCount.push_back(trigger);
124 const std::vector<const TCS::TOBArray*> &
128 if(
conn->name() != connName )
continue;
129 return conn->outputData();
133 TCS_EXCEPTION(
"No connector with name '" << connName <<
"'");
147 o <<
conn->name() << endl;
152 o <<
" output " <<
output << endl;
void setDecisionTriggerLines(const std::vector< TrigConf::TriggerLine > &triggers)
StatusCode collectOutput(const std::set< DecisionConnector * > &outConn, const std::set< CountingConnector * > &countConn)
GlobalOutput m_globalOutput
std::map< std::string, TCS::CountingConnector * > m_countConnectorMap
std::set< TCS::DecisionConnector * > m_outputConnectors
const std::vector< const TCS::TOBArray * > & output(const std::string &connName) const
const TCS::TOBArray * triggerOutput(const std::string &triggerName) const
std::set< TCS::CountingConnector * > m_countConnectors
std::map< std::string, TCS::CountingConnector * > m_triggerLocationCount
a TriggerLine entry describes the location of a threshold multiplicity on a cable (connector)
const GlobalOutput & globalOutput() const
StatusCode setupFromMenu(const std::map< std::string, TCS::DecisionConnector * > &outputConnectorMap, const std::map< std::string, TCS::CountingConnector * > &countConnectorMap)
MsgStreamTC & msg() const
The standard message stream.
void setMsgLevel(TrigConf::MSGTC::Level lvl)
#define TCS_EXCEPTION(MSG)
StatusCode collectResult(TCS::DecisionConnector *outputConn=nullptr, TCS::CountingConnector *countConn=nullptr)
std::map< std::string, TCS::DecisionConnector * > m_triggerLocationDec
bool triggerDecision(const std::string &triggerName) const
std::map< std::string, TCS::DecisionConnector * > m_outputConnectorMap
void setLevel(MSGTC::Level lvl)
Set message level of stream.
std::ostream & operator<<(std::ostream &, const TCS::CountingConnector &)
void setMultiplicityTriggerLines(const std::vector< TrigConf::TriggerLine > &triggers)