BOSS
7.0.4
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
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
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
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
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
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
Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/src/DecayMode.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: DecayMode.cxx,v 1.1.1.1 2005/04/21 01:15:12 zhangy Exp $
4
//
5
//------------------------------------------------------------------------
6
//
7
// Moved some stuff here from DecayMode.hh to avoid nested includes
8
//
9
#include "MdcRecoUtil/DecayMode.h"
10
#include "MdcRecoUtil/PdtEntry.h"
11
12
#include <iomanip>
13
#include <vector>
14
using
std::ostream;
15
using
std::setprecision;
16
using
std::setw;
17
using
std::vector;
18
19
DecayMode::DecayMode
(
float
bf, vector<PdtEntry*> *l ) {
20
_branchingFraction
= bf;
21
_children
= l;
22
}
23
24
DecayMode::~DecayMode
() {
25
if
(
_children
) {
26
//need to destroy also -4602
27
vector<PdtEntry*>::iterator
iter
=
_children
->begin();
28
while
(
iter
!=
_children
->end() ) {
delete
*
iter
; ++
iter
; }
29
_children
->clear();
30
}
31
delete
_children
;
32
_children
=0;
33
}
34
35
void
36
DecayMode::printOn
(ostream& os)
const
{
37
os <<
" "
<< setw(5) << setprecision(3)
38
<<
_branchingFraction
39
<<
" ->"
;
40
int
l =
_children
->size();
41
for
(
int
i=0; i<l; i++)
42
os <<
" "
<< (*
_children
)[i]->name();
43
os <<
'\n'
;
44
}
45
iter
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)
Definition:
EvtStreamInputIterator.hh:100
DecayMode::_branchingFraction
float _branchingFraction
Definition:
InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h:40
DecayMode::DecayMode
DecayMode()
Definition:
Event/McTruth/McTruth-00-02-19/McTruth/DecayMode.h:11
DecayMode::~DecayMode
virtual ~DecayMode()
Definition:
Event/McTruth/McTruth-00-02-19/McTruth/DecayMode.h:16
DecayMode::printOn
void printOn(std::ostream &os) const
DecayMode::_children
vector< PdtEntry * > * _children
Definition:
InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h:41
source
Reconstruction
MdcPatRec
MdcRecoUtil
MdcRecoUtil-00-01-08
src
DecayMode.cxx
Generated by
1.9.6