Skip to content
Snippets Groups Projects
Commit e2f68418 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'VDV_reentrant' into 'master'

Make ViewDataVerifier reentrant

See merge request atlas/athena!34290
parents f831259d 4bbf4ed2
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ namespace AthViews {
ViewDataVerifier::ViewDataVerifier( const std::string& name,
ISvcLocator* pSvcLocator ) :
::AthAlgorithm( name, pSvcLocator )
::AthReentrantAlgorithm( name, pSvcLocator )
{
}
......@@ -53,10 +53,10 @@ StatusCode ViewDataVerifier::initialize()
return sc;
}
StatusCode ViewDataVerifier::execute()
StatusCode ViewDataVerifier::execute(const EventContext& ctx) const
{
// Retrieve the current view from the EventContext
auto viewProxy = Atlas::getExtendedEventContext(getContext()).proxy();
auto viewProxy = Atlas::getExtendedEventContext(ctx).proxy();
ATH_MSG_DEBUG( "Executing " << name() << " running with store " << viewProxy->name() );
......
......@@ -13,13 +13,13 @@
#include <string>
// FrameWork includes
#include "AthenaBaseComps/AthAlgorithm.h"
#include "AthenaBaseComps/AthReentrantAlgorithm.h"
#include "GaudiKernel/DataObjID.h"
namespace AthViews {
class ViewDataVerifier
: public ::AthAlgorithm
: public ::AthReentrantAlgorithm
{
///////////////////////////////////////////////////////////////////
......@@ -40,7 +40,7 @@ class ViewDataVerifier
// Athena algorithm's Hooks
virtual StatusCode initialize() override;
virtual StatusCode execute() override;
virtual StatusCode execute(const EventContext& ctx) const override;
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment