51 xmlfile <<
"<?xml version=\"1.0\" ?>" << std::endl;
64 ds->check(
"menu_name",
name(), o->
name());
65 std::string pss_name(
""), o_pss_name(
"");
70 pss_name= pssc.
sets().front().pss->name();
72 o_pss_name= o_pssc.sets().front().pss->name();
73 ds->check(
"prescale_set_name", pss_name, o_pss_name);
88 cout <<
indent <<
"================================================================================" << endl;
89 cout <<
indent <<
"HLT Configuration";
90 if(
smk()>0) cout <<
" (SMK = " <<
smk() <<
")";
95 cout <<
indent <<
"================================================================================" << endl;
102 xmlfile.open(filename.c_str());
103 xmlfile <<
"<?xml version=\"1.0\" ?>" << std::endl;
114 pss_name =
"multiple";
118 pss_name =
"not loaded";
123 xmlfile <<
"<HLT_MENU menu_name=\"" <<
name() <<
"\" prescale_set_name=\"" << pss_name <<
"\">" << endl
124 <<
" <SEQUENCE_LIST>" << endl;
129 xmlfile <<
" </SEQUENCE_LIST>" << endl
130 <<
" <CHAIN_LIST>" << endl;
135 xmlfile <<
" </CHAIN_LIST>" << endl
136 <<
"</HLT_MENU>" << endl;
142 o <<
"HLTFrame print: " << std::endl
143 <<
"Running " << (f.mergedHLT() ?
"":
" not ") <<
"merged HLT" << std::endl
144 << f.getHLTChainList()
145 << f.getHLTSequenceList();
void print(const std::string &indent="", unsigned int detail=1) const
accessors to list of chains, for backward compatibility, use HLTChainList directly
HLT chain configuration information.
DiffStruct * compareTo(const HLTFrame *o) const
HLTFrame()
default constructor
HLTPrescaleSetCollection m_hltPrescaleSets
the hlt prescale set (owned)
HLTSequenceList m_HLTSequenceList
list of HLT trigger sequences (owned)
const HLTSequenceList & getHLTSequenceList() const
const accessor to the list of HLT sequences
void writeXML(const std::string &filename) const
const HLTPrescaleSetCollection & getPrescaleSetCollection() const
void print(const std::string &indent="", unsigned int detail=1) const override
print method
void clear()
clear chains, sequences and prescales
bool equals(const HLTFrame *other, const std::string &filename) const
HLTChainList m_HLTChainList
list of HLT trigger chains (owned)
const HLTChainList & getHLTChainList() const
const accessor to the list of HLT chains
void print(const std::string &indent="", unsigned int detail=1) const
Print the prescale set.
std::list< cont > & sets()
void print(const std::string &indent="", unsigned int detail=1) const
print the sequence list
HLT sequence configuration information.
void setId(unsigned int id)
std::ostream & indent(std::ostream &o, int lvl, int size) const
void setName(const std::string &name)
const std::string & name() const
void printNameIdV(const std::string &indent="") const
TrigConfData(const std::string &name="")
void setVersion(unsigned int version)
static std::vector< std::string > xmlfile
Forward iterator to traverse the main components of the trigger configuration.
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)