22 m_countingAlgorithm(0)
35 unsigned int index(0);
37 if(tl.name() == trigger)
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");
87 m_count.setFirstBit(firstOutputBit);
94 o <<
"(" <<
join(conn.inputNames()) <<
") ---[" << conn.algorithmName() <<
"]---> (" <<
join(conn.outputNames()) <<
")";
char data[hepevt_bytes_allocation_ATLAS]
#define TCS_EXCEPTION(MSG)
Connector(const std::string &name, ConnectorType conntype)
std::vector< TCS::Connector * > m_inputConnectors
const std::string & name() const
virtual void setAlgorithm(TCS::ConfigurableAlg *)
const TCS::ConfigurableAlg * algorithm() const
TOBArray const * output(const std::string &trigger) const
void attachOutputData(const std::vector< TOBArray * > &)
CountingConnector(const std::string &name, const std::string &input, const std::string &algorithm, const std::string &output)
TCS::CountingAlg * m_countingAlgorithm
std::vector< TrigConf::TriggerLine > m_triggers
void setFirstOutputBit(unsigned int firstOutputBit)
virtual ~CountingConnector()
void setAlgorithm(TCS::ConfigurableAlg *alg)
std::vector< TOBArray const * > m_outputData
InputConnector * inputConnector() const
virtual StatusCode clearOutput()
a TriggerLine entry describes the location of a threshold multiplicity on a cable (connector)
std::ostream & operator<<(std::ostream &os, const TCS::Bin &bin)
std::string join(const std::vector< std::string > &v, const char c=',')