The HLT trigger menu,.
More...
#include <HLTFrame.h>
|
| std::ostream & | indent (std::ostream &o, int lvl, int size) const |
The HLT trigger menu,.
owns HLTChainList, HLTSequenceList, and PrescaleSet
Definition at line 33 of file HLTFrame.h.
◆ HLTFrame()
default constructor
Definition at line 26 of file HLTFrame.cxx.
26 :
28{}
TrigConfData(const std::string &name="")
◆ ~HLTFrame()
| virtual TrigConf::HLTFrame::~HLTFrame |
( |
| ) |
|
|
overridevirtualdefault |
◆ __str__()
| string TrigConfData::__str__ |
( |
| ) |
const |
|
virtualinherited |
◆ clear()
clear chains, sequences and prescales
Definition at line 32 of file HLTFrame.cxx.
32 {
36
40}
HLTPrescaleSetCollection m_hltPrescaleSets
the hlt prescale set (owned)
HLTSequenceList m_HLTSequenceList
list of HLT trigger sequences (owned)
HLTChainList m_HLTChainList
list of HLT trigger chains (owned)
void setId(unsigned int id)
void setName(const std::string &name)
void setVersion(unsigned int version)
◆ comment()
| const std::string & TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ compareTo()
Definition at line 61 of file HLTFrame.cxx.
61 {
62 DiffStruct *
ds =
new DiffStruct(
"HLT_MENU");
65 std::string pss_name(""), o_pss_name("");
66
69 if(pssc.size()==1)
70 pss_name= pssc.
sets().front().pss->name();
71 if(o_pssc.size()==1)
72 o_pss_name= o_pssc.sets().front().pss->name();
73 ds->check(
"prescale_set_name", pss_name, o_pss_name);
74
77
80 }
82}
DiffStruct * compareTo(const HLTFrame *o) const
const HLTSequenceList & getHLTSequenceList() const
const accessor to the list of HLT sequences
const HLTPrescaleSetCollection & getPrescaleSetCollection() const
const HLTChainList & getHLTChainList() const
const accessor to the list of HLT chains
std::list< cont > & sets()
const std::string & name() const
◆ configSource()
| const std::string & TrigConf::HLTFrame::configSource |
( |
| ) |
const |
|
inline |
◆ equals()
| bool HLTFrame::equals |
( |
const HLTFrame * | other, |
|
|
const std::string & | filename ) const |
Definition at line 43 of file HLTFrame.cxx.
43 {
46 if(ds) {
50
51 xmlfile <<
"<?xml version=\"1.0\" ?>" << std::endl;
55 }
57}
bool equals(const HLTFrame *other, const std::string &filename) const
static std::vector< std::string > xmlfile
◆ getHLTChainList()
| const HLTChainList & TrigConf::HLTFrame::getHLTChainList |
( |
| ) |
const |
|
inline |
const accessor to the list of HLT chains
Definition at line 49 of file HLTFrame.h.
◆ getHLTSequenceList()
const accessor to the list of HLT sequences
Definition at line 50 of file HLTFrame.h.
◆ getPrescaleSet()
| const HLTPrescaleSet * TrigConf::HLTFrame::getPrescaleSet |
( |
unsigned int | lbn | ) |
const |
|
inline |
◆ getPrescaleSetCollection()
◆ 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}
◆ mergedHLT()
| bool TrigConf::HLTFrame::mergedHLT |
( |
| ) |
const |
|
inline |
◆ name()
| const std::string & TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ print()
| void HLTFrame::print |
( |
const std::string & | indent = "", |
|
|
unsigned int | detail = 1 ) const |
|
overridevirtual |
print method
Implements TrigConf::TrigConfData.
Definition at line 86 of file HLTFrame.cxx.
86 {
87 if(detail>=1) {
88 cout <<
indent <<
"================================================================================" << endl;
89 cout <<
indent <<
"HLT Configuration";
90 if(
smk()>0) cout <<
" (SMK = " <<
smk() <<
")";
95 cout <<
indent <<
"================================================================================" << endl;
96 }
97}
void print(const std::string &indent="", unsigned int detail=1) const
accessors to list of chains, for backward compatibility, use HLTChainList directly
void print(const std::string &indent="", unsigned int detail=1) const
Print the prescale set.
void print(const std::string &indent="", unsigned int detail=1) const
print the sequence list
std::ostream & indent(std::ostream &o, int lvl, int size) const
void printNameIdV(const std::string &indent="") 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
◆ setComment()
| void TrigConf::TrigConfData::setComment |
( |
const std::string & | c | ) |
|
|
inlineinherited |
◆ setConfigSource()
| void TrigConf::HLTFrame::setConfigSource |
( |
const std::string & | src | ) |
|
|
inline |
◆ setId()
| void TrigConf::TrigConfData::setId |
( |
unsigned int | id | ) |
|
|
inlineinherited |
◆ setMergedHLT()
| void TrigConf::HLTFrame::setMergedHLT |
( |
bool | merged = true | ) |
|
|
inline |
◆ setName()
| void TrigConf::TrigConfData::setName |
( |
const std::string & | name | ) |
|
|
inlineinherited |
◆ 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 |
◆ theHLTChainList()
accessor to the list of HLT chains
Definition at line 44 of file HLTFrame.h.
◆ theHLTSequenceList()
accessor to the list of HLT sequences
Definition at line 45 of file HLTFrame.h.
◆ thePrescaleSet()
| HLTPrescaleSet * TrigConf::HLTFrame::thePrescaleSet |
( |
unsigned int | lbn = 0 | ) |
|
|
inline |
◆ thePrescaleSetCollection()
◆ version()
| unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeXML() [1/2]
| void HLTFrame::writeXML |
( |
const std::string & | filename | ) |
const |
Definition at line 100 of file HLTFrame.cxx.
100 {
103 xmlfile <<
"<?xml version=\"1.0\" ?>" << std::endl;
106}
void writeXML(const std::string &filename) const
◆ writeXML() [2/2]
| void HLTFrame::writeXML |
( |
std::ofstream & | xmlfile | ) |
const |
Definition at line 110 of file HLTFrame.cxx.
110 {
111
112 string pss_name("");
114 pss_name = "multiple";
116 pss_name = "none";
118 pss_name = "not loaded";
119 } else {
121 }
122
123 xmlfile <<
"<HLT_MENU menu_name=\"" <<
name() <<
"\" prescale_set_name=\"" << pss_name <<
"\">" << endl
124 << " <SEQUENCE_LIST>" << endl;
125
128
129 xmlfile <<
" </SEQUENCE_LIST>" << endl
130 << " <CHAIN_LIST>" << endl;
131
134
135 xmlfile <<
" </CHAIN_LIST>" << endl
136 << "</HLT_MENU>" << endl;
137}
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...
◆ operator<<
◆ m_comment
| std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_ConfigSrc
| std::string TrigConf::HLTFrame::m_ConfigSrc {""} |
|
private |
◆ m_HLTChainList
list of HLT trigger chains (owned)
Definition at line 73 of file HLTFrame.h.
◆ m_hltPrescaleSets
the hlt prescale set (owned)
Definition at line 75 of file HLTFrame.h.
◆ m_HLTSequenceList
list of HLT trigger sequences (owned)
Definition at line 74 of file HLTFrame.h.
◆ m_id
| unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_name
| std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_setMergedHLT
| bool TrigConf::HLTFrame::m_setMergedHLT {false} |
|
private |
◆ m_smk
| unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_str2idMap
| std::map<std::string, unsigned int> TrigConf::HLTFrame::m_str2idMap |
|
private |
TE labels <-> id conversion map.
Definition at line 80 of file HLTFrame.h.
◆ m_version
| unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
The documentation for this class was generated from the following files: