#include <CountingConnector.h>
Definition at line 26 of file CountingConnector.h.
◆ ConnectorType
| Enumerator |
|---|
| NONE | |
| INPUT | |
| SORT | |
| DECISION | |
| COUNT | |
Definition at line 25 of file Connector.h.
◆ CountingConnector()
| CountingConnector::CountingConnector |
( |
const std::string & | name, |
|
|
const std::string & | input, |
|
|
const std::string & | algorithm, |
|
|
const std::string & | output ) |
Definition at line 17 of file CountingConnector.cxx.
20 :
23{}
Connector(const std::string &name, ConnectorType conntype)
const std::string & name() const
const TCS::ConfigurableAlg * algorithm() const
TOBArray const * output(const std::string &trigger) const
TCS::CountingAlg * m_countingAlgorithm
◆ ~CountingConnector()
| CountingConnector::~CountingConnector |
( |
| ) |
|
|
virtual |
◆ algorithm() [1/2]
Definition at line 87 of file Connector.h.
TCS::ConfigurableAlg * m_algorithm
the algorithm that belongs to this connector
◆ algorithm() [2/2]
◆ algorithmName()
| const std::string & TCS::Connector::algorithmName |
( |
| ) |
const |
|
inlineinherited |
Definition at line 45 of file Connector.h.
std::string m_algorithmName
◆ attachOutputData()
| void CountingConnector::attachOutputData |
( |
const std::vector< TOBArray * > & | data | ) |
|
Definition at line 75 of file CountingConnector.cxx.
75 {
77 TCS_EXCEPTION(
"Trying to attach data to multiplicity connector '" <<
name() <<
"' which has already data attached");
78 }
79
80 for(TOBArray *
x :
data)
82}
char data[hepevt_bytes_allocation_ATLAS]
#define TCS_EXCEPTION(MSG)
std::vector< TOBArray const * > m_outputData
◆ clearOutput()
◆ count()
| const Count & TCS::CountingConnector::count |
( |
| ) |
const |
|
inline |
◆ countingAlgorithm() [1/2]
◆ countingAlgorithm() [2/2]
◆ executionStatusCode()
| StatusCode TCS::Connector::executionStatusCode |
( |
| ) |
const |
|
inlineinherited |
Definition at line 61 of file Connector.h.
StatusCode m_executionStatusCode
◆ hasAmbiguity()
| bool TCS::Connector::hasAmbiguity |
( |
| ) |
const |
|
inlineinherited |
◆ hasInputOverflow()
| bool TCS::Connector::hasInputOverflow |
( |
| ) |
const |
|
inlineinherited |
Definition at line 70 of file Connector.h.
bool m_hasInputOverflow
whether the input data came with an overflow bit
◆ inputConnector()
◆ inputConnectors() [1/2]
◆ inputConnectors() [2/2]
| const std::vector< TCS::Connector * > & TCS::Connector::inputConnectors |
( |
| ) |
const |
|
inlineinherited |
◆ inputNames()
| const std::vector< std::string > & TCS::Connector::inputNames |
( |
| ) |
const |
|
inlineinherited |
Definition at line 46 of file Connector.h.
std::vector< std::string > m_inputNames
◆ isCountingConnector()
| virtual bool TCS::CountingConnector::isCountingConnector |
( |
| ) |
const |
|
inlinevirtual |
◆ isDecisionConnector()
| bool TCS::Connector::isDecisionConnector |
( |
| ) |
const |
|
inlineinherited |
◆ isExecuted()
| bool TCS::Connector::isExecuted |
( |
| ) |
const |
|
inlineinherited |
◆ isInputConnector()
| bool TCS::Connector::isInputConnector |
( |
| ) |
const |
|
inlineinherited |
◆ isSortingConnector()
| bool TCS::Connector::isSortingConnector |
( |
| ) |
const |
|
inlineinherited |
◆ name()
| const std::string & TCS::Connector::name |
( |
| ) |
const |
|
inlineinherited |
◆ numberOutputBits()
| unsigned int TCS::Connector::numberOutputBits |
( |
| ) |
const |
|
inherited |
Definition at line 68 of file Connector.cxx.
68 {
70 return (
static_cast<const DecisionAlg*
>(
algorithm()))->numberOutputBits();
71 } else {
72 return 0;
73 }
74}
bool isDecisionConnector() const
◆ output()
| TCS::TOBArray const * TCS::CountingConnector::output |
( |
const std::string & | trigger | ) |
const |
Definition at line 34 of file CountingConnector.cxx.
34 {
35 unsigned int index(0);
36 for(
const TrigConf::TriggerLine & tl :
m_triggers) {
37 if(
tl.name() == trigger)
40 }
41 TCS_EXCEPTION(
"Counting connector '" <<
name() <<
"' has no output trigger '" << trigger <<
"'");
42 return nullptr;
43}
std::vector< TrigConf::TriggerLine > m_triggers
◆ outputData()
| const std::vector< TOBArray const * > & TCS::CountingConnector::outputData |
( |
| ) |
const |
|
inline |
◆ outputNames()
| const std::vector< std::string > & TCS::Connector::outputNames |
( |
| ) |
const |
|
inlineinherited |
Definition at line 47 of file Connector.h.
std::vector< std::string > m_outputNames
◆ reset()
Definition at line 48 of file Connector.cxx.
48 {
50
51
55
56
59
60
63
65}
virtual StatusCode clearOutput()=0
::StatusCode StatusCode
StatusCode definition for legacy code.
◆ setAlgorithm()
◆ setExecutionStatusCode()
| void TCS::Connector::setExecutionStatusCode |
( |
StatusCode | statusCode | ) |
|
|
inlineprotectedinherited |
◆ setFirstOutputBit()
| void CountingConnector::setFirstOutputBit |
( |
unsigned int | firstOutputBit | ) |
|
|
private |
◆ setIsExecuted()
| void TCS::Connector::setIsExecuted |
( |
bool | isExecuted | ) |
|
|
inlineprotectedinherited |
◆ toggleAmbiguity()
| void TCS::Connector::toggleAmbiguity |
( |
const bool | value | ) |
|
|
inherited |
◆ toggleInputOverflow()
| void TCS::Connector::toggleInputOverflow |
( |
const bool | value | ) |
|
|
inherited |
to be toggled after 'attachOutputData' is called.
This flag is reset with reset().
Definition at line 76 of file Connector.cxx.
◆ triggers()
◆ TopoSteering
◆ TopoSteeringStructure
◆ m_algorithm
the algorithm that belongs to this connector
Definition at line 102 of file Connector.h.
◆ m_algorithmName
| std::string TCS::Connector::m_algorithmName {""} |
|
protectedinherited |
◆ m_conntype
◆ m_count
| Count TCS::CountingConnector::m_count |
|
private |
◆ m_countingAlgorithm
◆ m_executionStatusCode
◆ m_hasAmbiguity
| bool TCS::Connector::m_hasAmbiguity {false} |
|
protectedinherited |
◆ m_hasInputOverflow
| bool TCS::Connector::m_hasInputOverflow {false} |
|
protectedinherited |
whether the input data came with an overflow bit
Definition at line 111 of file Connector.h.
◆ m_inputConnectors
◆ m_inputNames
| std::vector<std::string> TCS::Connector::m_inputNames |
|
protectedinherited |
◆ m_isExecuted
| bool TCS::Connector::m_isExecuted {false} |
|
protectedinherited |
◆ m_name
| std::string TCS::Connector::m_name {""} |
|
protectedinherited |
◆ m_outputData
| std::vector<TOBArray const *> TCS::CountingConnector::m_outputData |
|
private |
◆ m_outputNames
| std::vector<std::string> TCS::Connector::m_outputNames |
|
protectedinherited |
◆ m_triggers
The documentation for this class was generated from the following files: