![]() |
The Gaudi Framework
v36r9 (fd2bdac3)
|
#include </builds/gaudi/Gaudi/GaudiExamples/include/GaudiExamples/MyTrack.h>


Public Types | |
| typedef std::vector< MyTrack * > | Vector |
| the type of plain vector More... | |
| typedef std::vector< const MyTrack * > | ConstVector |
| the type of vector of const-pointers More... | |
| typedef SharedObjectsContainer< MyTrack > | Selection |
| the type of selection More... | |
| typedef KeyedContainer< MyTrack, Containers::HashMap > | Container |
| the actual type of container in TES More... | |
Public Types inherited from KeyedObject< int > | |
| typedef int | key_type |
| Definition of the key-type to access object. More... | |
Public Member Functions | |
| MyTrack () | |
| Standard constructor. More... | |
| MyTrack (float x, float y, float z) | |
| Standard constructor. More... | |
| MyTrack (const MyTrack &t) | |
| ~MyTrack () override | |
| Standard Destructor. More... | |
| const CLID & | clID () const override |
| Retrieve pointer to class definition structure. More... | |
| float | px () const |
| Accessors: Retrieve x-component of the track momentum. More... | |
| float | py () const |
| Accessors: Retrieve y-component of the track momentum. More... | |
| float | pz () const |
| Accessors: Retrieve z-component of the track momentum. More... | |
| void | setPx (float px) |
| Accessors: Update x-component of the track momentum. More... | |
| void | setPy (float py) |
| Accessors: Update y-component of the track momentum. More... | |
| void | setPz (float pz) |
| 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 MyVertex * | originVertex () const |
| Origin vertex. More... | |
| void | setOriginVertex (MyVertex *origin) |
| Set origin vertex. More... | |
| const SmartRefVector< MyVertex > & | decayVertices () const |
| Access to decay vertices. More... | |
| void | addDecayVertex (MyVertex *vtx) |
| Add decay vertex. More... | |
| void | removeDecayVertex (MyVertex *vtx) |
| Remove decay vertex. More... | |
| StreamBuffer & | serialize (StreamBuffer &s) const override |
| Serialize the object for writing. More... | |
| StreamBuffer & | serialize (StreamBuffer &s) override |
| Serialize the object for reading. More... | |
Public Member Functions inherited from KeyedObject< int > | |
| 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... | |
Public Member Functions inherited from ContainedObject | |
| 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 Public Member Functions inherited from ContainedObject | |
| static const CLID & | classID () |
Protected Attributes | |
| float | m_px |
| The track momentum. More... | |
| float | m_py |
| float | m_pz |
| SmartRef< Event > | m_event |
| Link to Top level event. More... | |
| SmartRef< MyVertex > | m_originVertex |
| Link to origin vertex. More... | |
| SmartRefVector< MyVertex > | m_decayVertices |
| Links to all decay vertices. More... | |
Protected Attributes inherited from KeyedObject< int > | |
| 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... | |
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 More... | |
Protected Member Functions inherited from KeyedObject< int > | |
| 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... | |
Protected Member Functions inherited from ContainedObject | |
| 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... | |
| typedef std::vector<const MyTrack*> Gaudi::Examples::MyTrack::ConstVector |
| 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 |
|
inlinestatic |
|
inlineoverridevirtual |
Retrieve pointer to class definition structure.
Reimplemented from ContainedObject.
Definition at line 91 of file MyTrack.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Serialize the object for writing.
Reimplemented from ContainedObject.
Definition at line 169 of file MyTrack.h.
|
inlineoverridevirtual |
Serialize the object for reading.
Reimplemented from ContainedObject.
Definition at line 179 of file MyTrack.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
protected |
|
protected |