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
11const char* EvtBody3::setFileName(){
12 const char* filename;
13 filename="./diy.root"; //specify the root histor. name
14 return filename;
15}
16
17const char* EvtBody3::setHpoint(){
18 const char* hpoint;
19 hpoint="hdalitz"; //specify the histor. id
20 return hpoint;
21}
22
23const char* EvtBody3::setDaugAng(int i){
24
25const char* DaugAng0="costhetag"; //Daugher numbering defined at DEC file
26const char* DaugAng1="costhetav";
27const 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
34 int PN=2; //e.g. DaugAng2="xxx", set PN=2; DaugAng0="xxx", set PN=0;
35 return PN;
36}
37
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
const char * setDaugAng(int i)