BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/user/UserBody3.cc
Go to the documentation of this file.
1
#include "TH1.h"
2
#include "TAxis.h"
3
#include "TH2.h"
4
#include "TFile.h"
5
#include "TApplication.h"
6
#include "TROOT.h"
7
8
#include "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
33
int
EvtBody3::setDaugAngNo
(){
34
int
PN=2;
//e.g. DaugAng2="xxx", set PN=2; DaugAng0="xxx", set PN=0;
35
return
PN;
36
}
37
38
int
*
EvtBody3::setDaugPair
(){
39
static
int
DP[4];
40
DP[0]=0;
// 0,1,2,... indexes for daughter particles
41
DP[1]=2;
42
DP[2]=1;
43
DP[3]=2;
44
return
DP;
45
}
46
47
EvtBody3::setFileName
const char * setFileName()
Definition:
bak-BesEvtGen-00-04-08/user/UserBody3.cc:11
EvtBody3::setDaugPair
int * setDaugPair()
Definition:
bak-BesEvtGen-00-04-08/user/UserBody3.cc:38
EvtBody3::setDaugAng
const char * setDaugAng(int i)
Definition:
bak-BesEvtGen-00-04-08/user/UserBody3.cc:23
EvtBody3::setDaugAngNo
int setDaugAngNo()
Definition:
bak-BesEvtGen-00-04-08/user/UserBody3.cc:33
EvtBody3::setHpoint
const char * setHpoint()
Definition:
bak-BesEvtGen-00-04-08/user/UserBody3.cc:17
source
Generator
BesEvtGen
BesEvtGen-00-04-08
user
UserBody3.cc
Generated by
1.9.6