#include <TopoSteeringStructure.h>
Definition at line 32 of file TopoSteeringStructure.h.
◆ TopoSteeringStructure()
| TCS::TopoSteeringStructure::TopoSteeringStructure |
( |
| ) |
|
Definition at line 66 of file TopoSteeringStructure.cxx.
66 :
68{}
static unsigned int maxComponents()
std::vector< TCS::ParameterSpace * > m_parameters
◆ ~TopoSteeringStructure()
| TopoSteeringStructure::~TopoSteeringStructure |
( |
| ) |
|
◆ addCountingConnector()
Definition at line 422 of file TopoSteeringStructure.cxx.
422 {
424 for(
const string & output :
conn->outputNames() )
427}
std::map< std::string, TCS::CountingConnector * > m_countLookup
◆ addDecisionConnector()
Definition at line 413 of file TopoSteeringStructure.cxx.
413 {
415 for(
const string & output :
conn->outputNames() )
418}
std::map< std::string, TCS::DecisionConnector * > m_outputLookup
◆ addSortingConnector()
Definition at line 405 of file TopoSteeringStructure.cxx.
405 {
407 for(
const string & output :
conn->outputNames() )
410}
std::map< std::string, TCS::SortingConnector * > m_sortedLookup
◆ ATLAS_NOT_THREAD_SAFE() [1/2]
| StatusCode instantiateAlgorithms TCS::TopoSteeringStructure::ATLAS_NOT_THREAD_SAFE |
( |
bool | debug | ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [2/2]
| StatusCode setupFromMenu TCS::TopoSteeringStructure::ATLAS_NOT_THREAD_SAFE |
( |
const TrigConf::L1Menu & | l1menu, |
|
|
bool | legacy = false, |
|
|
bool | debug = false ) |
◆ connector()
| TCS::Connector * TCS::TopoSteeringStructure::connector |
( |
const std::string & | connectorName | ) |
const |
Definition at line 472 of file TopoSteeringStructure.cxx.
472 {
474 if(
conn->name() == connectorName )
476 }
477 TCS_EXCEPTION(
"L1Topo Steering: can not find connector of name " << connectorName <<
". Need to abort!");
478 return 0;
479}
#define TCS_EXCEPTION(MSG)
◆ connectors()
| const std::vector< TCS::Connector * > & TCS::TopoSteeringStructure::connectors |
( |
| ) |
const |
|
inline |
◆ countConnectors()
| const std::map< std::string, TCS::CountingConnector * > & TCS::TopoSteeringStructure::countConnectors |
( |
| ) |
const |
|
inline |
◆ countingConnector()
◆ isConfigured()
| bool TCS::TopoSteeringStructure::isConfigured |
( |
| ) |
const |
|
inline |
◆ linkConnectors()
Definition at line 431 of file TopoSteeringStructure.cxx.
431 {
432
434 for(
const std::string & inconn:
conn->inputNames())
436
438}
Connector * connector(const std::string &connectorName) const
◆ outputConnector()
◆ outputConnectors()
| const std::map< std::string, TCS::DecisionConnector * > & TCS::TopoSteeringStructure::outputConnectors |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::TopoSteeringStructure::print |
( |
std::ostream & | o | ) |
const |
Definition at line 87 of file TopoSteeringStructure.cxx.
87 {
88 o << "Topo Steering Structure" << endl
89 << "-----------------------" << endl;
90
91 o << "Output summary:" << endl;
93 o <<
" " << *
conn.second << endl;
94 }
95
96 o << endl
97 << "Algorithm detail:" << endl;
99 DecisionConnector *
conn =
nc.second;
100 unsigned int firstBit =
conn->decision().firstBit();
101 unsigned int lastBit =
conn->numberOutputBits() + firstBit - 1;
102 const ConfigurableAlg*
alg =
conn->algorithm();
103 const Connector* inputconn =
conn->inputConnectors().back();
104 const ConfigurableAlg* sortalg = inputconn->
algorithm();
105 o << std::setw(2) <<
"bits " << firstBit <<
"-" << lastBit <<
": " <<
conn->name() <<
" [input " << inputconn->
name() <<
"]" << endl;
106 o << *
alg << endl << endl;
107 o << *sortalg << endl;
108 }
109}
const std::string & name() const
const TCS::ConfigurableAlg * algorithm() const
const std::map< std::string, TCS::DecisionConnector * > & outputConnectors() const
◆ printParameters()
| void TCS::TopoSteeringStructure::printParameters |
( |
std::ostream & | o | ) |
const |
◆ reset()
◆ sortingConnector()
| SortingConnector * TopoSteeringStructure::sortingConnector |
( |
const std::string & | output | ) |
const |
|
private |
Definition at line 483 of file TopoSteeringStructure.cxx.
483 {
484 SortingConnector *
sc =
nullptr;
486 if(
conn->name() == connectorName ) {
487 sc =
dynamic_cast<SortingConnector*
>(
conn);
489 TCS_EXCEPTION(
"TopoSteeringStructure: connector of name " << connectorName <<
" exists, but is not a SortingConnector. Need to abort!");
490 }
491 }
492 }
493
495}
◆ m_connectors
◆ m_countLookup
◆ m_inputLookup
◆ m_isConfigured
| bool TCS::TopoSteeringStructure::m_isConfigured { false } |
|
private |
◆ m_outputLookup
◆ m_parameters
◆ m_sortedLookup
The documentation for this class was generated from the following files: