xAOD::TruthEventBase_v1 Class Reference

#include <TruthEventBase_v1.h>

Inheritance diagram for xAOD::TruthEventBase_v1:
SG::AuxElement SG::IAuxElement xAOD::TruthEvent_v1 xAOD::TruthPileupEvent_v1

List of all members.

Public Member Functions

 TruthEventBase_v1 ()
 Default constructor.
virtual ~TruthEventBase_v1 ()
 Virtual destructor, to make vtable happy.
virtual Type::ObjectType type () const =0
 The type of the object as a simple enumeration.
void toPersistent ()
 Function making sure that the object is ready for persistification.

Access to all the particles associated with the event



typedef ElementLink
< TruthParticleContainer
TruthParticleLink_t
 Type of a single truth particle link.
typedef std::vector
< TruthParticleLink_t
TruthParticleLinks_t
 Type of the truth particle links vector.
const TruthParticleLinks_ttruthParticleLinks () const
 Get all the truth particles.
void setTruthParticleLinks (const TruthParticleLinks_t &plinks)
 Set all the truth particles.
size_t nTruthParticles () const
 Get the number of truth particles.
const TruthParticleLink_ttruthParticleLink (size_t index) const
 Get the link to one of the truth particles.
const TruthParticletruthParticle (size_t index) const
 Get a pointer to one of the truth particles.
void addTruthParticleLink (const TruthParticleLink_t &plink)
 Add one truth particle.
void clearTruthParticleLinks ()
 Remove all truth particles.

Access to all the vertices associated with the event



typedef ElementLink
< TruthVertexContainer
TruthVertexLink_t
 Type of a single truth vertex link.
typedef std::vector
< TruthVertexLink_t
TruthVertexLinks_t
 Type of the truth particle links vector.
const TruthVertexLinks_ttruthVertexLinks () const
 Get all the truth vertices.
void setTruthVertexLinks (const TruthVertexLinks_t &links)
 Set all the truth vertices.
size_t nTruthVertices () const
 Get the number of truth vertices.
const TruthVertexLink_ttruthVertexLink (size_t index) const
 Get the link to one of the truth vertices.
const TruthVertextruthVertex (size_t index) const
 Get a pointer to one of the truth vertices.
void addTruthVertexLink (const TruthVertexLink_t &vlink)
 Add one truth vertex.
void clearTruthVertexLinks ()
 Remove all truth vertices.

Detailed Description

Base class describing a pile-up or signal truth event in the MC record

Provides access to particles and vertices, but no extra event info since this is different for signal and pile-up events.

Author:
Andy Buckley <Andy.Buckley@cern.ch>
Jovan Mitrevski <Jovan.Mitrevski@cern.ch>
Revision
622193
Date
2014-10-16 18:08:34 +0200 (Thu, 16 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