xAOD::TruthVertex_v1 Class Reference

#include <TruthVertex_v1.h>

Inheritance diagram for xAOD::TruthVertex_v1:
SG::AuxElement SG::IAuxElement

List of all members.

Public Member Functions

 TruthVertex_v1 ()
 Default constructor.
Type::ObjectType type () const
 The type of the object as a simple enumeration.
void toPersistent ()
 Function making sure that the object is ready for persistification.
Functions identifying the vertex in the MC record



void setId (int value)
 Set vertex ID code.
int id () const
 Vertex ID code.
void setBarcode (int value)
 Set barcode.
int barcode () const
 Barcode.

Links to the particles associated with this vertex



typedef ElementLink
< TruthParticleContainer
TPLink_t
 Type of one truth particle link.
typedef std::vector< TPLink_tTPLinks_t
 Type used to save the links to incoming and outgoing particles.
const TPLinks_tincomingParticleLinks () const
 Get all the incoming particles.
void setIncomingParticleLinks (const TPLinks_t &links)
 Set all the incoming particles.
size_t nIncomingParticles () const
 Get the number of incoming particles.
const TruthParticle_v1incomingParticle (size_t index) const
 Get one of the incoming particles.
void addIncomingParticleLink (const TPLink_t &link)
 Add one incoming particle.
void clearIncomingParticleLinks ()
 Remove all incoming particles.
const TPLinks_toutgoingParticleLinks () const
 Get all the outgoing particles.
void setOutgoingParticleLinks (const TPLinks_t &links)
 Set all the outgoing particles.
size_t nOutgoingParticles () const
 Get the number of outgoing particles.
const TruthParticle_v1outgoingParticle (size_t index) const
 Get one of the outgoing particles.
void addOutgoingParticleLink (const TPLink_t &link)
 Add one outgoing particle.
void clearOutgoingParticleLinks ()
 Remove all outgoing particles.

Vertex position functions



typedef TLorentzVector FourVec_t
 The 4-vector type.
float x () const
 Vertex x displacement.
void setX (float value)
 Set the x displacement of the vertex.
float y () const
 Vertex y displacement.
void setY (float value)
 Set the y displacement of the vertex.
float z () const
 Vertex longitudinal distance along the beam line form the origin.
void setZ (float value)
 Set the vertex's longitudinal distance from the origin.
float perp () const
 Vertex transverse distance from the beam line.
float eta () const
 Vertex pseudorapidity.
float phi () const
 Vertex azimuthal angle.
float t () const
 Vertex time.
void setT (float value)
 Set the vertex time.
const FourVec_tv4 () const
 The full 4-vector of the vertex.

Detailed Description

Class describing a truth vertex in the MC record

The xAOD truth record mimicks the structure of HepMC. Truth particles and truth vertices form a decay tree. Where each truth particle is connected to a single production and decay vertex. And each vertex is connected to one or more incoming, and one or more outgoing particles.

Author:
Andy Buckley <Andy.Buckley@cern.ch>
Revision
624338
Date
2014-10-27 16:08:55 +0100 (Mon, 27 Oct 2014)

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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1