20#ifndef TRIGSTEERINGEVENT_CHAIN_H
21#define TRIGSTEERINGEVENT_CHAIN_H
34#ifndef XAOD_STANDALONE
35#include "GaudiKernel/MsgStream.h"
71 Chain( uint32_t serialData );
111 template <
class stream>
This class represents one chain of signatures, i.e.
bool m_prescaled
Flagged as "prescaled" for this event ?
int getEBAfterStep() const
get EB_after_step
void setStatus(ChainStatus s)
ChainStatus m_status
Chain status, enum {ChainInvalid, ConfigOnlyChain, ChainOK }.
Chain(uint32_t serialData)
constructor from serialized data
ErrorCode m_errorCode
most severe error code of execution
int m_currentStep
Current step of this chain.
bool m_resurrected
flag to mar that chain was originally prescalled but is reexecuted
const TrigConf::HLTChain * getConfigChain() const
get underlying ConfigChain
float passThroughFactor() const
get pass-through factor
HLT::ErrorCode getErrorCode() const
return this Chain's most severe error code (from execution)
bool nextStepAfterEB() const
return whether next step requires EB (-1 means no EB called)
static unsigned int inquireChainCounter(uint32_t chainWord)
unpack chain counter from the serialized word
const TrigConf::HLTChain * m_configChain
underlying Config Chain
ErrorCode deserialize(uint32_t chainWord)
deserialize this Chain from given vector of uint's
unsigned int getChainCounter() const
return the unique identifier of this Chain (uint)
bool reset()
restes the bits to the basic state
unsigned int getChainHashId() const
< return whether is a merged L2+EF chain
float prescaleFactor() const
get prescale factor
std::vector< size_t > getLegMultiplicities() const
get per leg multiplicity (Run3 only)
void print(stream &os) const
templated print stream method so that one can simply write std::cout << myChain << std::endl; or with...
int getChainStep() const
return the current step of execution
bool isPassedThrough() const
is chain passed through ?
bool isPrescaled() const
is chain prescaled ?
ErrorCode serialize(std::vector< uint32_t > &output) const
serialize this Chain into the given vector of uint's
ErrorCode setDecisions(bool passedraw, bool passedthrough, bool prescaled, bool resurrected)
set bool decisions directly
const std::string & getLowerChainName() const
return the Chain name (string)
ChainStatus getStatus() const
return Chain status
unsigned int m_chain_counter
chain counter from configuration (copied here for speed)
bool m_passThrough
Flagged as "passedThrough" for this event ?
const std::string & getChainName() const
return the Chain name (string)
bool isResurrected() const
is chain resurrected ?
bool chainPassedRaw() const
The definition of error codes in HLT.
HLT chain configuration information.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
std::string strErrorCode(const ErrorCode code)
static const std::string no_config
const FeatureContainerInit< FEATURE, CONTAINER > RegisterFeatureContainerTypes< FEATURE, CONTAINER >::s
MsgStream & operator<<(MsgStream &m, const Navigation &nav)