40 return StatusCode::FAILURE;
49 ToolHandle<ITrigSerializeConvHelper> trigCnvHelper(
"TrigSerializeConvHelper",
this);
52 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
92 if ( !cresult.get() ) {
94 return StatusCode::SUCCESS;
97 ATH_MSG_DEBUG(
"HLTResult is level=" << cresult->getHLTLevel() );
99 const std::vector<uint32_t>& navData = cresult->getNavigationResult();
100 if ( !navData.empty() ) {
101 ATH_MSG_DEBUG(
"Navigation payload obtained from " << key <<
" has size " << navData.size() );
104 ATH_MSG_WARNING(
"Navigation payload obtained from " << key <<
" has size 0" );
108 ATH_MSG_DEBUG(
"Merging L2 and EF navigation structures for " << key );
129 auto result = std::make_unique<HLT::HLTResult>(*cresult);
131 result->getNavigationResult().clear();
133 ATH_MSG_DEBUG(
"New serialized navigation for " << keyOut <<
" has size " <<
result->getNavigationResult().size() );
137 return StatusCode(status);
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual bool serialize(std::vector< uint32_t > &output) const
method serizlizes the navigation structure The structure is serrizlized in following order ....
bool merge(const NavigationCore &l2)
attemtps to merge two trees
virtual void prepare()
prepapres the navigation for next event
bool deserialize(const std::vector< uint32_t > &input)
The Navigation class, organizes TriggerElements into the tree structure.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())