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

Merge branch 'IVertexFinder_all_impl_do_eventContextAware' into 'master'

Remove default implemenation of EventContext aware method from IVertexFinder interface

See merge request atlas/athena!34325
parents 44dfbcee 13b51c86
No related branches found
No related tags found
No related merge requests found
......@@ -55,35 +55,28 @@ public:
virtual ~IVertexFinder(){};
static const InterfaceID& interfaceID() { return IID_IVertexFinder; }
/*
* For MT we have 2 sets , one with EventContext and one without
* Implementation really need to overload only one
* The clients can call either
/** Find vertex from Trk::TrackCollection.
* @param EventContext
* @param input track container
* @return a pair of newly created container and auxiliary store
*/
virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
findVertex(const EventContext& ctx, const TrackCollection* trackTES) const
{
(void)(ctx); // We do not use ctx
return findVertex(trackTES);
}
findVertex(const EventContext& ctx,
const TrackCollection* trackTES) const = 0;
/** Find vertex from xAOD::TrackParticleContainer.
* @param EventContext
* @param trackParticles input track container
* @param input track particle container
* @return a pair of newly created container and auxiliary store
*/
virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
findVertex(const EventContext& ctx,
const xAOD::TrackParticleContainer* trackParticles) const
{
(void)(ctx); // We do not use ctx
return findVertex(trackParticles);
}
const xAOD::TrackParticleContainer* trackParticles) const = 0;
/*
* Non Event context aware methods
* Non Event context aware methods.
* Can be remove when all clients move to EventContext
* aware calls
*/
virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
......
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