|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODEGAMMA_VERSIONS_PHOTON_V1_H
8 #define XAODEGAMMA_VERSIONS_PHOTON_V1_H
11 #include "AthLinks/ElementLink.h"
78 typedef std::vector< ElementLink< VertexContainer > >
VxELVec_t;
127 #endif // XAODEGAMMA_VERSIONS_PHOTON_V1_H
virtual Type::ObjectType type() const override final
The type of the object as a simple enumeration.
size_t nVertices() const
Return the number xAOD::Vertex/vertices that match the photon candidate.
void setVertexLinks(const VxELVec_t &links)
set Pointer to the xAOD::vertex/vertices that match the photon candidate
bool setVertexCaloMatchValue(const float value, const EgammaParameters::VertexCaloMatchType information)
Set method for CaloMatch values.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const ElementLink< VertexContainer > & vertexLink(size_t index=0) const
ElementLink to the xAOD::vertex/es that match the electron candidate.
const VxELVec_t & vertexLinks() const
Get all vertex links.
std::vector< ElementLink< VertexContainer > > VxELVec_t
Helper type definition.
Photon_v1()
Default constructor.
ElementLink implementation for ROOT usage.
float vertexCaloMatchValue(const EgammaParameters::VertexCaloMatchType information) const
Accessor to vertex to Calo Match Values , this just returns the value without internaly checking if i...
DATAVECTOR_BASE_FIN(xAOD::Photon_v1, xAOD::Egamma)
float conversionRadius(const xAOD::Vertex *vx)
return the conversion radius or 9999.
float conversionRadius() const
return the photon conversion radius
Class describing a Vertex.
xAOD::EgammaParameters::ConversionType conversionType() const
return the photon conversion type (see EgammaEnums)
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
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.
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...
ObjectType
Type of objects that have a representation in the xAOD EDM.
const xAOD::Vertex * vertex(size_t index=0) const
Pointer to the xAOD::Vertex/es that match the photon candidate.