ATLAS Offline Software
ITrkToLeptonPV.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 //
5 // ITrkToLeptonPV.h - Description
6 //
7 #ifndef ITrkToLeptonPV_H
8 #define ITrkToLeptonPV_H
9 
10 #include <vector>
11 #include <utility>
12 #include <memory>
17 
18 //------------------------------------------------------------------------
20  static const InterfaceID IID_TrkToLeptonPV("ITrkToLeptonPV", 1, 0);
21 
34  class ITrkToLeptonPV : virtual public IAlgTool {
35  public:
36  static const InterfaceID& interfaceID() { return IID_TrkToLeptonPV;}
37 //---------------------------------------------------------------------------
38 
42  virtual std::unique_ptr<xAOD::Vertex> matchTrkToPV( const xAOD::TrackParticle*, const xAOD::Vertex*, const xAOD::EventInfo* =0) const =0;
43 
48  virtual std::unique_ptr<xAOD::Vertex> npartVertex(const std::vector<const xAOD::TrackParticle*>&, const xAOD::EventInfo * =0) const =0;
49  };
50 
51 
52 #endif
ITrkToLeptonPV::matchTrkToPV
virtual std::unique_ptr< xAOD::Vertex > matchTrkToPV(const xAOD::TrackParticle *, const xAOD::Vertex *, const xAOD::EventInfo *=0) const =0
Method to match any tracks to a known Primary Vertex.
ITrkToLeptonPV::npartVertex
virtual std::unique_ptr< xAOD::Vertex > npartVertex(const std::vector< const xAOD::TrackParticle * > &, const xAOD::EventInfo *=0) const =0
Method to create a Primary Vertex using N(>=2) identified tracks (e.g.
ITrkToLeptonPV
Definition: ITrkToLeptonPV.h:34
AthAlgTool.h
ITrkToLeptonPV::interfaceID
static const InterfaceID & interfaceID()
Definition: ITrkToLeptonPV.h:36
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
VertexContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
TrackParticleContainer.h