CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
McTrajectory.cxx
Go to the documentation of this file.
1#include <iostream>
2#include <math.h>
4
5namespace Event{
6
7/// Retrieve pointer to McParticle (const or non-const)
9 return m_mcParticle;
10}
12 return m_mcParticle;
13}
14
15/// Update pointer to McParticle (by a C++ pointer or a smart reference)
17 m_mcParticle = value;
18}
19
20void McTrajectory::setMcParticle( SmartRef<McParticle> value ) {
21 m_mcParticle = value;
22}
23
24void McTrajectory::addPoints(std::vector<Hep3Vector>& points) {
25 m_points = points;
26}
27
28}
const McParticle * getMcParticle() const
Get the pointer to the McParticle.
void setMcParticle(SmartRef< McParticle > value)
Set the pointer to the McParticle.
void addPoints(std::vector< Hep3Vector > &points)
Add the 3d points to the trajectory.
Definition Event.h:21