#include <PhotonVertexSelectionTool.h>
Public Member Functions | |
PhotonVertexSelectionTool (const std::string &name) | |
Function(s) implementing the asg::IAsgTool interface | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
Function(s) implementing the IPhotonVertexSelectionTool interface | |
StatusCode | getVertex (const xAOD::EgammaContainer &egammas, const xAOD::Vertex *&vertex, bool ignoreConv=false) |
Given a list of photons, return the most likely vertex based on MVA likelihood. | |
std::vector< std::pair< const xAOD::Vertex *, float > > & | getVertex (const xAOD::EgammaContainer &egammas, bool ignoreConv=false) |
Given a list of photons, return the MLPs of all vertices in the event. | |
int | getCase () const |
const xAOD::Vertex * | getPrimaryVertexFromConv (const xAOD::PhotonContainer *photons) const |
Get possible vertex directly associated with photon conversions. | |
const CP::IPhotonPointingTool * | photonPointingTool () const |
Get access to the photon pointing tool. |
Implementation for the photon vertex selection tool
Takes a list of photons (for example, to two leading photons) and the most likely primary vertex, based on an MVA.
int CP::PhotonVertexSelectionTool::getCase | ( | ) | const [inline, virtual] |
Return the last case treated: 0=conv track associated to vertex, 1=at least one conv track with Si hits, 2=no tracks with Si hits or conversions ignored
Implements CP::IPhotonVertexSelectionTool.