CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/McTruth/McTruth-00-04-10/src/DecayMode.cxx
Go to the documentation of this file.
1
#include "
McTruth/DecayMode.h
"
2
#include <iostream>
3
void
DecayMode::getData
(
int
*
data
,
unsigned
int
size) {
4
for
(
unsigned
int
index=0; index<m_size; index++) {
5
data
[index] = m_data[index];
6
}
7
}
8
9
void
DecayMode::putData
(
int
*
data
,
unsigned
int
size) {
10
assert(size);
11
for
(
unsigned
int
index=0; index<m_size; index++) {
12
m_data[index] =
data
[index];
13
}
14
}
15
16
bool
DecayMode::values_ok(
unsigned
int
size) {
17
if
(size > m_size) {
18
std::cout <<
" DecayMode:: error: size beyond the range!"
<<std::endl;
19
return
false
;
20
}
else
{
21
return
true
;
22
}
23
}
data
TTree * data
Definition
DataBase/tau_mode.c:5
DecayMode.h
DecayMode::getData
void getData(int *data, unsigned int size)
Definition
Event/McTruth/McTruth-00-04-10/src/DecayMode.cxx:3
DecayMode::putData
void putData(int *data, unsigned int size)
Definition
Event/McTruth/McTruth-00-04-10/src/DecayMode.cxx:9
6.6.5.i
Event
McTruth
McTruth-00-04-10
src
DecayMode.cxx
Generated by
1.12.0