#include <EvtDecayMode.hh>
◆ EvtDecayMode() [1/6]
EvtDecayMode::EvtDecayMode |
( |
const char * |
decay | ) |
|
Definition at line 60 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtDecayMode.cc.
61{
62
63
64
66 size_t i,j;
67
68
69
70 i =
s.find_first_not_of(
" ");
71 j =
s.find_first_of(
" ",i);
72
73 if(i == string::npos) {
74
75 report(
INFO,
"EvtGen") <<
"No non-space character found" << endl;
76 assert(0);
77 }
78
79 if(j == string::npos) {
80
81 report(
INFO,
"EvtGen") <<
"No space before -> found" << endl;
82 assert(0);
83 }
84
85 _mother = string(
s,i,j-i);
86
87 i =
s.find_first_not_of(
" ",j);
88 j =
s.find_first_of(
"->",j);
89 if(i != j) {
90
91 report(
INFO,
"EvtGen") <<
"Multiple mothers?" << i <<
"," << j << endl;
92 assert(0);
93 }
94 j += 2;
95
96 while(1) {
97
98 i =
s.find_first_not_of(
" ",j);
99 j =
s.find_first_of(
" ",i);
100
101 if(i == string::npos) break;
102 if(j == string::npos) {
103 _dau.push_back(
string(
s,i,
s.size()-i+1));
104 break;
105 } else {
106 _dau.push_back(
string(
s,i,j-i));
107 }
108 }
109}
ostream & report(Severity severity, const char *facility)
◆ EvtDecayMode() [2/6]
◆ EvtDecayMode() [3/6]
EvtDecayMode::EvtDecayMode |
( |
std::string |
mother, |
|
|
std::vector< std::string > |
dau |
|
) |
| |
◆ ~EvtDecayMode() [1/2]
EvtDecayMode::~EvtDecayMode |
( |
| ) |
|
◆ EvtDecayMode() [4/6]
EvtDecayMode::EvtDecayMode |
( |
const char * |
decay | ) |
|
◆ EvtDecayMode() [5/6]
◆ EvtDecayMode() [6/6]
EvtDecayMode::EvtDecayMode |
( |
std::string |
mother, |
|
|
std::vector< std::string > |
dau |
|
) |
| |
◆ ~EvtDecayMode() [2/2]
EvtDecayMode::~EvtDecayMode |
( |
| ) |
|
◆ dal() [1/2]
Definition at line 176 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtDecayMode.cc.
177{
182}
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
◆ dal() [2/2]
◆ dau() [1/2]
const char * EvtDecayMode::dau |
( |
int |
i | ) |
const |
◆ dau() [2/2]
const char * EvtDecayMode::dau |
( |
int |
i | ) |
const |
◆ m() [1/2]
◆ m() [2/2]
◆ mode() [1/2]
const char * EvtDecayMode::mode |
( |
| ) |
const |
◆ mode() [2/2]
const char * EvtDecayMode::mode |
( |
| ) |
const |
◆ mother() [1/2]
const char * EvtDecayMode::mother |
( |
| ) |
const |
◆ mother() [2/2]
const char * EvtDecayMode::mother |
( |
| ) |
const |
◆ nD() [1/2]
int EvtDecayMode::nD |
( |
| ) |
const |
◆ nD() [2/2]
int EvtDecayMode::nD |
( |
| ) |
const |
◆ print() [1/2]
std::ostream & EvtDecayMode::print |
( |
std::ostream & |
| ) |
const |
◆ print() [2/2]
std::ostream & EvtDecayMode::print |
( |
std::ostream & |
| ) |
const |
◆ q() [1/2]
◆ q() [2/2]
The documentation for this class was generated from the following files: