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
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
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
38 int PN = 2; // e.g. DaugAng2="xxx", set PN=2; DaugAng0="xxx", set PN=0;
39 return PN;
40}
41
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}
const char * setFileName()
Definition UserBody3.cc:11
int * setDaugPair()
Definition UserBody3.cc:42
const char * setDaugAng(int i)
Definition UserBody3.cc:23
int setDaugAngNo()
Definition UserBody3.cc:37
const char * setHpoint()
Definition UserBody3.cc:17