Skip to content
Snippets Groups Projects
Commit 13b51c86 authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

Remove default implemenation of EventContext aware method from IVertexFinder interface

parent bfcbebae
No related branches found
No related tags found
No related merge requests found
...@@ -55,35 +55,28 @@ public: ...@@ -55,35 +55,28 @@ public:
virtual ~IVertexFinder(){}; virtual ~IVertexFinder(){};
static const InterfaceID& interfaceID() { return IID_IVertexFinder; } static const InterfaceID& interfaceID() { return IID_IVertexFinder; }
/* /** Find vertex from Trk::TrackCollection.
* For MT we have 2 sets , one with EventContext and one without * @param EventContext
* Implementation really need to overload only one * @param input track container
* The clients can call either * @return a pair of newly created container and auxiliary store
*/ */
virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*> virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
findVertex(const EventContext& ctx, const TrackCollection* trackTES) const findVertex(const EventContext& ctx,
{ const TrackCollection* trackTES) const = 0;
(void)(ctx); // We do not use ctx
return findVertex(trackTES);
}
/** Find vertex from xAOD::TrackParticleContainer. /** Find vertex from xAOD::TrackParticleContainer.
* @param EventContext * @param EventContext
* @param trackParticles input track container * @param input track particle container
* @return a pair of newly created container and auxiliary store * @return a pair of newly created container and auxiliary store
*/ */
virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*> virtual std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
findVertex(const EventContext& ctx, findVertex(const EventContext& ctx,
const xAOD::TrackParticleContainer* trackParticles) const const xAOD::TrackParticleContainer* trackParticles) const = 0;
{
(void)(ctx); // We do not use ctx
return findVertex(trackParticles);
}
/* /*
* 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*> 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