|
ATLAS Offline Software
|
Go to the documentation of this file.
22 const static uint16_t LARGE_INDEX_SEQ_LOCATION = 321;
46 m_var_key.push_back(LARGE_INDEX_SEQ_LOCATION);
60 if(
var.getKey() > 9) {
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();
194 std::vector<TrigMonVar>
var;
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)) <<
" ";
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...
void print(const TrigConfSeq &confg, std::ostream &os=std::cout) const
uint16_t getSeqIndex() const
uint8_t getRoiId(unsigned int i=0) const
uint16_t getLevel() const
const std::vector< TrigMonVar > getVar() const
def timer(name, disabled=False)
std::vector< uint16_t > m_var_key
const TrigMonTimer stop() const
uint16_t getCounterFromEncodedId(uint16_t encoded)
const uint32_t shiftIndex
uint16_t getIndex() const
uint32_t getMicroSec() const
const std::string & getName() const
uint16_t getChnEncodedId() const
std::vector< float > m_var_val
Helpers for checking error return status codes and reporting errors.
float getSeqTimer() const
const TrigMonTimer start() const
void addTimer(float timer)
uint16_t getLevelFromEncodedId(uint16_t encoded)
uint16_t getChnCounter() const
std::vector< TrigMonAlg > m_alg
const std::string & getName() const
uint8_t getPosition() const
Summary of single agorithm execution. Algorithm is identified by position within parent sequence....
bool isAlreadyExecuted() const
const TrigConfAlg & getAlg(unsigned int pos) const
void addState(State value)
uint16_t getEncodedId(int level, int counter)
void addVar(const TrigMonVar &var)
double getAlgTimer() const