#include <GlobalOutput.h>
Definition at line 37 of file GlobalOutput.h.
◆ GlobalOutput()
GlobalOutput::GlobalOutput |
( |
const std::string & |
name = "L1TopoGlobalOutput" | ) |
|
◆ ambiguity_field() [1/2]
uint64_t GlobalOutput::ambiguity_field |
( |
const std::string & |
l1connName | ) |
const |
◆ ambiguity_field() [2/2]
uint32_t GlobalOutput::ambiguity_field |
( |
const std::string & |
l1connName, |
|
|
unsigned int |
clock |
|
) |
| const |
◆ collectOutput()
Definition at line 150 of file GlobalOutput.cxx.
157 unsigned int pos = 0;
159 unsigned int position = trigger.flatindex();
167 l1connectorDec |= (
mask << position);
169 l1connectorOvf |= (
mask << position);
171 l1connectorAmb |= (
mask << position);
184 l1connectorCount |=
count.getCountBits();
◆ count_field()
std::bitset< 128 > GlobalOutput::count_field |
( |
const std::string & |
l1connName | ) |
const |
◆ decision()
◆ decision_field() [1/2]
uint64_t GlobalOutput::decision_field |
( |
const std::string & |
l1connName | ) |
const |
◆ decision_field() [2/2]
uint32_t GlobalOutput::decision_field |
( |
const std::string & |
l1connName, |
|
|
unsigned int |
clock |
|
) |
| const |
◆ isValid()
bool TCS::GlobalOutput::isValid |
( |
| ) |
const |
|
inline |
◆ msg() [1/2]
MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 81 of file TrigConfMessaging.h.
◆ msg() [2/2]
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 91 of file TrigConfMessaging.h.
◆ msgLvl()
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 70 of file TrigConfMessaging.h.
◆ overflow_field() [1/2]
uint64_t GlobalOutput::overflow_field |
( |
const std::string & |
l1connName | ) |
const |
◆ overflow_field() [2/2]
uint32_t GlobalOutput::overflow_field |
( |
const std::string & |
l1connName, |
|
|
unsigned int |
clock |
|
) |
| const |
◆ overflowed()
bool TCS::GlobalOutput::overflowed |
( |
const std::string & |
l1connName, |
|
|
unsigned int |
bit |
|
) |
| const |
|
inline |
◆ passed()
bool TCS::GlobalOutput::passed |
( |
const std::string & |
connName, |
|
|
unsigned int |
bit |
|
) |
| const |
|
inline |
◆ print()
void TCS::GlobalOutput::print |
( |
| ) |
const |
Definition at line 229 of file GlobalOutput.cxx.
232 TRG_MSG_INFO(
"Note that the overall decision has not been calculated");
235 TRG_MSG_INFO(
"Overall decision from connector " << dec.first <<
": 0x" << right << hex << setfill(
'0') << setw(16) <<
decision_field(dec.first) << std::dec << setfill(
' '));
239 unsigned int position = trigger.flatindex();
240 TRG_MSG_INFO(
" " << setw(30) << left << trigger.name() <<
" " << (
passed(trigger.connName(), position) ?
"pass" :
"fail") );}
243 TRG_MSG_INFO(
" " << setw(30) << left << trigger.name() <<
" unset" );
◆ resetOutput()
◆ setDecisionTriggerLines()
Definition at line 19 of file GlobalOutput.cxx.
22 vector<string> l1connNames = {};
24 auto it =
find(l1connNames.begin(), l1connNames.end(), trigger.connName());
25 if (
it == l1connNames.end()){
26 l1connNames.push_back(trigger.connName());
◆ setMultiplicityTriggerLines()
Definition at line 33 of file GlobalOutput.cxx.
36 vector<string> l1connNames = {};
38 auto it =
find(l1connNames.begin(), l1connNames.end(), trigger.connName());
39 if (
it == l1connNames.end()){
40 l1connNames.push_back(trigger.connName());
41 m_count[trigger.connName()] = 0;
◆ operator<<
Definition at line 208 of file GlobalOutput.cxx.
212 o <<
"Note that the overall decision has not been calculated" << endl;
215 o <<
"Overall decision for connector " << itdec.first <<
": 0x" << right << hex << setfill(
'0') << setw(16) << dec.
decision_field(itdec.first) << std::dec << setfill(
' ') << endl;
219 unsigned int position = trigger.
flatindex();
220 o <<
" " << setw(30) << left << trigger.
name() <<
" " << (dec.
passed(trigger.
connName(), position) ?
"pass" :
"fail") << endl;}
223 o <<
" " << setw(30) << left << trigger.
name() <<
" unset" << endl;
◆ m_ambiguity
std::map<std::string,uint64_t> TCS::GlobalOutput::m_ambiguity |
|
private |
◆ m_count
std::map<std::string,std::bitset<128> > TCS::GlobalOutput::m_count |
|
private |
◆ m_decision
std::map<std::string,uint64_t> TCS::GlobalOutput::m_decision |
|
private |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 66 of file TrigConfMessaging.h.
◆ m_name
std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
◆ m_overflow
std::map<std::string,uint64_t> TCS::GlobalOutput::m_overflow |
|
private |
◆ m_triggersCount
◆ m_triggersDec
◆ m_valid
bool TCS::GlobalOutput::m_valid {false} |
|
private |
The documentation for this class was generated from the following files: