|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTRUTH_VERSIONS_TRUTHEVENTBASE_V1_H
9 #define XAODTRUTH_VERSIONS_TRUTHEVENTBASE_V1_H
16 #include "AthLinks/ElementLink.h"
108 #endif // XAODTRUTH_VERSIONS_TRUTHEVENTBASE_V1_H
void toPersistent()
Function making sure that the object is ready for persistification.
TruthEventBase_v1()
Default constructor.
Base class for elements of a container that can have aux data.
const TruthParticle * truthParticle(size_t index) const
Get a pointer to one of the truth particles.
SG_BASE(xAOD::TruthEventBase_v1, SG::AuxElement)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setTruthParticleLinks(const TruthParticleLinks_t &plinks)
Set all the truth particles.
void addTruthParticleLink(const TruthParticleLink_t &plink)
Add one truth particle.
const TruthVertexLinks_t & truthVertexLinks() const
Get all the truth vertices.
Class describing a truth particle in the MC record.
const TruthParticleLink_t & truthParticleLink(size_t index) const
Get the link to one of the truth particles.
const TruthVertexLink_t & truthVertexLink(size_t index) const
Get the link to one of the truth vertices.
virtual Type::ObjectType type() const =0
The type of the object as a simple enumeration.
void clearTruthParticleLinks()
Remove all truth particles.
std::vector< TruthVertexLink_t > TruthVertexLinks_t
Type of the truth particle links vector.
Base class describing a pile-up or signal truth event in the MC record.
Class describing a truth vertex in the MC record.
size_t nTruthParticles() const
Get the number of truth particles.
ElementLink< TruthParticleContainer > TruthParticleLink_t
Type of a single truth particle link.
size_t nTruthVertices() const
Get the number of truth vertices.
virtual ~TruthEventBase_v1()
Virtual destructor, to make vtable happy.
void clearTruthVertexLinks()
Remove all truth vertices.
const TruthParticleLinks_t & truthParticleLinks() const
Get all the truth particles.
void setTruthVertexLinks(const TruthVertexLinks_t &links)
Set all the truth vertices.
ObjectType
Type of objects that have a representation in the xAOD EDM.
ElementLink< TruthVertexContainer > TruthVertexLink_t
Type of a single truth vertex link.
void addTruthVertexLink(const TruthVertexLink_t &vlink)
Add one truth vertex.
const TruthVertex * truthVertex(size_t index) const
Get a pointer to one of the truth vertices.
std::vector< TruthParticleLink_t > TruthParticleLinks_t
Type of the truth particle links vector.
Base class for elements of a container that can have aux data.