#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]
Definition at line 37 of file TrigMonSeq.cxx.
39{
40
41
42
44 if(index >= 4096) {
45
48 }
49 else {
51 }
52}
static const uint16_t LARGE_INDEX_SEQ_LOCATION
uint16_t getEncodedId() const
std::vector< uint16_t > m_var_key
std::vector< float > m_var_val
const uint32_t shiftIndex
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...
◆ ~TrigMonSeq()
| TrigMonSeq::~TrigMonSeq |
( |
| ) |
|
|
inline |
◆ addAlg()
Definition at line 44 of file TrigMonSeq.h.
44{
m_alg.push_back(alg); }
std::vector< TrigMonAlg > m_alg
◆ addState()
| void TrigMonSeq::addState |
( |
State | value | ) |
|
◆ addTimer()
| void TrigMonSeq::addTimer |
( |
float | timer | ) |
|
◆ addVar()
◆ getAlg() [1/2]
| std::vector< TrigMonAlg > & TrigMonSeq::getAlg |
( |
| ) |
|
|
inline |
◆ getAlg() [2/2]
| const std::vector< TrigMonAlg > & TrigMonSeq::getAlg |
( |
| ) |
const |
|
inline |
◆ getAlgTimer()
| double TrigMonSeq::getAlgTimer |
( |
| ) |
const |
Definition at line 156 of file TrigMonSeq.cxx.
157{
158
159
160
161 if(
m_alg.empty())
return 0.0;
162
163 double timer_sum = 0.0;
164 for(
unsigned int i = 0;
i <
m_alg.size(); ++
i) timer_sum +=
m_alg[i].getTimer();
165
166 return timer_sum;
167}
◆ getChnCounter()
| uint16_t TrigMonSeq::getChnCounter |
( |
| ) |
const |
Definition at line 128 of file TrigMonSeq.cxx.
129{
131}
uint16_t getChnEncodedId() const
uint16_t getCounterFromEncodedId(uint16_t encoded)
◆ getChnEncodedId()
| uint16_t TrigMonSeq::getChnEncodedId |
( |
| ) |
const |
◆ getEncoded()
| uint32_t TrigMonSeq::getEncoded |
( |
| ) |
const |
|
inline |
◆ getLevel()
| uint16_t TrigMonSeq::getLevel |
( |
| ) |
const |
Definition at line 122 of file TrigMonSeq.cxx.
123{
125}
uint16_t getLevelFromEncodedId(uint16_t encoded)
◆ getSeqIndex()
| uint16_t TrigMonSeq::getSeqIndex |
( |
| ) |
const |
◆ getSeqTimer()
| float TrigMonSeq::getSeqTimer |
( |
| ) |
const |
Definition at line 170 of file TrigMonSeq.cxx.
171{
172
173
174
175
177
178
179
180 for(
unsigned int i = 0;
i <
m_var_key.size(); ++
i) {
182 }
183 }
184
185 return 0.0;
186}
◆ getVar()
| const std::vector< TrigMonVar > TrigMonSeq::getVar |
( |
| ) |
const |
Definition at line 189 of file TrigMonSeq.cxx.
190{
191
192
193
194 std::vector<TrigMonVar>
var;
195
197
198
199
201
202 for(
unsigned int i = 0;
i <
m_var_key.size(); ++
i) {
205 }
206 }
207 }
208
210}
◆ 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.
214{
215
216
217
219 os <<
"TrigMonSeq::Print - error configuration does not match this sequence\n";
220 return;
221 }
222
223 std::stringstream
st;
224
232 <<
" SEQ contains " <<
m_alg.size() <<
" algorithm(s)"
233 << "\n";
234
235 unsigned int iwidth = 0;
236 for(
unsigned int j = 0; j <
m_alg.size(); ++j) {
237 const TrigMonAlg &alg_entry =
m_alg[j];
239
240 iwidth = std::max<unsigned int>(iwidth, alg_confg.
getName().size());
241 }
242
243 for(
unsigned int j = 0; j <
m_alg.size(); ++j) {
244 const TrigMonAlg &alg_entry =
m_alg[j];
246
247 st <<
" " << std::setw(2) << std::setfill(
' ') << std::right << j <<
": "
248 << std::setw(iwidth) << std::left << alg_confg.
getName()
250 <<
" timer=" << alg_entry.
elapsed()
251 << " RoiId=";
252
253 for(
unsigned int r = 0;
r < alg_entry.
getNRoi(); ++
r) {
254 st << static_cast<unsigned int>(alg_entry.
getRoiId(
r)) <<
" ";
255 }
256
260 << "-"
262 << "="
264 }
265
267 }
268
270}
const std::string & getName() const
uint16_t getIndex() const
const TrigConfAlg & getAlg(unsigned int pos) const
const std::string & getName() const
uint8_t getRoiId(unsigned int i=0) const
const TrigMonTimer stop() const
const TrigMonTimer start() const
uint8_t getPosition() const
uint16_t getSeqIndex() const
double getAlgTimer() const
float getSeqTimer() const
bool isAlreadyExecuted() const
uint32_t getMicroSec() const
◆ 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: