#include <TrigMonSeq.h>
Definition at line 27 of file TrigMonSeq.h.
◆ State
Enumerator |
---|
kUnknown | |
kInitial | |
kStart | |
kAlreadyExecuted | |
kPrevious | |
Definition at line 31 of file TrigMonSeq.h.
◆ TrigMonSeq() [1/3]
TrigMonSeq::TrigMonSeq |
( |
| ) |
|
◆ TrigMonSeq() [2/3]
TrigMonSeq::TrigMonSeq |
( |
uint32_t |
encoded | ) |
|
|
explicit |
◆ TrigMonSeq() [3/3]
◆ ~TrigMonSeq()
TrigMonSeq::~TrigMonSeq |
( |
| ) |
|
|
inline |
◆ addAlg()
◆ addState()
void TrigMonSeq::addState |
( |
State |
value | ) |
|
◆ addTimer()
void TrigMonSeq::addTimer |
( |
float |
timer | ) |
|
◆ addVar()
◆ getAlg() [1/2]
◆ getAlg() [2/2]
◆ getAlgTimer()
double TrigMonSeq::getAlgTimer |
( |
| ) |
const |
Definition at line 156 of file TrigMonSeq.cxx.
161 if(
m_alg.empty())
return 0.0;
163 double timer_sum = 0.0;
164 for(
unsigned int i = 0;
i <
m_alg.size(); ++
i) timer_sum +=
m_alg[
i].getTimer();
◆ getChnCounter()
uint16_t TrigMonSeq::getChnCounter |
( |
| ) |
const |
◆ getChnEncodedId()
uint16_t TrigMonSeq::getChnEncodedId |
( |
| ) |
const |
◆ getEncoded()
uint32_t TrigMonSeq::getEncoded |
( |
| ) |
const |
|
inline |
◆ getLevel()
uint16_t TrigMonSeq::getLevel |
( |
| ) |
const |
◆ getSeqIndex()
uint16_t TrigMonSeq::getSeqIndex |
( |
| ) |
const |
◆ getSeqTimer()
float TrigMonSeq::getSeqTimer |
( |
| ) |
const |
◆ getVar()
◆ getVarKey()
const std::vector<uint16_t>& TrigMonSeq::getVarKey |
( |
| ) |
const |
|
inline |
◆ getVarVal()
const std::vector<float>& TrigMonSeq::getVarVal |
( |
| ) |
const |
|
inline |
◆ isAlreadyExecuted()
bool TrigMonSeq::isAlreadyExecuted |
( |
| ) |
const |
◆ isExecuted()
bool TrigMonSeq::isExecuted |
( |
| ) |
const |
◆ isInitial()
bool TrigMonSeq::isInitial |
( |
| ) |
const |
◆ isPrevious()
bool TrigMonSeq::isPrevious |
( |
| ) |
const |
◆ print()
void TrigMonSeq::print |
( |
const TrigConfSeq & |
confg, |
|
|
std::ostream & |
os = std::cout |
|
) |
| const |
Definition at line 213 of file TrigMonSeq.cxx.
219 os <<
"TrigMonSeq::Print - error configuration does not match this sequence\n";
223 std::stringstream st;
225 st <<
"TrigMonSeq: " << confg.
getName()
232 <<
" SEQ contains " <<
m_alg.size() <<
" algorithm(s)"
235 unsigned int iwidth = 0;
236 for(
unsigned int j = 0; j <
m_alg.size(); ++j) {
240 iwidth = std::max<unsigned int>(iwidth, alg_confg.
getName().size());
243 for(
unsigned int j = 0; j <
m_alg.size(); ++j) {
247 st <<
" " << std::setw(2) << std::setfill(
' ') << std::right << j <<
": "
248 << std::setw(iwidth) << std::left << alg_confg.
getName()
250 <<
" timer=" << alg_entry.
elapsed()
253 for(
unsigned int r = 0;
r < alg_entry.
getNRoi(); ++
r) {
254 st << static_cast<unsigned int>(alg_entry.
getRoiId(
r)) <<
" ";
◆ TrigMonSeqCnv_p1
◆ m_alg
◆ m_encoded
uint32_t TrigMonSeq::m_encoded |
|
private |
◆ m_var_key
std::vector<uint16_t> TrigMonSeq::m_var_key |
|
private |
◆ m_var_val
std::vector<float> TrigMonSeq::m_var_val |
|
private |
The documentation for this class was generated from the following files: