25 static const CLID& CLID_MyVertex = 1356;
57 float x()
const {
return m_x; }
59 float y()
const {
return m_y; }
61 float z()
const {
return m_z; }
74 const MyTrack* motherParticle()
const;
77 void setMotherParticle(
MyTrack* mother );
83 void addDecayParticle(
MyTrack* track );
86 void removeDecayParticle(
MyTrack* vtx );
120 SmartRefVector<MyTrack>::iterator i;
122 if ( i->target() == p ) {
137 SmartRefVector<Collision>::iterator i;
139 if ( i->target() == c ) {
unsigned int CLID
Class ID definition.
Essential information of the event used in examples It can be identified by "/Event".
void setEvent(Event *evt)
Access to event object.
void addDecayParticle(MyTrack *track)
Add decay particle.
MyVertex()
Standard constructor.
void addCollision(Collision *vtx)
Add collision.
const MyTrack * motherParticle() const
Mother track.
float y() const
Accessors: Retrieve y-component of the track momentum.
const SmartRefVector< MyTrack > & decayParticles() const
Access to decay particles.
SmartRef< Event > m_event
Link to Top level event.
void setZ(float z)
Accessors: Update z-component of the track momentum.
void removeDecayParticle(MyTrack *vtx)
Remove decay vertex.
float m_x
The vertex location.
float x() const
Accessors: Retrieve x-component of the track momentum.
float z() const
Accessors: Retrieve z-component of the track momentum.
void setX(float x)
Accessors: Update x-component of the track momentum.
void setY(float y)
Accessors: Update y-component of the track momentum.
void removeCollision(Collision *vtx)
Remove collision.
void setMotherParticle(MyTrack *mother)
Set mother track.
SmartRefVector< MyTrack > m_decayParticles
Links to all daughter particles.
const CLID & clID() const override
Retrieve pointer to class definition structure.
const Event * event() const
Access to the source track object (constant case)
SmartRefVector< Collision > m_collisions
Vector of collisions this object belongs to.
const SmartRefVector< Collision > & collisions() const
Access to collisions.
static const CLID & classID()
SmartRef< MyTrack > m_motherParticle
Link to mother track.
template class KeyedContainer, KeyedContainer.h
Kernel objects: SmartRef.
Kernel objects: SmartRefVector.
The stream buffer is a small object collecting object data.
KeyedContainer< MyVertex > MyVertexVector
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...