|
ATLAS Offline Software
|
Go to the documentation of this file.
17 CountingConnector::CountingConnector(
const string &
name,
22 m_countingAlgorithm(0)
35 unsigned int index(0);
37 if(
tl.name() == trigger)
38 return m_outputData[
index];
41 TCS_EXCEPTION(
"Counting connector '" <<
name() <<
"' has no output trigger '" << trigger <<
"'");
69 TCS_EXCEPTION(
"Error: algorithm " <<
alg->name() <<
" is not a CountingAlg");
77 TCS_EXCEPTION(
"Trying to attach data to multiplicity connector '" <<
name() <<
"' which has already data attached");
94 o <<
"(" <<
join(
conn.inputNames()) <<
") ---[" <<
conn.algorithmName() <<
"]---> (" <<
join(
conn.outputNames()) <<
")";
char data[hepevt_bytes_allocation_ATLAS]
virtual ~CountingConnector()
void setFirstBit(unsigned int startBit)
std::vector< TCS::Connector * > m_inputConnectors
void setAlgorithm(TCS::ConfigurableAlg *alg)
TCS::CountingAlg * m_countingAlgorithm
a TriggerLine entry describes the location of a threshold multiplicity on a cable (connector)
#define TCS_EXCEPTION(MSG)
std::string join(const std::vector< std::string > &v, const char c=',')
const std::string & name() const
TOBArray const * output(const std::string &trigger) const
void attachOutputData(const std::vector< TOBArray * > &)
InputConnector * inputConnector() const
virtual StatusCode clearOutput()
void setFirstOutputBit(unsigned int firstOutputBit)
std::ostream & operator<<(std::ostream &, const TCS::CountingConnector &)
virtual void setAlgorithm(TCS::ConfigurableAlg *)
std::vector< TOBArray const * > m_outputData