7#ifndef XAODEGAMMA_VERSIONS_PHOTON_V1_H
8#define XAODEGAMMA_VERSIONS_PHOTON_V1_H
11#include "AthLinks/ElementLink.h"
64 virtual Type::ObjectType
type()
const override final;
73 virtual double m()
const override final;
76 virtual double e()
const override final;
79 virtual double rapidity()
const override final;
94 typedef std::vector< ElementLink< VertexContainer > >
VxELVec_t;
#define DATAVECTOR_BASE_FIN(T, B)
Used to finish up a forward declaration.
ElementLink implementation for ROOT usage.
virtual Type::ObjectType type() const override final
The type of the object as a simple enumeration.
const ElementLink< VertexContainer > & vertexLink(size_t index=0) const
ElementLink to the xAOD::vertex/es that match the electron candidate.
bool setVertexCaloMatchValue(const float value, const EgammaParameters::VertexCaloMatchType information)
Set method for CaloMatch values.
std::vector< ElementLink< VertexContainer > > VxELVec_t
Helper type definition.
xAOD::EgammaParameters::ConversionType conversionType() const
return the photon conversion type (see EgammaEnums)
Photon_v1 & operator=(const Photon_v1 &el)
Assignment Operator. Ends up using the assignment of AuxElement for the store.
const VxELVec_t & vertexLinks() const
Get all vertex links.
virtual double e() const override final
The total energy of the particle.
virtual double m() const override final
The invariant mass of the particle.
bool vertexCaloMatchValue(float &value, const EgammaParameters::VertexCaloMatchType information) const
Accessor to vertex to Calo Match Values If 'information' is stored in this xAOD::Egamma and is of the...
void setVertexLinks(const VxELVec_t &links)
set Pointer to the xAOD::vertex/vertices that match the photon candidate
size_t nVertices() const
Return the number xAOD::Vertex/vertices that match the photon candidate.
float conversionRadius() const
return the photon conversion radius
virtual double rapidity() const override final
The true rapidity (y) of the particle.
float vertexCaloMatchValue(const EgammaParameters::VertexCaloMatchType information) const
Accessor to vertex to Calo Match Values , this just returns the value without internaly checking if i...
Photon_v1()
Default constructor.
const xAOD::Vertex * vertex(size_t index=0) const
Pointer to the xAOD::Vertex/es that match the photon candidate.
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
return the photon conversion type (see EgammaEnums)
float conversionRadius(const xAOD::Vertex *vx)
return the conversion radius or 9999.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Vertex_v1 Vertex
Define the latest version of the vertex class.
Egamma_v1 Egamma
Definition of the current "egamma version".