|
ATLAS Offline Software
|
HLT chain configuration information.
More...
#include <HLTChain.h>
|
std::ostream & | indent (std::ostream &o, int lvl, int size) const |
|
HLT chain configuration information.
Definition at line 35 of file TrigConfHLTData/TrigConfHLTData/HLTChain.h.
◆ HLTChain() [1/3]
TrigConf::HLTChain::HLTChain |
( |
void |
| ) |
|
◆ HLTChain() [2/3]
HLTChain::HLTChain |
( |
const std::string & |
chain_name, |
|
|
int |
chain_counter, |
|
|
int |
chain_version, |
|
|
const std::string & |
level, |
|
|
const std::string & |
lower_chain_name, |
|
|
int |
lower_chain_counter, |
|
|
std::vector< HLTSignature * > && |
signatureList |
|
) |
| |
constructor with configuration data
- Parameters
-
chain_name | chain name |
chain_counter | chain counter |
chain_version | chain version |
level | trigger level |
lower_chain_name | name of lower chain |
lower_chain_counter | counter of lower chain |
prescale | prescale value of the chain |
pass_through | pass_through flag of the chain |
signatureList | list of signatures that the chain consists of |
Definition at line 40 of file TrigConfHLTData/Root/HLTChain.cxx.
◆ HLTChain() [3/3]
◆ ~HLTChain()
TrigConf::HLTChain::~HLTChain |
( |
| ) |
|
|
overridevirtual |
◆ __str__()
string HLTChain::__str__ |
( |
| ) |
const |
|
overridevirtual |
◆ addGroup()
void TrigConf::HLTChain::addGroup |
( |
const std::string & |
group | ) |
|
|
inline |
◆ addStream()
◆ chain_counter()
int TrigConf::HLTChain::chain_counter |
( |
| ) |
const |
|
inline |
◆ chain_hash_id()
unsigned int TrigConf::HLTChain::chain_hash_id |
( |
| ) |
const |
|
inline |
◆ chain_name()
const std::string& TrigConf::HLTChain::chain_name |
( |
| ) |
const |
|
inline |
◆ chain_version()
int TrigConf::HLTChain::chain_version |
( |
| ) |
const |
|
inline |
◆ clearGroups()
void TrigConf::HLTChain::clearGroups |
( |
| ) |
|
|
inline |
◆ clearStreams()
void TrigConf::HLTChain::clearStreams |
( |
| ) |
|
Definition at line 254 of file TrigConfHLTData/Root/HLTChain.cxx.
258 std::unordered_set<HLTStreamTag *> deleted;
260 if (deleted.insert(
s).second)
263 if (deleted.insert(
s).second)
266 if (deleted.insert(
p.second).second)
◆ comment()
const std::string& TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ compareTo()
◆ createSignatureLabels()
void TrigConf::HLTChain::createSignatureLabels |
( |
| ) |
|
◆ EB_after_step()
int TrigConf::HLTChain::EB_after_step |
( |
| ) |
const |
|
inline |
◆ groupList()
const std::set<std::string>& TrigConf::HLTChain::groupList |
( |
| ) |
const |
|
inline |
◆ groups()
const std::set<std::string>& TrigConf::HLTChain::groups |
( |
| ) |
const |
|
inline |
◆ hasMultipleLowerChains()
bool TrigConf::HLTChain::hasMultipleLowerChains |
( |
| ) |
const |
◆ id()
unsigned int TrigConf::TrigConfData::id |
( |
| ) |
const |
|
inlineinherited |
◆ indent()
std::ostream & TrigConfData::indent |
( |
std::ostream & |
o, |
|
|
int |
lvl, |
|
|
int |
size |
|
) |
| const |
|
protectedinherited |
◆ lastStep()
unsigned int HLTChain::lastStep |
( |
| ) |
const |
◆ leg_multiplicities()
const std::vector<size_t>& TrigConf::HLTChain::leg_multiplicities |
( |
| ) |
const |
|
inline |
◆ level()
const std::string& TrigConf::HLTChain::level |
( |
| ) |
const |
|
inline |
◆ level_enum()
HLTLevel TrigConf::HLTChain::level_enum |
( |
| ) |
const |
|
inline |
◆ lower_chain_counter()
int TrigConf::HLTChain::lower_chain_counter |
( |
| ) |
const |
|
inline |
◆ lower_chain_counters()
const std::vector< int > & TrigConf::HLTChain::lower_chain_counters |
( |
| ) |
const |
◆ lower_chain_hash_id()
unsigned int TrigConf::HLTChain::lower_chain_hash_id |
( |
| ) |
const |
|
inline |
◆ lower_chain_hash_ids()
vector< unsigned int > TrigConf::HLTChain::lower_chain_hash_ids |
( |
| ) |
const |
◆ lower_chain_name()
const std::string& TrigConf::HLTChain::lower_chain_name |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ operator<()
◆ pass_through()
float TrigConf::HLTChain::pass_through |
( |
| ) |
const |
|
inline |
◆ prescale()
float TrigConf::HLTChain::prescale |
( |
| ) |
const |
|
inline |
◆ prescales() [1/2]
◆ prescales() [2/2]
◆ print()
void TrigConf::HLTChain::print |
( |
const std::string & |
indent = "" , |
|
|
unsigned int |
detail = 1 |
|
) |
| const |
|
overridevirtual |
print the chain
Implements TrigConf::TrigConfData.
Definition at line 367 of file TrigConfHLTData/Root/HLTChain.cxx.
369 int dp = cout.precision();
370 cout.unsetf(ios_base::floatfield);
379 cout <<
" | " <<
level()
386 cout <<
" | prescale: " <<
prescale()
391 cout << rrps.first <<
":" << rrps.second <<
" ";
392 cout <<
"]" << std::endl;
396 cout <<
indent <<
" Groups : " <<
groups().size() <<
" [ ";
398 cout <<
"]" << std::endl;
402 cout <<
"]" << std::endl;
409 cout <<
indent <<
"---------------------------------------------------------- " << endl;
◆ printNameIdV()
void TrigConfData::printNameIdV |
( |
const std::string & |
indent = "" | ) |
const |
|
inherited |
◆ rerun_prescale() [1/2]
float TrigConf::HLTChain::rerun_prescale |
( |
| ) |
const |
|
inline |
◆ rerun_prescale() [2/2]
std::pair<bool, float> TrigConf::HLTChain::rerun_prescale |
( |
const std::string & |
targetName | ) |
const |
|
inline |
◆ set_chain_counter()
HLTChain& TrigConf::HLTChain::set_chain_counter |
( |
int |
chain_counter | ) |
|
|
inline |
◆ set_chain_name()
◆ set_chain_version()
HLTChain& TrigConf::HLTChain::set_chain_version |
( |
int |
chain_version | ) |
|
|
inline |
◆ set_EB_after_step()
HLTChain& TrigConf::HLTChain::set_EB_after_step |
( |
int |
EB_after_step | ) |
|
|
inline |
◆ set_groupList()
HLTChain& TrigConf::HLTChain::set_groupList |
( |
const std::set< std::string > & |
groups | ) |
|
|
inline |
◆ set_leg_multiplicities()
HLTChain& TrigConf::HLTChain::set_leg_multiplicities |
( |
const std::vector< size_t > & |
mult | ) |
|
|
inline |
◆ set_level()
HLTChain& TrigConf::HLTChain::set_level |
( |
const std::string & |
level | ) |
|
|
inline |
◆ set_lower_chain_counter()
HLTChain& TrigConf::HLTChain::set_lower_chain_counter |
( |
int |
lower_chain_counter | ) |
|
|
inline |
◆ set_lower_chain_counters()
HLTChain& TrigConf::HLTChain::set_lower_chain_counters |
( |
const std::vector< int > & |
low_ccs | ) |
|
|
inline |
◆ set_lower_chain_name()
◆ set_pass_through()
HLTChain& TrigConf::HLTChain::set_pass_through |
( |
float |
pass_through | ) |
|
|
inline |
◆ set_prescale()
HLTChain& TrigConf::HLTChain::set_prescale |
( |
float |
prescale | ) |
|
|
inline |
◆ set_prescales()
Definition at line 207 of file TrigConfHLTData/Root/HLTChain.cxx.
226 cerr <<
"TrigConf::HLTChain WARNING Can not set prescale for stream '" +
streamName +
"' since chain '" +
name() +
"' does not write to that stream. Available are" << endl;
228 cout <<
" Available are " <<
stream->name() << endl;
◆ set_rerun_prescale()
HLTChain& TrigConf::HLTChain::set_rerun_prescale |
( |
float |
rerun_prescale | ) |
|
|
inline |
◆ set_signatureList()
◆ set_triggerTypeList()
◆ setComment()
void TrigConf::TrigConfData::setComment |
( |
const std::string & |
c | ) |
|
|
inlineinherited |
◆ 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::TrigConfData::setSuperMasterTableId |
( |
int |
id | ) |
|
|
inlineinherited |
◆ setVersion()
void TrigConf::TrigConfData::setVersion |
( |
unsigned int |
version | ) |
|
|
inlineinherited |
◆ shiftStepCounter()
void HLTChain::shiftStepCounter |
( |
int |
shift | ) |
|
◆ signatureList() [1/2]
std::vector<HLTSignature*>& TrigConf::HLTChain::signatureList |
( |
| ) |
|
|
inline |
◆ signatureList() [2/2]
◆ signatures()
◆ smk()
unsigned int TrigConf::TrigConfData::smk |
( |
| ) |
const |
|
inlineinherited |
◆ stream_prescale()
std::pair< bool, float > TrigConf::HLTChain::stream_prescale |
( |
const std::string & |
streamName | ) |
const |
◆ streams()
◆ streams_orig()
◆ streamTagList()
◆ superMasterTableId()
int TrigConf::TrigConfData::superMasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ triggerTypeList() [1/2]
◆ triggerTypeList() [2/2]
◆ version()
unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeXML()
void TrigConf::HLTChain::writeXML |
( |
std::ofstream & |
xmlfile | ) |
|
Definition at line 321 of file TrigConfHLTData/Root/HLTChain.cxx.
323 <<
"chain_name=\"" <<
name() <<
"\" "
324 <<
"level=\"" <<
m_level <<
"\" "
332 <<
" level=\"" <<
m_level <<
"\""
340 xmlfile <<
" <RERUN_PRESCALES target=\"" << rerun_ps.first <<
"\" prescale=\"" << rerun_ps.second <<
"\"/>" << endl;
341 xmlfile <<
" </PRESCALES>" << endl;
344 xmlfile <<
" <TRIGGERTYPE_LIST/>" << endl;
346 xmlfile <<
" <STREAMTAG_LIST>" << endl;
348 streamTag->writeXML(xmlfile);
349 xmlfile <<
" </STREAMTAG_LIST>" << endl;
351 xmlfile <<
" <GROUP_LIST>" << endl;
353 xmlfile <<
" <GROUP name=\"" <<
group <<
"\"/>" << endl;
354 xmlfile <<
" </GROUP_LIST>" << endl;
356 xmlfile <<
" <SIGNATURE_LIST>" << endl;
358 signature->writeXML(xmlfile);
359 xmlfile <<
" </SIGNATURE_LIST>" << endl;
361 xmlfile <<
" </CHAIN>" << endl;
◆ operator<<
◆ ef
unsigned int TrigConf::HLTChain::ef {0} |
◆ l2
unsigned int TrigConf::HLTChain::l2 {0} |
◆ m_chain_counter
int TrigConf::HLTChain::m_chain_counter |
|
private |
◆ m_chain_hash_id
unsigned int TrigConf::HLTChain::m_chain_hash_id |
|
private |
◆ m_chain_version
int TrigConf::HLTChain::m_chain_version |
|
private |
◆ m_comment
std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_EB_after_step
int TrigConf::HLTChain::m_EB_after_step |
|
private |
◆ m_groups
std::set<std::string> TrigConf::HLTChain::m_groups |
|
private |
◆ m_HLTSignatureList
std::vector<HLTSignature*> TrigConf::HLTChain::m_HLTSignatureList |
|
private |
◆ m_HLTTriggerTypeList
◆ m_id
unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_leg_multiplicities
std::vector<size_t> TrigConf::HLTChain::m_leg_multiplicities |
|
private |
◆ m_level
std::string TrigConf::HLTChain::m_level |
|
private |
◆ m_lower_chain_counter
int TrigConf::HLTChain::m_lower_chain_counter |
|
private |
◆ m_lower_chain_counters
std::vector<int> TrigConf::HLTChain::m_lower_chain_counters |
|
private |
◆ m_lower_chain_hash_id
unsigned int TrigConf::HLTChain::m_lower_chain_hash_id |
|
private |
◆ m_lower_chain_name
std::string TrigConf::HLTChain::m_lower_chain_name |
|
private |
◆ m_name
std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_prescales
◆ m_smk
unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_streams
◆ m_streams_map
std::unordered_map<std::string, HLTStreamTag*> TrigConf::HLTChain::m_streams_map |
|
private |
◆ m_streams_orig
std::vector<HLTStreamTag*> TrigConf::HLTChain::m_streams_orig |
|
private |
◆ m_version
unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
◆ mergeCounter
struct { ... } TrigConf::HLTChain::mergeCounter |
The documentation for this class was generated from the following files:
const std::vector< HLTStreamTag * > & streams() const
void setName(const std::string &name)
TrigConfData(const std::string &name="")
const std::string & name() const
const std::string & level() const
std::vector< std::string > parse(std::string names)
const std::string & chain_name() const
const std::string & comment() const
std::vector< HLTTriggerType * > & triggerTypeList()
std::vector< int > m_lower_chain_counters
counters of the lower trigger items if more than 1
const std::string & lower_chain_name() const
unsigned int m_chain_hash_id
hash value from m_chain_name, this is used to identify the chain in the HLTResult
void set_prescale(float val)
std::vector< HLTStreamTag * > m_streams
std::vector< HLTSignature * > & signatureList()
unsigned int m_lower_chain_hash_id
hash value from m_lower_chain_name, this is used to match to a chain from the previous trigger level
HLTPrescale & setPassThrough(float pass_through)
const std::set< std::string > & groups() const
const PrescaleMap_t & getStreamPrescales() const
int chain_counter() const
HLT signature configuration information.
static HLTHash string2hash(const std::string &, const std::string &category="TE")
hash function translating TE names into identifiers
HLT trigger type configuration information.
unsigned int version() const
const PrescaleMap_t & getRerunPrescales() const
std::string m_lower_chain_name
name of the lower trigger chain (or the LVL1 trigger item)
std::vector< HLTSignature * > m_HLTSignatureList
float pass_through() const
PrescaleMap_t::value_type value_type
int chain_version() const
int EB_after_step() const
std::pair< bool, float > getRerunPrescale(const std::string &targetName) const
std::pair< bool, float > getStreamPrescale(const std::string &streamName) const
std::string m_level
trigger level
std::unordered_map< std::string, HLTStreamTag * > m_streams_map
std::vector< size_t > m_leg_multiplicities
Number of objects required per leg.
int m_lower_chain_counter
counter of the lower trigger chain (or the ID of the LVL1 trigger item)
float rerun_prescale() const __attribute__((deprecated))
int m_chain_version
chain version
std::set< std::string > m_groups
HLT stream configuration information.
HLTPrescale & setPrescale(float prescale)
std::vector< HLTStreamTag * > m_streams_orig
HLTPrescale & setRerunPrescale(const std::string &targetName, float ps)
void createSignatureLabels()
label the signatures
void setVersion(unsigned int version)
std::ostream & indent(std::ostream &o, int lvl, int size) const
int m_chain_counter
chain counter
HLTPrescale & prescales()
int lower_chain_counter() const
float pass_through() const
void printNameIdV(const std::string &indent="") const
std::vector< HLTTriggerType * > m_HLTTriggerTypeList
int m_EB_after_step
EB_after_step flag.