|
ATLAS Offline Software
|
Go to the documentation of this file.
24 const vector<string>& algorithms) :
25 m_inputTEs ( inputTEs ),
26 m_outputTE ( outputTE ),
27 m_algorithms( algorithms )
42 m_outputTE = outputTE;
43 setName(outputTE->
name());
48 return m_outputTE->hashId();
54 xmlfile <<
" <SEQUENCE";
56 xmlfile <<
" output=\"" << m_outputTE->name() <<
"\"";
58 xmlfile <<
" input=\"";
61 if(
first) {
first=
false;}
else {xmlfile <<
" ";}
62 xmlfile << te->name();
66 xmlfile <<
" algorithm=\"";
68 for(
const string&
alg: m_algorithms) {
69 if(
first) {
first=
false;}
else {xmlfile <<
" ";}
75 xmlfile <<
" topo_start_from=\"" << m_topoStartTE->name() <<
"\"";
78 xmlfile <<
"/> " << endl;
84 std::stringstream
str;
87 str << inputTE->name() <<
",";
89 str << outputTE()->name() <<
")";
96 ds->check(
"number_algs", (
unsigned int)algorithms().
size(), (
unsigned int)o->
algorithms().size() );
97 ds->check(
"number_inputs", (
unsigned int)inputTEs().
size(), (
unsigned int)o->
inputTEs().size() );
99 for(
size_t i=0;
i<algorithms().size(); ++
i)
112 cout <<
indent <<
"HLTSequence "; printNameIdV();
115 cout <<
indent <<
" inputTEs : ";
123 cout <<
indent <<
" topoStartTE " << *m_topoStartTE << endl;
125 cout <<
indent <<
" algorithms: ";
128 for(
const string&
alg: m_algorithms) {
132 cout << endl <<
indent <<
" ";
138 cout <<
indent <<
" outputTE : " << outputTE()->name() << endl;
144 o <<
"- -- HLTSequence printout ---------------------------------- " << std::endl;
145 o <<
"- -- inputTEs : ";
155 if (
s.m_topoStartTE) {
157 o <<
"- -- topoStartTE ";
158 o << *
s.m_topoStartTE;
160 o <<
"\n- -- algorithms";
162 for (
const std::string&
algorithm :
s.m_algorithms) {
169 o <<
"\n- -- outputTE : "; o << *
s.outputTE();
170 o <<
"\n- ---------------------------------------------------------- " << std::endl;
void setName(const std::string &name)
std::string concise() const
std::vector< HLTTriggerElement * > & inputTEs()
accessor to the list of input trigger elements
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
unsigned int hashId() const
const std::string & name() const
void set_outputTE(HLTTriggerElement *outputTE)
std::vector< std::string > & algorithms()
accessor to the list of algorithms
HLTSequence()
default constructor
void writeXML(std::ofstream &xmlfile)
Forward iterator to traverse the main components of the trigger configuration.
void print(const std::string &indent="", unsigned int detail=1) const
print method
HLTTriggerElement * outputTE()
accessor to the list of output trigger elements (just 1)
std::string to_string(const DetectorType &type)
HLT trigger element configuration information.
std::string __str__() const
DiffStruct * compareTo(const HLTSequence *o) const
HLT sequence configuration information.