BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
UserBody3.cc
Go to the documentation of this file.
1
#include "TApplication.h"
2
#include "TAxis.h"
3
#include "TFile.h"
4
#include "TH1.h"
5
#include "TH2.h"
6
#include "TROOT.h"
7
8
#include "
../src/EvtGen/EvtGenModels/EvtBody3.hh
"
9
10
//////////////////***** Body3 Model
11
const
char
*
EvtBody3::setFileName
() {
12
const
char
* filename;
13
filename =
"./diy.root"
;
// specify the root histor. name
14
return
filename;
15
}
16
17
const
char
*
EvtBody3::setHpoint
() {
18
const
char
* hpoint;
19
hpoint =
"hdalitz"
;
// specify the histor. id
20
return
hpoint;
21
}
22
23
const
char
*
EvtBody3::setDaugAng
(
int
i ) {
24
25
const
char
* DaugAng0 =
"costhetag"
;
// Daugher numbering defined at DEC file
26
const
char
* DaugAng1 =
"costhetav"
;
27
const
char
* DaugAng2 =
"xxx"
;
// not use, then set PN=2 in setDaugAngNo();
28
if
( i == 0 )
return
DaugAng0;
29
if
( i == 1 )
return
DaugAng1;
30
if
( i == 2 )
return
DaugAng2;
31
32
cerr << __FILE__ <<
":"
<< __LINE__ <<
": "
33
<<
"Should not reach here!"
<< endl;
34
abort();
35
}
36
37
int
EvtBody3::setDaugAngNo
() {
38
int
PN = 2;
// e.g. DaugAng2="xxx", set PN=2; DaugAng0="xxx", set PN=0;
39
return
PN;
40
}
41
42
int
*
EvtBody3::setDaugPair
() {
43
static
int
DP[4];
44
DP[0] = 0;
// 0,1,2,... indexes for daughter particles
45
DP[1] = 2;
46
DP[2] = 1;
47
DP[3] = 2;
48
return
DP;
49
}
EvtBody3.hh
EvtBody3::setFileName
const char * setFileName()
Definition
UserBody3.cc:11
EvtBody3::setDaugPair
int * setDaugPair()
Definition
UserBody3.cc:42
EvtBody3::setDaugAng
const char * setDaugAng(int i)
Definition
UserBody3.cc:23
EvtBody3::setDaugAngNo
int setDaugAngNo()
Definition
UserBody3.cc:37
EvtBody3::setHpoint
const char * setHpoint()
Definition
UserBody3.cc:17
8.0.0
BOSS_Gen
BesEvtGen
user
UserBody3.cc
Generated by
1.16.1