![]() |
The Gaudi Framework
master (1304469f)
|
#include </builds/gaudi/Gaudi/GaudiTestSuite/include/GaudiTestSuite/MyTrack.h>


Public Types | |
| typedef std::vector< MyTrack * > | Vector |
| the type of plain vector | |
| typedef std::vector< const MyTrack * > | ConstVector |
| the type of vector of const-pointers | |
| typedef SharedObjectsContainer< MyTrack > | Selection |
| the type of selection | |
| typedef KeyedContainer< MyTrack, Containers::HashMap > | Container |
| the actual type of container in TES | |
Public Types inherited from KeyedObject< int > | |
| typedef int | key_type |
| Definition of the key-type to access object. | |
Public Member Functions | |
| MyTrack () | |
| Standard constructor. | |
| MyTrack (float x, float y, float z) | |
| Standard constructor. | |
| MyTrack (const MyTrack &t) | |
| ~MyTrack () override | |
| Standard Destructor. | |
| const CLID & | clID () const override |
| Retrieve pointer to class definition structure. | |
| float | px () const |
| Accessors: Retrieve x-component of the track momentum. | |
| float | py () const |
| Accessors: Retrieve y-component of the track momentum. | |
| float | pz () const |
| Accessors: Retrieve z-component of the track momentum. | |
| void | setPx (float px) |
| Accessors: Update x-component of the track momentum. | |
| void | setPy (float py) |
| Accessors: Update y-component of the track momentum. | |
| void | setPz (float pz) |
| Accessors: Update z-component of the track momentum. | |
| const Event * | event () const |
| Access to the source track object (constant case) | |
| void | setEvent (Event *evt) |
| Access to event object. | |
| const MyVertex * | originVertex () const |
| Origin vertex. | |
| void | setOriginVertex (MyVertex *origin) |
| Set origin vertex. | |
| const SmartRefVector< MyVertex > & | decayVertices () const |
| Access to decay vertices. | |
| void | addDecayVertex (MyVertex *vtx) |
| Add decay vertex. | |
| void | removeDecayVertex (MyVertex *vtx) |
| Remove decay vertex. | |
| StreamBuffer & | serialize (StreamBuffer &s) const override |
| Serialize the object for writing. | |
| StreamBuffer & | serialize (StreamBuffer &s) override |
| Serialize the object for reading. | |
Public Member Functions inherited from KeyedObject< int > | |
| KeyedObject ()=default | |
| Standard Constructor. The object key is preset to the invalid value. | |
| KeyedObject (const key_type &kval) | |
| Standard Constructor accepting the object's key. | |
| ~KeyedObject () override | |
| Standard destructor. | |
| const key_type & | key () const |
| Retrieve Key of the object. | |
| bool | hasKey () const |
| Check if the object has a key assigned or not. | |
| long | index () const override |
| Distance in the parent container. | |
Public Member Functions inherited from ContainedObject | |
| const ObjectContainerBase * | parent () const |
| Access to parent object. | |
| void | setParent (ObjectContainerBase *value) |
| Update parent member. | |
| virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the output stream (ASCII) | |
Static Public Member Functions | |
| static const CLID & | classID () |
Static Public Member Functions inherited from ContainedObject | |
| static const CLID & | classID () |
Protected Attributes | |
| float | m_px |
| The track momentum. | |
| float | m_py |
| float | m_pz |
| SmartRef< Event > | m_event |
| Link to Top level event. | |
| SmartRef< MyVertex > | m_originVertex |
| Link to origin vertex. | |
| SmartRefVector< MyVertex > | m_decayVertices |
| Links to all decay vertices. | |
Protected Attributes inherited from KeyedObject< int > | |
| key_type | m_key |
| Object Key. | |
| long | m_refCount |
| Reference counter. | |
| bool | m_hasKey |
| Boolean to indicate wether a key was already assigned. | |
Friends | |
| class | GaudiObjectHandler< MyTrack > |
Additional Inherited Members | |
Protected Types inherited from KeyedObject< int > | |
| typedef Containers::key_traits< key_type > | traits |
| definition of the container key traits to be made friend | |
Protected Member Functions inherited from KeyedObject< int > | |
| unsigned long | addRef () |
| Add reference to object (Increase reference counter). | |
| unsigned long | release () |
| Release reference. If the reference count is ZERO, delete the object. | |
| void | setKey (const key_type &key) |
| Set object key. | |
Protected Member Functions inherited from ContainedObject | |
| ContainedObject ()=default | |
| Constructors. | |
| ContainedObject (const ContainedObject &) | |
| Copy constructor and assignement: do NOT copy the parent reference... | |
| ContainedObject & | operator= (const ContainedObject &) |
| virtual | ~ContainedObject () |
| Destructor. | |
| typedef std::vector<const MyTrack*> Gaudi::TestSuite::MyTrack::ConstVector |
| typedef std::vector<MyTrack*> Gaudi::TestSuite::MyTrack::Vector |
| MyTrack::MyTrack | ( | ) |
Standard constructor.
Definition at line 27 of file MyTrack.cpp.
| MyTrack::MyTrack | ( | float | x, |
| float | y, | ||
| float | z ) |
Standard constructor.
Definition at line 35 of file MyTrack.cpp.
| MyTrack::MyTrack | ( | const MyTrack & | t | ) |
Definition at line 42 of file MyTrack.cpp.
|
override |
|
inline |
Add decay vertex.
Definition at line 147 of file MyTrack.h.
|
inlinestatic |
|
inlineoverridevirtual |
Retrieve pointer to class definition structure.
Reimplemented from ContainedObject.
Definition at line 83 of file MyTrack.h.
|
inline |
|
inline |
Access to the source track object (constant case)
Definition at line 99 of file MyTrack.h.
|
inline |
Origin vertex.
Definition at line 138 of file MyTrack.h.
|
inline |
|
inline |
|
inline |
|
inline |
Remove decay vertex.
Definition at line 150 of file MyTrack.h.
|
inlineoverridevirtual |
Serialize the object for writing.
Reimplemented from KeyedObject< int >.
Definition at line 161 of file MyTrack.h.
|
inlineoverridevirtual |
Serialize the object for reading.
Reimplemented from KeyedObject< int >.
Definition at line 171 of file MyTrack.h.
|
inline |
|
inline |
|
inline |
Accessors: Update x-component of the track momentum.
Definition at line 92 of file MyTrack.h.
|
inline |
Accessors: Update y-component of the track momentum.
Definition at line 94 of file MyTrack.h.
|
inline |
Accessors: Update z-component of the track momentum.
Definition at line 96 of file MyTrack.h.
|
friend |
|
protected |
|
protected |