Go to the source code of this file.
|
void | bg (int i, double p) |
|
void | rebg (int i, double bg) |
|
◆ bg()
void bg |
( |
int |
i, |
|
|
double |
p |
|
) |
| |
Definition at line 1 of file shell/betagamma.cxx.
1 {
3 switch(i){
4 case 0:
6 cout <<
"mass " <<
mass <<
" betagamma " << p/
mass << endl;
7 break;
8 case 1:
10 cout <<
"mass " <<
mass <<
" betagamma " << p/
mass << endl;
11 break;
12 case 2:
14 cout <<
"mass " <<
mass <<
" betagamma " << p/
mass << endl;
15 break;
16 case 3:
18 cout <<
"mass " <<
mass <<
" betagamma " << p/
mass << endl;
19 break;
20 case 4:
22 cout <<
"mass " <<
mass <<
" betagamma " << p/
mass << endl;
23 break;
24 default:
25 cout << "bg(index, momentum) index:0/1/2/3/4; e/mu/pi/k/p" << endl;
26 }
27}
◆ rebg()
void rebg |
( |
int |
i, |
|
|
double |
bg |
|
) |
| |
Definition at line 30 of file shell/betagamma.cxx.
30 {
32 switch(i){
33 case 0:
35 cout <<
"mass " <<
mass <<
" momentum " <<
bg*
mass << endl;
36 break;
37 case 1:
39 cout <<
"mass " <<
mass <<
" momentum " <<
bg*
mass << endl;
40 break;
41 case 2:
43 cout <<
"mass " <<
mass <<
" momentum " <<
bg*
mass << endl;
44 break;
45 case 3:
47 cout <<
"mass " <<
mass <<
" momentum " <<
bg*
mass << endl;
48 break;
49 case 4:
51 cout <<
"mass " <<
mass <<
" momentum " <<
bg*
mass << endl;
52 break;
53 default:
54 cout << "bg(index, betagamma) index:0/1/2/3/4; e/mu/pi/k/p" << endl;
55 }
56}
Referenced by banch_rebg().