Go to the documentation of this file.
25 static const CLID& CLID_MyVertex = 1356;
50 MyVertex(
float x,
float y,
float z );
54 const CLID&
clID()
const override {
return classID(); }
57 float x()
const {
return m_x; }
59 float y()
const {
return m_y; }
61 float z()
const {
return m_z; }
63 void setX(
float x ) { m_x = x; }
65 void setY(
float y ) { m_y = y; }
67 void setZ(
float z ) { m_z = z; }
74 const MyTrack* motherParticle()
const;
77 void setMotherParticle(
MyTrack* mother );
83 void addDecayParticle(
MyTrack* track );
86 void removeDecayParticle(
MyTrack* vtx );
122 if ( i->target() == p ) {
139 if ( i->target() ==
c ) {
Kernel objects: SmartRefVector.
const SmartRefVector< MyTrack > & decayParticles() const
Access to decay particles.
void setEvent(Event *evt)
Access to event object.
void setX(float x)
Accessors: Update x-component of the track momentum.
void addDecayParticle(MyTrack *track)
Add decay particle.
const SmartRefVector< Collision > & collisions() const
Access to collisions.
SmartRef< Event > m_event
Link to Top level event.
const Event * event() const
Access to the source track object (constant case)
void setMotherParticle(MyTrack *mother)
Set mother track.
float y() const
Accessors: Retrieve y-component of the track momentum.
static const CLID & classID()
float z() const
Accessors: Retrieve z-component of the track momentum.
const CLID & clID() const override
Retrieve pointer to class definition structure.
template class KeyedContainer, KeyedContainer.h
const MyTrack * motherParticle() const
Mother track.
unsigned int CLID
Class ID definition.
Definition of the templated KeyedObject class.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
SmartRef< MyTrack > m_motherParticle
Link to mother track.
SmartRefVector< Collision > m_collisions
Vector of collisions this object belongs to.
void removeCollision(Collision *vtx)
Remove collision.
float x() const
Accessors: Retrieve x-component of the track momentum.
KeyedContainer< MyVertex > MyVertexVector
void removeDecayParticle(MyTrack *vtx)
Remove decay vertex.
void setY(float y)
Accessors: Update y-component of the track momentum.
void addCollision(Collision *vtx)
Add collision.
Kernel objects: SmartRef.
SmartRefVector< MyTrack > m_decayParticles
Links to all daughter particles.
void setZ(float z)
Accessors: Update z-component of the track momentum.