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
EvtDecayTag.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of models developed at BES collaboration
5
// based on the EvtGen framework. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/BesCopyright
9
// Copyright (A) 2006 Ping Rong-Gang @IHEP
10
//
11
// Module: EvtDecayTag.hh
12
//
13
// Description: Class to deal with the decay tag, e.g. the decay mode and multiplicity
14
//
15
// Modification history:
16
//
17
// Ping R.-G. December, 2011-Jan Module created
18
//
19
//------------------------------------------------------------------------
20
//
21
22
#ifndef EVTDECAYTAG_HH
23
#define EVTDECAYTAG_HH
24
25
26
#include <iostream>
27
#include <math.h>
28
#include <fstream>
29
#include <stdio.h>
30
#include <stdlib.h>
31
#include <vector>
32
// #include <sys/stat.h>
33
#include "
EvtGenBase/EvtParticle.hh
"
34
#include "
EvtGenBase/EvtId.hh
"
35
#include "
EvtGenBase/EvtPDL.hh
"
36
using
std::endl;
37
using
std::fstream;
38
39
class
EvtDecayTag
40
{
41
42
public
:
43
44
// constructor
45
EvtDecayTag
(
EvtParticle
*par){
46
root_par = par;
47
_nmode.clear();
48
_multiplicity.clear();
49
for
(
int
i=0;i<10;i++){_multiplicity.push_back(0);}
50
makeTag
(root_par);
51
}
52
53
//destructor
54
virtual
~EvtDecayTag
(){}
55
56
void
makeTag
(
EvtParticle
* par);
57
int
TagIndex
(
EvtId
pid);
58
int
getModeTag
();
59
int
getMultTag
();
60
int
getHdrdBase
(
int
index);
61
62
private
:
63
64
std::vector <int> _nmode,_multiplicity;
65
EvtParticle
*root_par;
66
};
67
68
#endif
69
EvtId.hh
EvtPDL.hh
EvtParticle.hh
EvtDecayTag
Definition:
EvtDecayTag.hh:40
EvtDecayTag::EvtDecayTag
EvtDecayTag(EvtParticle *par)
Definition:
EvtDecayTag.hh:45
EvtDecayTag::getMultTag
int getMultTag()
Definition:
EvtDecayTag.cc:136
EvtDecayTag::makeTag
void makeTag(EvtParticle *par)
Definition:
EvtDecayTag.cc:29
EvtDecayTag::getHdrdBase
int getHdrdBase(int index)
Definition:
EvtDecayTag.cc:153
EvtDecayTag::~EvtDecayTag
virtual ~EvtDecayTag()
Definition:
EvtDecayTag.hh:54
EvtDecayTag::getModeTag
int getModeTag()
Definition:
EvtDecayTag.cc:102
EvtDecayTag::TagIndex
int TagIndex(EvtId pid)
Definition:
EvtDecayTag.cc:76
EvtId
Definition:
EvtId.hh:27
EvtParticle
Definition:
EvtParticle.hh:42
source
Generator
BesEvtGen
BesEvtGen-00-03-98
src
EvtGen
EvtGenBase
EvtDecayTag.hh
Generated by
1.9.6