#include <Chain.h>
This class represents one chain of signatures, i.e. one signature for each step. The HLT::Chain class also holds information about its status, including prescales, pass-throughs etc.
- Author
- Till Eifert Till..nosp@m.Eife.nosp@m.rt@ce.nosp@m.rn.c.nosp@m.h
-
Nicolas Berger Nicol.nosp@m.as.B.nosp@m.erger.nosp@m.@cer.nosp@m.n.ch
-
Tomasz Bold Tomas.nosp@m.z.Bo.nosp@m.ld@ce.nosp@m.rn.c.nosp@m.h - U. of California - Irvine
Definition at line 63 of file Chain.h.
◆ Chain() [1/2]
Chain::Chain |
( |
uint32_t |
serialData | ) |
|
constructor from serialized data
Definition at line 27 of file Chain.cxx.
◆ Chain() [2/2]
◆ ~Chain()
◆ chainPassed()
bool Chain::chainPassed |
( |
| ) |
const |
◆ chainPassedRaw()
bool HLT::Chain::chainPassedRaw |
( |
| ) |
const |
|
inline |
◆ deserialize()
deserialize this Chain from given vector of uint's
Definition at line 101 of file Chain.cxx.
◆ getChainCounter()
unsigned int HLT::Chain::getChainCounter |
( |
| ) |
const |
|
inline |
return the unique identifier of this Chain (uint)
Definition at line 93 of file Chain.h.
◆ getChainHashId()
unsigned int HLT::Chain::getChainHashId |
( |
| ) |
const |
|
inline |
< return whether is a merged L2+EF chain
return the Chain name's hash ID
Definition at line 101 of file Chain.h.
◆ getChainName()
const std::string& HLT::Chain::getChainName |
( |
| ) |
const |
|
inline |
◆ getChainStep()
int HLT::Chain::getChainStep |
( |
| ) |
const |
|
inline |
return the current step of execution
Definition at line 103 of file Chain.h.
◆ getConfigChain()
get underlying ConfigChain
Definition at line 78 of file Chain.h.
◆ getEBAfterStep()
int HLT::Chain::getEBAfterStep |
( |
| ) |
const |
|
inline |
get EB_after_step
Definition at line 96 of file Chain.h.
◆ getErrorCode()
return this Chain's most severe error code (from execution)
Definition at line 102 of file Chain.h.
◆ getLegMultiplicities()
std::vector<size_t> HLT::Chain::getLegMultiplicities |
( |
| ) |
const |
|
inline |
get per leg multiplicity (Run3 only)
Definition at line 97 of file Chain.h.
◆ getLowerChainName()
const std::string& HLT::Chain::getLowerChainName |
( |
| ) |
const |
|
inline |
◆ getStatus()
◆ inquireChainCounter()
unsigned int HLT::Chain::inquireChainCounter |
( |
uint32_t |
chainWord | ) |
|
|
static |
unpack chain counter from the serialized word
Definition at line 123 of file Chain.cxx.
124 return ( chainWord >> (3+7)) & 0x0000ffff;
◆ isMerged()
bool HLT::Chain::isMerged |
( |
| ) |
const |
|
inline |
◆ isPassedThrough()
bool HLT::Chain::isPassedThrough |
( |
| ) |
const |
|
inline |
is chain passed through ?
Definition at line 85 of file Chain.h.
◆ isPrescaled()
bool HLT::Chain::isPrescaled |
( |
| ) |
const |
|
inline |
is chain prescaled ?
Definition at line 86 of file Chain.h.
◆ isResurrected()
bool HLT::Chain::isResurrected |
( |
| ) |
const |
|
inline |
is chain resurrected ?
Definition at line 87 of file Chain.h.
◆ nextStepAfterEB()
bool HLT::Chain::nextStepAfterEB |
( |
| ) |
const |
|
inline |
return whether next step requires EB (-1 means no EB called)
Definition at line 98 of file Chain.h.
◆ passThroughFactor()
float HLT::Chain::passThroughFactor |
( |
| ) |
const |
|
inline |
get pass-through factor
Definition at line 92 of file Chain.h.
◆ prescaleFactor()
float HLT::Chain::prescaleFactor |
( |
| ) |
const |
|
inline |
get prescale factor
Definition at line 91 of file Chain.h.
◆ print()
template<class stream >
void HLT::Chain::print |
( |
stream & |
os | ) |
const |
|
inline |
templated print stream method so that one can simply write std::cout << myChain << std::endl; or with the Gaudi Msg stram msgStram << myChain << ...
Definition at line 112 of file Chain.h.
◆ reset()
bool HLT::Chain::reset |
( |
| ) |
|
restes the bits to the basic state
Definition at line 127 of file Chain.cxx.
◆ serialize()
HLT::ErrorCode Chain::serialize |
( |
std::vector< uint32_t > & |
output | ) |
const |
serialize this Chain into the given vector of uint's
Definition at line 52 of file Chain.cxx.
78 chainWord |= ((
m_errorCode & 0x0000003f) << (3+6+1+16));
80 output.push_back(chainWord);
◆ setDecisions()
HLT::ErrorCode Chain::setDecisions |
( |
bool |
passedraw, |
|
|
bool |
passedthrough, |
|
|
bool |
prescaled, |
|
|
bool |
resurrected |
|
) |
| |
set bool decisions directly
Definition at line 85 of file Chain.cxx.
◆ setStatus()
◆ m_chain_counter
unsigned int HLT::Chain::m_chain_counter |
|
protected |
chain counter from configuration (copied here for speed)
Definition at line 144 of file Chain.h.
◆ m_configChain
◆ m_currentStep
int HLT::Chain::m_currentStep |
|
protected |
Current step of this chain.
Definition at line 150 of file Chain.h.
◆ m_errorCode
most severe error code of execution
Definition at line 145 of file Chain.h.
◆ m_passedRaw
bool HLT::Chain::m_passedRaw |
|
protected |
◆ m_passThrough
bool HLT::Chain::m_passThrough |
|
protected |
Flagged as "passedThrough" for this event ?
Definition at line 147 of file Chain.h.
◆ m_prescaled
bool HLT::Chain::m_prescaled |
|
protected |
Flagged as "prescaled" for this event ?
Definition at line 148 of file Chain.h.
◆ m_resurrected
bool HLT::Chain::m_resurrected |
|
protected |
flag to mar that chain was originally prescalled but is reexecuted
Definition at line 149 of file Chain.h.
◆ m_status
Chain status, enum {ChainInvalid, ConfigOnlyChain, ChainOK }.
Definition at line 153 of file Chain.h.
The documentation for this class was generated from the following files: