![]() |
ATLAS Offline Software
|
This class represents one chain of signatures, i.e. More...
#include <Chain.h>
Public Member Functions | |
| Chain (uint32_t serialData) | |
| constructor from serialized data | |
| Chain (const TrigConf::HLTChain *configChain) | |
| ~Chain () | |
| const TrigConf::HLTChain * | getConfigChain () const |
| get underlying ConfigChain | |
| bool | chainPassedRaw () const |
| bool | chainPassed () const |
| bool | isPassedThrough () const |
| is chain passed through ? | |
| bool | isPrescaled () const |
| is chain prescaled ? | |
| bool | isResurrected () const |
| is chain resurrected ? | |
| float | prescaleFactor () const |
| get prescale factor | |
| float | passThroughFactor () const |
| get pass-through factor | |
| unsigned int | getChainCounter () const |
| return the unique identifier of this Chain (uint) | |
| const std::string & | getChainName () const |
| return the Chain name (string) | |
| const std::string & | getLowerChainName () const |
| return the Chain name (string) | |
| int | getEBAfterStep () const |
| get EB_after_step | |
| std::vector< size_t > | getLegMultiplicities () const |
| get per leg multiplicity (Run3 only) | |
| bool | nextStepAfterEB () const |
| return whether next step requires EB (-1 means no EB called) | |
| bool | isMerged () const |
| unsigned int | getChainHashId () const |
| < return whether is a merged L2+EF chain | |
| HLT::ErrorCode | getErrorCode () const |
| return this Chain's most severe error code (from execution) | |
| int | getChainStep () const |
| return the current step of execution | |
| template<class stream> | |
| void | print (stream &os) const |
| templated print stream method so that one can simply write std::cout << myChain << std::endl; or with the Gaudi Msg stram msgStram << myChain << ... | |
| ErrorCode | serialize (std::vector< uint32_t > &output) const |
| serialize this Chain into the given vector of uint's | |
| ErrorCode | deserialize (uint32_t chainWord) |
| deserialize this Chain from given vector of uint's | |
| ErrorCode | setDecisions (bool passedraw, bool passedthrough, bool prescaled, bool resurrected) |
| set bool decisions directly | |
| ChainStatus | getStatus () const |
| return Chain status | |
| bool | reset () |
| restes the bits to the basic state | |
Static Public Member Functions | |
| static unsigned int | inquireChainCounter (uint32_t chainWord) |
| unpack chain counter from the serialized word | |
Protected Member Functions | |
| void | setStatus (ChainStatus s) |
Protected Attributes | |
| const TrigConf::HLTChain * | m_configChain |
| underlying Config Chain | |
| unsigned int | m_chain_counter |
| chain counter from configuration (copied here for speed) | |
| ErrorCode | m_errorCode |
| most severe error code of execution | |
| bool | m_passedRaw |
| bool | m_passThrough |
| Flagged as "passedThrough" for this event ? | |
| bool | m_prescaled |
| Flagged as "prescaled" for this event ? | |
| bool | m_resurrected |
| flag to mar that chain was originally prescalled but is reexecuted | |
| int | m_currentStep |
| Current step of this chain. | |
Private Attributes | |
| ChainStatus | m_status |
| Chain status, enum {ChainInvalid, ConfigOnlyChain, ChainOK }. | |
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.
| Chain::Chain | ( | uint32_t | serialData | ) |
constructor from serialized data
Definition at line 27 of file Chain.cxx.
| Chain::Chain | ( | const TrigConf::HLTChain * | configChain | ) |
Definition at line 34 of file Chain.cxx.
| bool Chain::chainPassed | ( | ) | const |
| HLT::ErrorCode Chain::deserialize | ( | uint32_t | chainWord | ) |
deserialize this Chain from given vector of uint's
Definition at line 101 of file Chain.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 109 of file Chain.h.
| bool HLT::Chain::reset | ( | ) |
restes the bits to the basic state
| 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.
| HLT::ErrorCode Chain::setDecisions | ( | bool | passedraw, |
| bool | passedthrough, | ||
| bool | prescaled, | ||
| bool | resurrected ) |
set bool decisions directly
Definition at line 85 of file Chain.cxx.
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |