|
ATLAS Offline Software
|
Go to the documentation of this file.
69 vertexLinks, setVertexLinks )
74 vertexAcc(
"vertexLinks" );
77 return vertexAcc( *this ).size();
94 if(!
acc->isAvailable( *
this) ) {
98 value = ( *acc )( *this );
105 if(! acc )
throw std::runtime_error(
"Unknown/Unavailable Vertex to Calo Match type requested" );
107 return ( *acc )( *this );
114 if( ! acc )
return false;
116 ( *acc )( *this ) =
value;
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.
const SG::AuxElement::Accessor< float > * vertexCaloMatchAccessorV1(xAOD::EgammaParameters::VertexCaloMatchType type)
Helper function for managing Egamma Accessor objects.
Helper class to provide type-safe access to aux data.
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.
size_t index() const
Return the index of this element within its container.
const VxELVec_t & vertexLinks() const
Get all vertex links.
Egamma_v1 & operator=(const Egamma_v1 &eg)
Assignment Operator. Using the assignment of SG::AuxElement.
std::vector< ElementLink< VertexContainer > > VxELVec_t
Helper type definition.
Photon_v1()
Default constructor.
ElementLink implementation for ROOT usage.
void makePrivateStore()
Create a new (empty) private store for this object.
Photon_v1 Photon
Definition of the current "egamma version".
Class describing a Vertex.
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...
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
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.
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1