table to hold the complete list of JobOption entries for a single configuration, from which the JobOptionsCatalogue is built.
More...
#include <JobOptionTable.h>
|
| std::ostream & | indent (std::ostream &o, int lvl, int size) const |
table to hold the complete list of JobOption entries for a single configuration, from which the JobOptionsCatalogue is built.
Definition at line 20 of file JobOptionTable.h.
◆ JobOptionTable()
| TrigConf::JobOptionTable::JobOptionTable |
( |
| ) |
|
default constructor
Definition at line 12 of file JobOptionTable.cxx.
12 :
16{}
int m_HltMasterTableId
super master table configuration key
int m_SuperMasterTableId
HLT master table configuration key.
int m_TriggerLevel
trigger level (0-L2, 1-EF)
◆ ~JobOptionTable()
| virtual TrigConf::JobOptionTable::~JobOptionTable |
( |
| ) |
|
|
overridevirtualdefault |
◆ __str__()
| string TrigConfData::__str__ |
( |
| ) |
const |
|
virtualinherited |
◆ addJobOption()
| void TrigConf::JobOptionTable::addJobOption |
( |
const JobOption & | jo | ) |
|
adds a job option to the table
- Parameters
-
Definition at line 19 of file JobOptionTable.cxx.
19 {
21}
std::vector< JobOption > m_JobOptionVector
vector of job options
◆ comment()
| const std::string & TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ hltMasterTableId()
| int TrigConf::JobOptionTable::hltMasterTableId |
( |
| ) |
const |
|
inline |
◆ 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}
◆ jobOptionVector() [1/2]
| std::vector< JobOption > & TrigConf::JobOptionTable::jobOptionVector |
( |
| ) |
|
|
inline |
◆ jobOptionVector() [2/2]
| const std::vector< JobOption > & TrigConf::JobOptionTable::jobOptionVector |
( |
| ) |
const |
|
inline |
const accessor to the vector of job options
Definition at line 44 of file JobOptionTable.h.
◆ name()
| const std::string & TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ print()
| void TrigConf::JobOptionTable::print |
( |
const std::string & | indent = "", |
|
|
unsigned int | detail = 1 ) const |
|
overridevirtual |
print method
print method
Implements TrigConf::TrigConfData.
Definition at line 24 of file JobOptionTable.cxx.
24 {
25 if(detail>=1) {
26 cout <<
indent <<
"=============================================" << endl;
27 cout <<
indent <<
"JobOptionTable" << endl;
31 cout <<
indent <<
"=============================================" << endl;
32 if(detail>=3)
35 }
36}
void print(const std::string &indent="", unsigned int detail=1) const override
print method
std::ostream & indent(std::ostream &o, int lvl, int size) 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 & name() const
const std::string & comment() const
unsigned int version() const
◆ setComment()
| void TrigConf::TrigConfData::setComment |
( |
const std::string & | c | ) |
|
|
inlineinherited |
◆ setHltMasterTableId()
| void TrigConf::JobOptionTable::setHltMasterTableId |
( |
int | id | ) |
|
|
inline |
◆ setId()
| void TrigConf::TrigConfData::setId |
( |
unsigned int | id | ) |
|
|
inlineinherited |
◆ setName()
| void TrigConf::TrigConfData::setName |
( |
const std::string & | name | ) |
|
|
inlineinherited |
◆ setSMK()
| void TrigConf::TrigConfData::setSMK |
( |
int | id | ) |
|
|
inlineinherited |
◆ setSuperMasterTableId()
| void TrigConf::JobOptionTable::setSuperMasterTableId |
( |
int | id | ) |
|
|
inline |
setter of the super master table configuration key
Definition at line 34 of file JobOptionTable.h.
◆ setTriggerLevel()
| void TrigConf::JobOptionTable::setTriggerLevel |
( |
int | level | ) |
|
|
inline |
◆ setVersion()
| void TrigConf::TrigConfData::setVersion |
( |
unsigned int | version | ) |
|
|
inlineinherited |
◆ smk()
| unsigned int TrigConf::TrigConfData::smk |
( |
| ) |
const |
|
inlineinherited |
◆ sort()
| void TrigConf::JobOptionTable::sort |
( |
| ) |
|
sort alphabetically by component and property name
Definition at line 67 of file JobOptionTable.cxx.
67 {
69}
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
◆ superMasterTableId()
| int TrigConf::JobOptionTable::superMasterTableId |
( |
| ) |
const |
|
inline |
accessor to the super master table configuration key
Definition at line 30 of file JobOptionTable.h.
◆ triggerLevel()
| int TrigConf::JobOptionTable::triggerLevel |
( |
| ) |
const |
|
inline |
◆ version()
| unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeToFile()
| void TrigConf::JobOptionTable::writeToFile |
( |
const std::string & | filename | ) |
const |
writing to file as text
write to file method
Definition at line 39 of file JobOptionTable.cxx.
39 {
40 ofstream of;
42 of << "=============================================" << endl;
43 of << "JobOptionTable" << endl;
47 of << "=============================================" << endl;
50 }
51 of.close();
52
53}
◆ m_comment
| std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_HltMasterTableId
| int TrigConf::JobOptionTable::m_HltMasterTableId |
|
private |
◆ m_id
| unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_JobOptionVector
| std::vector<JobOption> TrigConf::JobOptionTable::m_JobOptionVector |
|
private |
◆ m_name
| std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_smk
| unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_SuperMasterTableId
| int TrigConf::JobOptionTable::m_SuperMasterTableId |
|
private |
◆ m_TriggerLevel
| int TrigConf::JobOptionTable::m_TriggerLevel |
|
private |
◆ m_version
| unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
The documentation for this class was generated from the following files: