CP::PhotonVertexSelectionTool Class Reference

#include <PhotonVertexSelectionTool.h>

Inheritance diagram for CP::PhotonVertexSelectionTool:
CP::IPhotonVertexSelectionTool asg::AsgTool asg::IAsgTool asg::IAsgTool

List of all members.

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::VertexgetPrimaryVertexFromConv (const xAOD::PhotonContainer *photons) const
 Get possible vertex directly associated with photon conversions.
const CP::IPhotonPointingToolphotonPointingTool () const
 Get access to the photon pointing tool.

Detailed Description

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.

Author:
Christopher Meyer <chris.meyer@cern.ch>
Bruno Lenzi <bruno.lenzi@cern.ch>

Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1