#include <PrioritySet.h>
|
| std::ostream & | indent (std::ostream &o, int lvl, int size) const |
Definition at line 14 of file PrioritySet.h.
◆ PrioritySet()
| TrigConf::PrioritySet::PrioritySet |
( |
| ) |
|
Definition at line 11 of file PrioritySet.cxx.
13{}
static const unsigned int N_PRIORITIES
std::vector< std::string > m_Priorities
◆ ~PrioritySet()
| virtual TrigConf::PrioritySet::~PrioritySet |
( |
| ) |
|
|
overridevirtualdefault |
◆ __str__()
| string TrigConfData::__str__ |
( |
| ) |
const |
|
virtualinherited |
◆ comment()
| const std::string & TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ id()
| unsigned int TrigConf::TrigConfData::id |
( |
| ) |
const |
|
inlineinherited |
◆ indent()
| std::ostream & TrigConfData::indent |
( |
std::ostream & | o, |
|
|
int | lvl, |
|
|
int | size ) const |
|
protectedinherited |
Definition at line 23 of file TrigConfData.cxx.
23 {
25 if(
width==0)
return o;
26 o << setw(lvl*size) << " ";
27 return o;
28}
◆ lvl1MasterTableId()
| unsigned int TrigConf::L1DataBaseclass::lvl1MasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ name()
| const std::string & TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ print()
| void TrigConf::PrioritySet::print |
( |
const std::string & | indent = "", |
|
|
unsigned int | detail = 1 ) const |
|
overridevirtual |
Implements TrigConf::TrigConfData.
Definition at line 23 of file PrioritySet.cxx.
23 {
24 if(detail>=5) {
25 cout <<
indent <<
"PrioritySet " <<
name() << endl;
27 unsigned int ctpid(0);
29 cout <<
"\t " << ctpid++ <<
"\t" <<
" priority = " <<
priority << endl;
30 }
31}
unsigned int lvl1MasterTableId() const
std::ostream & indent(std::ostream &o, int lvl, int size) const
const std::string & name() const
◆ printNameIdV()
| void TrigConfData::printNameIdV |
( |
const std::string & | indent = "" | ) |
const |
|
inherited |
Definition at line 31 of file TrigConfData.cxx.
31 {
34 cout <<
" (id=" <<
id() <<
"/v=" <<
version() <<
")";
35 cout << endl;
38}
const std::string & comment() const
unsigned int version() const
◆ priorities()
| const std::vector< std::string > & TrigConf::PrioritySet::priorities |
( |
| ) |
const |
|
inline |
◆ setComment()
| void TrigConf::TrigConfData::setComment |
( |
const std::string & | c | ) |
|
|
inlineinherited |
◆ setId()
| void TrigConf::TrigConfData::setId |
( |
unsigned int | id | ) |
|
|
inlineinherited |
◆ setLvl1MasterTableId()
| void TrigConf::L1DataBaseclass::setLvl1MasterTableId |
( |
unsigned int | id | ) |
|
|
inlineinherited |
◆ setName()
| void TrigConf::TrigConfData::setName |
( |
const std::string & | name | ) |
|
|
inlineinherited |
◆ setPriorities()
| void TrigConf::PrioritySet::setPriorities |
( |
const std::vector< std::string > & | vec | ) |
|
Definition at line 16 of file PrioritySet.cxx.
16 {
18 <<
"setPriorities >> number of priorities too high: " <<
vec.size() << std::endl;
20}
std::vector< size_t > vec
◆ setSMK()
| void TrigConf::TrigConfData::setSMK |
( |
int | id | ) |
|
|
inlineinherited |
◆ setSuperMasterTableId()
| void TrigConf::TrigConfData::setSuperMasterTableId |
( |
int | id | ) |
|
|
inlineinherited |
◆ setVersion()
| void TrigConf::TrigConfData::setVersion |
( |
unsigned int | version | ) |
|
|
inlineinherited |
◆ smk()
| unsigned int TrigConf::TrigConfData::smk |
( |
| ) |
const |
|
inlineinherited |
◆ superMasterTableId()
| int TrigConf::TrigConfData::superMasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ version()
| unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeXML()
| void TrigConf::PrioritySet::writeXML |
( |
std::ostream & | xmlfile, |
|
|
int | indentLevel = 0, |
|
|
int | indentWidth = 2 ) const |
|
virtual |
Writes the Prescale item to the XML file.
Definition at line 38 of file PrioritySet.cxx.
38 {
40 <<
"<PrioritySet name=\"" <<
name() <<
"\" version=\"" <<
version() <<
"\">"
41 << endl;
42 unsigned int ctpid(0);
45 << "<Priority ctpid=\"" << ctpid++
46 <<
"\" priority=\"" <<
priority <<
"\">"
47 <<
priority <<
"</Priority>" << endl;
48 }
50 << "</PrioritySet>" << endl;
51}
static std::vector< std::string > xmlfile
◆ m_comment
| std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_id
| unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_Lvl1MasterId
| unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId |
|
privateinherited |
◆ m_name
| std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_Priorities
| std::vector<std::string> TrigConf::PrioritySet::m_Priorities |
|
private |
◆ m_smk
| unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_version
| unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
◆ N_PRIORITIES
| const unsigned int TrigConf::PrioritySet::N_PRIORITIES = 256 |
|
static |
The documentation for this class was generated from the following files: