#include </builds/gaudi/Gaudi/GaudiTestSuite/include/GaudiTestSuite/MyTrack.h>
Definition at line 39 of file MyTrack.h.
◆ ConstVector
the type of vector of const-pointers
Definition at line 53 of file MyTrack.h.
◆ Container
the actual type of container in TES
Definition at line 61 of file MyTrack.h.
◆ Selection
the type of selection
Definition at line 55 of file MyTrack.h.
◆ Vector
the type of plain vector
Definition at line 51 of file MyTrack.h.
◆ MyTrack() [1/3]
Standard constructor.
Definition at line 27 of file MyTrack.cpp.
28
29
30
31 track_instances.count++;
32}
float m_px
The track momentum.
◆ MyTrack() [2/3]
| MyTrack::MyTrack |
( |
float | x, |
|
|
float | y, |
|
|
float | z ) |
Standard constructor.
Definition at line 35 of file MyTrack.cpp.
36
37
38
39 track_instances.count++;
40}
◆ MyTrack() [3/3]
| MyTrack::MyTrack |
( |
const MyTrack & | t | ) |
|
Definition at line 42 of file MyTrack.cpp.
43 track_instances.count++;
44}
◆ ~MyTrack()
Standard Destructor.
Definition at line 47 of file MyTrack.cpp.
47{ track_instances.count--; }
◆ addDecayVertex()
| void Gaudi::TestSuite::MyTrack::addDecayVertex |
( |
MyVertex * | vtx | ) |
|
|
inline |
Add decay vertex.
Definition at line 147 of file MyTrack.h.
SmartRefVector< MyVertex > m_decayVertices
Links to all decay vertices.
◆ classID()
| const CLID & Gaudi::TestSuite::MyTrack::classID |
( |
| ) |
|
|
inlinestatic |
Definition at line 84 of file MyTrack.h.
84{ return CLID_MyTrack; }
◆ clID()
| const CLID & Gaudi::TestSuite::MyTrack::clID |
( |
| ) |
const |
|
inlineoverridevirtual |
Retrieve pointer to class definition structure.
Reimplemented from ContainedObject.
Definition at line 83 of file MyTrack.h.
static const CLID & classID()
◆ decayVertices()
Access to decay vertices.
Definition at line 144 of file MyTrack.h.
◆ event()
| const Event * Gaudi::TestSuite::MyTrack::event |
( |
| ) |
const |
|
inline |
Access to the source track object (constant case).
Definition at line 99 of file MyTrack.h.
SmartRef< Event > m_event
Link to Top level event.
◆ originVertex()
| const MyVertex * Gaudi::TestSuite::MyTrack::originVertex |
( |
| ) |
const |
|
inline |
Origin vertex.
Definition at line 138 of file MyTrack.h.
SmartRef< MyVertex > m_originVertex
Link to origin vertex.
◆ px()
| float Gaudi::TestSuite::MyTrack::px |
( |
| ) |
const |
|
inline |
Accessors: Retrieve x-component of the track momentum.
Definition at line 86 of file MyTrack.h.
◆ py()
| float Gaudi::TestSuite::MyTrack::py |
( |
| ) |
const |
|
inline |
Accessors: Retrieve y-component of the track momentum.
Definition at line 88 of file MyTrack.h.
◆ pz()
| float Gaudi::TestSuite::MyTrack::pz |
( |
| ) |
const |
|
inline |
Accessors: Retrieve z-component of the track momentum.
Definition at line 90 of file MyTrack.h.
◆ removeDecayVertex()
| void Gaudi::TestSuite::MyTrack::removeDecayVertex |
( |
MyVertex * | vtx | ) |
|
|
inline |
Remove decay vertex.
Definition at line 150 of file MyTrack.h.
150 {
151 SmartRefVector<MyVertex>::iterator i;
153 if ( i->target() == vtx ) {
155 return;
156 }
157 }
158 }
◆ serialize() [1/2]
Serialize the object for writing.
Reimplemented from KeyedObject< int >.
Definition at line 161 of file MyTrack.h.
161 {
162#ifdef __PLAIN_GAUDI
164#else
166#endif
168 }
virtual StreamBuffer & serialize(StreamBuffer &s) const
Serialize the object for writing.
StreamBuffer & serialize(StreamBuffer &s) const override
Serialize the object for writing.
◆ serialize() [2/2]
Serialize the object for reading.
Reimplemented from ContainedObject.
Definition at line 171 of file MyTrack.h.
171 {
172#ifdef __PLAIN_GAUDI
174#else
176#endif
178 }
◆ setEvent()
| void Gaudi::TestSuite::MyTrack::setEvent |
( |
Event * | evt | ) |
|
|
inline |
Access to event object.
Definition at line 101 of file MyTrack.h.
◆ setOriginVertex()
| void Gaudi::TestSuite::MyTrack::setOriginVertex |
( |
MyVertex * | origin | ) |
|
|
inline |
Set origin vertex.
Definition at line 141 of file MyTrack.h.
◆ setPx()
| void Gaudi::TestSuite::MyTrack::setPx |
( |
float | px | ) |
|
|
inline |
Accessors: Update x-component of the track momentum.
Definition at line 92 of file MyTrack.h.
float px() const
Accessors: Retrieve x-component of the track momentum.
◆ setPy()
| void Gaudi::TestSuite::MyTrack::setPy |
( |
float | py | ) |
|
|
inline |
Accessors: Update y-component of the track momentum.
Definition at line 94 of file MyTrack.h.
float py() const
Accessors: Retrieve y-component of the track momentum.
◆ setPz()
| void Gaudi::TestSuite::MyTrack::setPz |
( |
float | pz | ) |
|
|
inline |
Accessors: Update z-component of the track momentum.
Definition at line 96 of file MyTrack.h.
float pz() const
Accessors: Retrieve z-component of the track momentum.
◆ GaudiObjectHandler< MyTrack >
◆ m_decayVertices
Links to all decay vertices.
Definition at line 72 of file MyTrack.h.
◆ m_event
Link to Top level event.
Definition at line 68 of file MyTrack.h.
◆ m_originVertex
Link to origin vertex.
Definition at line 70 of file MyTrack.h.
◆ m_px
| float Gaudi::TestSuite::MyTrack::m_px |
|
protected |
The track momentum.
Definition at line 66 of file MyTrack.h.
◆ m_py
| float Gaudi::TestSuite::MyTrack::m_py |
|
protected |
◆ m_pz
| float Gaudi::TestSuite::MyTrack::m_pz |
|
protected |
The documentation for this class was generated from the following files: