#include <L1TopoConfigAlg.h>
|
| L1TopoConfigAlg (const std::string &name, const std::string &type) |
| class L1TopoConfigAlg More...
|
|
| L1TopoConfigAlg (L1TopoConfigAlg &&) noexcept=default |
|
L1TopoConfigAlg & | operator= (L1TopoConfigAlg &&) noexcept=default |
|
virtual | ~L1TopoConfigAlg () |
|
const std::string & | name () const |
|
unsigned int | algoID () const |
|
std::string | fullname () const |
|
const std::string & | type () const |
|
const std::string & | output () const |
|
bool | isSortAlg () const |
|
bool | isDecAlg () const |
|
const std::vector< InputElement > & | getInputs () const |
|
std::vector< std::string > | getInputNames () const |
|
const std::vector< OutputElement > & | getOutputs () const |
|
std::vector< std::string > | getOutputNames () const |
|
const std::vector< FixedParameter > & | getFixedParameters () const |
|
const std::vector< RegisterParameter > & | getParameters () const |
|
void | setAlgName (const std::string &name) |
|
void | setAlgType (const std::string &type) |
|
void | setAlgOutput (const std::string &output) |
|
void | setAlgoID (unsigned int algoID) |
|
void | setAlgKind (AlgKind kind) |
|
void | addInput (const std::string &name, const std::string &value, unsigned int position) |
|
void | addOutput (const std::string &name, const std::string &value, unsigned int bits, const std::string &outname, unsigned int position) |
|
void | addFixedParameter (const std::string &name, const std::string &value) |
|
void | addParameter (const std::string &name, const std::string &value, unsigned int position, unsigned int selection) |
|
Definition at line 56 of file L1TopoConfigAlg.h.
◆ AlgKind
◆ L1TopoConfigAlg() [1/3]
TXC::L1TopoConfigAlg::L1TopoConfigAlg |
( |
const std::string & |
name, |
|
|
const std::string & |
type |
|
) |
| |
◆ L1TopoConfigAlg() [2/3]
◆ ~L1TopoConfigAlg()
TXC::L1TopoConfigAlg::~L1TopoConfigAlg |
( |
| ) |
|
|
virtual |
◆ L1TopoConfigAlg() [3/3]
TXC::L1TopoConfigAlg::L1TopoConfigAlg |
( |
| ) |
|
|
inlineprivate |
◆ addFixedParameter()
void TXC::L1TopoConfigAlg::addFixedParameter |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
◆ addInput()
void TXC::L1TopoConfigAlg::addInput |
( |
const std::string & |
name, |
|
|
const std::string & |
value, |
|
|
unsigned int |
position |
|
) |
| |
◆ addOutput()
void TXC::L1TopoConfigAlg::addOutput |
( |
const std::string & |
name, |
|
|
const std::string & |
value, |
|
|
unsigned int |
bits, |
|
|
const std::string & |
outname, |
|
|
unsigned int |
position |
|
) |
| |
◆ addParameter()
void TXC::L1TopoConfigAlg::addParameter |
( |
const std::string & |
name, |
|
|
const std::string & |
value, |
|
|
unsigned int |
position, |
|
|
unsigned int |
selection |
|
) |
| |
◆ algoID()
unsigned int TXC::L1TopoConfigAlg::algoID |
( |
| ) |
const |
|
inline |
◆ fullname()
string TXC::L1TopoConfigAlg::fullname |
( |
| ) |
const |
◆ getFixedParameters()
◆ getInputNames()
vector< string > L1TopoConfigAlg::getInputNames |
( |
| ) |
const |
◆ getInputs()
◆ getOutputNames()
vector< string > L1TopoConfigAlg::getOutputNames |
( |
| ) |
const |
◆ getOutputs()
◆ getParameters()
◆ isDecAlg()
bool TXC::L1TopoConfigAlg::isDecAlg |
( |
| ) |
const |
|
inline |
◆ isSortAlg()
bool TXC::L1TopoConfigAlg::isSortAlg |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& TXC::L1TopoConfigAlg::name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ output()
const std::string& TXC::L1TopoConfigAlg::output |
( |
| ) |
const |
|
inline |
◆ setAlgKind()
void TXC::L1TopoConfigAlg::setAlgKind |
( |
AlgKind |
kind | ) |
|
|
inline |
◆ setAlgName()
void TXC::L1TopoConfigAlg::setAlgName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setAlgoID()
void TXC::L1TopoConfigAlg::setAlgoID |
( |
unsigned int |
algoID | ) |
|
|
inline |
◆ setAlgOutput()
void TXC::L1TopoConfigAlg::setAlgOutput |
( |
const std::string & |
output | ) |
|
|
inline |
◆ setAlgType()
void TXC::L1TopoConfigAlg::setAlgType |
( |
const std::string & |
type | ) |
|
|
inline |
◆ type()
const std::string& TXC::L1TopoConfigAlg::type |
( |
| ) |
const |
|
inline |
◆ operator<<
Definition at line 104 of file L1TopoConfigAlg.cxx.
106 if(
alg.isSortAlg()) {
107 o <<
"Sorting algorithm " <<
alg.algoID() <<
" : " <<
alg.type() <<
"/" <<
alg.name() << endl;
108 o <<
" Input : " <<
alg.m_inputElements[0].value << endl;
109 o <<
" Output : " <<
alg.m_outputElements[0].value << endl;
111 o <<
"Decision algorithm " <<
alg.algoID() <<
" : " <<
alg.type() <<
"/" <<
alg.name() << endl;
113 o <<
" Input " <<
ie.position <<
" : " <<
ie.value << endl;
117 o <<
" Fixed paramters: " <<
alg.getFixedParameters().size() << endl;
119 o <<
" " << setw(15) << left << ge.
name <<
" : " << ge.
value << endl;
120 o <<
" Parameters: " <<
alg.getParameters().size() << endl;
122 o <<
" " << setw(15) << left <<
pe.name <<
" : " <<
pe.value << endl;
◆ m_algoID
unsigned int TXC::L1TopoConfigAlg::m_algoID {0} |
|
private |
◆ m_fixedParameters
◆ m_inputElements
◆ m_kind
◆ m_name
std::string TXC::L1TopoConfigAlg::m_name {""} |
|
private |
◆ m_output
std::string TXC::L1TopoConfigAlg::m_output {""} |
|
private |
◆ m_outputElements
◆ m_type
std::string TXC::L1TopoConfigAlg::m_type {""} |
|
private |
◆ m_variableParameters
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.