![]() |
The Gaudi Framework
master (da3d77e1)
|
#include </builds/gaudi/Gaudi/GaudiTestSuite/include/GaudiExamples/MyVertex.h>
Public Member Functions | |
MyVertex () | |
Standard constructor. More... | |
MyVertex (float x, float y, float z) | |
Standard constructor. More... | |
~MyVertex () override | |
Standard Destructor. More... | |
const CLID & | clID () const override |
Retrieve pointer to class definition structure. More... | |
float | x () const |
Accessors: Retrieve x-component of the track momentum. More... | |
float | y () const |
Accessors: Retrieve y-component of the track momentum. More... | |
float | z () const |
Accessors: Retrieve z-component of the track momentum. More... | |
void | setX (float x) |
Accessors: Update x-component of the track momentum. More... | |
void | setY (float y) |
Accessors: Update y-component of the track momentum. More... | |
void | setZ (float z) |
Accessors: Update z-component of the track momentum. More... | |
const Event * | event () const |
Access to the source track object (constant case) More... | |
void | setEvent (Event *evt) |
Access to event object. More... | |
const MyTrack * | motherParticle () const |
Mother track. More... | |
void | setMotherParticle (MyTrack *mother) |
Set mother track. More... | |
const SmartRefVector< MyTrack > & | decayParticles () const |
Access to decay particles. More... | |
void | addDecayParticle (MyTrack *track) |
Add decay particle. More... | |
void | removeDecayParticle (MyTrack *vtx) |
Remove decay vertex. More... | |
const SmartRefVector< Collision > & | collisions () const |
Access to collisions. More... | |
void | addCollision (Collision *vtx) |
Add collision. More... | |
void | removeCollision (Collision *vtx) |
Remove collision. More... | |
StreamBuffer & | serialize (StreamBuffer &s) const override |
Serialize the object for writing. More... | |
StreamBuffer & | serialize (StreamBuffer &s) override |
Serialize the object for reading. More... | |
![]() | |
KeyedObject ()=default | |
Standard Constructor. The object key is preset to the invalid value. More... | |
KeyedObject (const key_type &kval) | |
Standard Constructor accepting the object's key. More... | |
~KeyedObject () override | |
Standard destructor. More... | |
const key_type & | key () const |
Retrieve Key of the object. More... | |
bool | hasKey () const |
Check if the object has a key assigned or not. More... | |
long | index () const override |
Distance in the parent container. More... | |
StreamBuffer & | serialize (StreamBuffer &s) const override |
Serialize the object for writing. More... | |
StreamBuffer & | serialize (StreamBuffer &s) override |
Serialize the object for reading. More... | |
![]() | |
const ObjectContainerBase * | parent () const |
Access to parent object. More... | |
void | setParent (ObjectContainerBase *value) |
Update parent member. More... | |
virtual long | index () const |
Distance in the parent container. More... | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII) More... | |
Static Public Member Functions | |
static const CLID & | classID () |
![]() | |
static const CLID & | classID () |
Protected Attributes | |
float | m_x |
The vertex location. More... | |
float | m_y |
float | m_z |
SmartRef< Event > | m_event |
Link to Top level event. More... | |
SmartRef< MyTrack > | m_motherParticle |
Link to mother track. More... | |
SmartRefVector< MyTrack > | m_decayParticles |
Links to all daughter particles. More... | |
SmartRefVector< Collision > | m_collisions |
Vector of collisions this object belongs to. More... | |
![]() | |
key_type | m_key |
Object Key. More... | |
long | m_refCount |
Reference counter. More... | |
bool | m_hasKey |
Boolean to indicate wether a key was already assigned. More... | |
Additional Inherited Members | |
![]() | |
typedef int | key_type |
Definition of the key-type to access object. More... | |
![]() | |
typedef Containers::key_traits< key_type > | traits |
definition of the container key traits to be made friend More... | |
![]() | |
unsigned long | addRef () |
Add reference to object (Increase reference counter). More... | |
unsigned long | release () |
Release reference. If the reference count is ZERO, delete the object. More... | |
void | setKey (const key_type &key) |
Set object key. More... | |
![]() | |
ContainedObject ()=default | |
Constructors. More... | |
ContainedObject (const ContainedObject &) | |
Copy constructor and assignement: do NOT copy the parent reference... More... | |
ContainedObject & | operator= (const ContainedObject &) |
virtual | ~ContainedObject () |
Destructor. More... | |
Simple class that represents a vertex for testing purposes
Definition at line 36 of file MyVertex.h.
MyVertex::MyVertex | ( | ) |
Standard constructor.
Definition at line 70 of file legacy_examples.cpp.
MyVertex::MyVertex | ( | float | x, |
float | y, | ||
float | z | ||
) |
|
override |
Standard Destructor.
Definition at line 76 of file legacy_examples.cpp.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 58 of file MyVertex.h.
|
inlineoverridevirtual |
Retrieve pointer to class definition structure.
Reimplemented from ContainedObject.
Definition at line 57 of file MyVertex.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Serialize the object for writing.
Reimplemented from ContainedObject.
Definition at line 79 of file legacy_examples.cpp.
|
inlineoverridevirtual |
Serialize the object for reading.
Reimplemented from ContainedObject.
Definition at line 90 of file legacy_examples.cpp.
|
inline |
|
inline |
|
inline |
Accessors: Update x-component of the track momentum.
Definition at line 66 of file MyVertex.h.
|
inline |
Accessors: Update y-component of the track momentum.
Definition at line 68 of file MyVertex.h.
|
inline |
Accessors: Update z-component of the track momentum.
Definition at line 70 of file MyVertex.h.
|
inline |
|
inline |
|
inline |
|
protected |
Vector of collisions this object belongs to.
Definition at line 47 of file MyVertex.h.
|
protected |
Links to all daughter particles.
Definition at line 45 of file MyVertex.h.
Link to Top level event.
Definition at line 41 of file MyVertex.h.
Link to mother track.
Definition at line 43 of file MyVertex.h.
|
protected |
The vertex location.
Definition at line 39 of file MyVertex.h.
|
protected |
Definition at line 39 of file MyVertex.h.
|
protected |
Definition at line 39 of file MyVertex.h.