/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/user/UserBody3.cc

Go to the documentation of this file.
00001 #include "TH1.h"
00002 #include "TAxis.h"
00003 #include "TH2.h"
00004 #include "TFile.h"
00005 #include "TApplication.h"
00006 #include "TROOT.h"
00007 
00008 #include "EvtGenModels/EvtBody3.hh"
00009 
00011 const char*  EvtBody3::setFileName(){
00012   const char* filename;
00013   filename="./diy.root";  //specify the root histor. name
00014   return filename;
00015 }
00016 
00017 const char*  EvtBody3::setHpoint(){
00018   const char* hpoint;
00019   hpoint="hdalitz";    //specify the histor. id
00020   return hpoint;
00021 }
00022 
00023 const char* EvtBody3::setDaugAng(int i){
00024 
00025 const char*  DaugAng0="costhetag";  //Daugher numbering defined at DEC file
00026 const char*  DaugAng1="costhetav";
00027 const char*  DaugAng2="xxx";  //not use, then set PN=2 in setDaugAngNo();
00028   if(i==0)  return DaugAng0;
00029   if(i==1)  return DaugAng1;
00030   if(i==2)  return DaugAng2;
00031 }
00032 
00033 int EvtBody3::setDaugAngNo(){
00034  int PN=2;  //e.g. DaugAng2="xxx", set PN=2;  DaugAng0="xxx", set PN=0;
00035  return PN;
00036 }
00037  
00038 int* EvtBody3::setDaugPair(){
00039   static int DP[4];
00040   DP[0]=0;  // 0,1,2,... indexes for daughter particles
00041   DP[1]=2;
00042   DP[2]=1;
00043   DP[3]=2;
00044   return DP;
00045 }
00046 
00047 

Generated on Tue Nov 29 23:12:25 2016 for BOSS_7.0.2 by  doxygen 1.4.7