![]() |
ATLAS Offline Software
|
Obtains trigger bits from Navigation summary via getBits and (online) fills trigger bits in the HLTResultMT object. More...
#include <TriggerBitsMakerTool.h>
Public Member Functions | |
| TriggerBitsMakerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~TriggerBitsMakerTool () override=default |
| virtual StatusCode | fill (HLT::HLTResultMT &resultToFill, const EventContext &ctx) const override |
| virtual StatusCode | getBits (boost::dynamic_bitset< uint32_t > &passRaw, boost::dynamic_bitset< uint32_t > &prescaled, const EventContext &ctx) const override |
| virtual StatusCode | initialize () override |
| virtual StatusCode | start () override |
Private Types | |
| using | ChainToBitMap = std::map< TrigCompositeUtils::DecisionID, uint32_t> |
Private Member Functions | |
| StatusCode | setBit (const TrigCompositeUtils::DecisionID chain, boost::dynamic_bitset< uint32_t > &resultToFill) const |
| Set to 1 the bit correspinding to 'chain' in 'resultToFill'. | |
| StatusCode | hashConsistencyCheck (const std::string &chain, const size_t hash) const |
| Check that a chain's hash in the menu JSON (via python) agrees with the C++ implementation. | |
| StatusCode | preInsertCheck (const std::string &chain, const uint32_t bit) const |
| Check that no existing key maps to a given value and that the string is not empty. | |
Private Attributes | |
| SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > | m_finalChainDecisions |
| SG::ReadHandleKey< TrigConf::HLTMenu > | m_HLTMenuKey {this, "HLTTriggerMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu"} |
| Gaudi::Property< std::map< std::string, uint32_t > > | m_extraChainToBit |
| ChainToBitMap | m_mapping |
| Mapping of each chain's hash ID to its chain counter. | |
| uint32_t | m_largestBit {0} |
| Largest chain counter hence largest bit needed to be stored in result bitmap. | |
Obtains trigger bits from Navigation summary via getBits and (online) fills trigger bits in the HLTResultMT object.
Definition at line 18 of file TriggerBitsMakerTool.h.
|
private |
Definition at line 57 of file TriggerBitsMakerTool.h.
| TriggerBitsMakerTool::TriggerBitsMakerTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 11 of file TriggerBitsMakerTool.cxx.
|
overridevirtualdefault |
|
overridevirtual |
Definition at line 136 of file TriggerBitsMakerTool.cxx.
|
overridevirtual |
< The chains which returned a positive decision
< The chains which did not run due to being prescaled out
Definition at line 76 of file TriggerBitsMakerTool.cxx.
|
private |
Check that a chain's hash in the menu JSON (via python) agrees with the C++ implementation.
Definition at line 50 of file TriggerBitsMakerTool.cxx.
|
overridevirtual |
Definition at line 14 of file TriggerBitsMakerTool.cxx.
|
private |
Check that no existing key maps to a given value and that the string is not empty.
Definition at line 59 of file TriggerBitsMakerTool.cxx.
|
private |
Set to 1 the bit correspinding to 'chain' in 'resultToFill'.
Definition at line 167 of file TriggerBitsMakerTool.cxx.
|
overridevirtual |
Definition at line 22 of file TriggerBitsMakerTool.cxx.
|
private |
Definition at line 54 of file TriggerBitsMakerTool.h.
|
private |
Definition at line 49 of file TriggerBitsMakerTool.h.
|
private |
Definition at line 52 of file TriggerBitsMakerTool.h.
|
private |
Largest chain counter hence largest bit needed to be stored in result bitmap.
Definition at line 60 of file TriggerBitsMakerTool.h.
|
private |
Mapping of each chain's hash ID to its chain counter.
Definition at line 58 of file TriggerBitsMakerTool.h.