BOSS
7.1.0
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
McTrajectory.cxx
Go to the documentation of this file.
1
#include <iostream>
2
#include <math.h>
3
#include "
McTruth/McTrajectory.h
"
4
5
namespace
Event
{
6
7
/// Retrieve pointer to McParticle (const or non-const)
8
const
McParticle
*
McTrajectory::getMcParticle
()
const
{
9
return
m_mcParticle;
10
}
11
McParticle
*
McTrajectory::getMcParticle
() {
12
return
m_mcParticle;
13
}
14
15
/// Update pointer to McParticle (by a C++ pointer or a smart reference)
16
void
McTrajectory::setMcParticle
(
McParticle
* value ){
17
m_mcParticle = value;
18
}
19
20
void
McTrajectory::setMcParticle
( SmartRef<McParticle> value ) {
21
m_mcParticle = value;
22
}
23
24
void
McTrajectory::addPoints
(std::vector<Hep3Vector>& points) {
25
m_points = points;
26
}
27
28
}
McTrajectory.h
Event::McParticle
Definition:
McParticle.h:28
Event::McTrajectory::getMcParticle
const McParticle * getMcParticle() const
Get the pointer to the McParticle.
Definition:
McTrajectory.cxx:8
Event::McTrajectory::setMcParticle
void setMcParticle(SmartRef< McParticle > value)
Set the pointer to the McParticle.
Definition:
McTrajectory.cxx:20
Event::McTrajectory::addPoints
void addPoints(std::vector< Hep3Vector > &points)
Add the 3d points to the trajectory.
Definition:
McTrajectory.cxx:24
Event
Definition:
Event.h:21
source
Event
McTruth
McTruth-00-03-00
src
McTrajectory.cxx
Generated by
1.9.6