Skip to content
Snippets Groups Projects

loopy unpacking and multi packing

Merged Sevda Esen requested to merge sevda-loopy-unpacking3 into master
All threads resolved!
7 files
+ 63
14
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -20,6 +20,13 @@
#include <type_traits>
#include <vector>
namespace {
bool ends_with( std::string_view s, std::string_view suffix ) {
return s.size() >= suffix.size() && s.substr( s.size() - suffix.size() ).compare( suffix ) == 0;
}
} // namespace
/** @brief Write DecReport objects based on the status of the execution nodes in the scheduler.
*
* Each execution node of the HltControlFlowMgr is converted to a DecReport
@@ -48,8 +55,15 @@ private:
std::map<std::string, std::pair<int, int>> m_name_indices{};
Gaudi::Property<std::vector<std::string>> m_line_names{this, "Persist", {}, "Specify the nodes to be written to TES"};
Gaudi::Property<std::string> m_ann_key{this, "ANNSvcKey", "", "Key from the ANN service to query."};
Gaudi::Property<unsigned int> m_key{this, "TCK", 0u};
Gaudi::Property<std::string> m_ann_key{
this, "ANNSvcKey", "",
[this]( const auto& ) {
if ( m_ann_key.value().empty() || ends_with( m_ann_key.value(), "DecisionID" ) ) return;
throw GaudiException( "ANNSvcKey " + m_ann_key.value() + " does not end in \"DecisionID\"", __PRETTY_FUNCTION__,
StatusCode::FAILURE );
},
"Key used to query the ANN service"};
Gaudi::Property<unsigned int> m_key{this, "TCK", 0u};
};
DECLARE_COMPONENT( ExecutionReportsWriter )
Loading