Skip to content
Snippets Groups Projects
Commit 881d73b2 authored by Ruggero Turra's avatar Ruggero Turra :headphones:
Browse files

EMBremCollectionBuilder reentrant

parent 841c4ce8
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!36825ATLASRECTS-4604: EMBremCollectionBuilder reentrant
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
EMBremCollectionBuilder::EMBremCollectionBuilder(const std::string& name, EMBremCollectionBuilder::EMBremCollectionBuilder(const std::string& name,
ISvcLocator* pSvcLocator) ISvcLocator* pSvcLocator)
: AthAlgorithm(name, pSvcLocator) : AthReentrantAlgorithm(name, pSvcLocator)
{ {
} }
...@@ -66,7 +66,7 @@ StatusCode EMBremCollectionBuilder::EMBremCollectionBuilder::finalize(){ ...@@ -66,7 +66,7 @@ StatusCode EMBremCollectionBuilder::EMBremCollectionBuilder::finalize(){
} }
StatusCode StatusCode
EMBremCollectionBuilder::execute_r(const EventContext& ctx) const EMBremCollectionBuilder::execute(const EventContext& ctx) const
{ {
/* /*
* Read in the input * Read in the input
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "TrkToolInterfaces/ITrackSlimmingTool.h" #include "TrkToolInterfaces/ITrackSlimmingTool.h"
#include "TrkToolInterfaces/ITrackSummaryTool.h" #include "TrkToolInterfaces/ITrackSummaryTool.h"
#include "AthenaBaseComps/AthAlgorithm.h" #include "AthenaBaseComps/AthReentrantAlgorithm.h"
#include "GaudiKernel/ToolHandle.h" #include "GaudiKernel/ToolHandle.h"
#include "GaudiKernel/EventContext.h" #include "GaudiKernel/EventContext.h"
#include "StoreGate/ReadHandleKey.h" #include "StoreGate/ReadHandleKey.h"
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "InDetReadoutGeometry/SiDetectorElementCollection.h" #include "InDetReadoutGeometry/SiDetectorElementCollection.h"
#include <memory> #include <memory>
class EMBremCollectionBuilder : public AthAlgorithm class EMBremCollectionBuilder : public AthReentrantAlgorithm
{ {
public: public:
...@@ -39,13 +39,7 @@ public: ...@@ -39,13 +39,7 @@ public:
virtual StatusCode initialize() override final; virtual StatusCode initialize() override final;
virtual StatusCode finalize() override final; virtual StatusCode finalize() override final;
virtual StatusCode execute() override final virtual StatusCode execute(const EventContext& ctx) const override final;
{
return execute_r(Algorithm::getContext());
}
// This will become the normal execute when
// inheriting from AthReentrantAlgorithm
StatusCode execute_r(const EventContext& ctx) const;
struct TrackWithIndex struct TrackWithIndex
......
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