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

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of models developed at BES collaboration
00005 //      based on the EvtGen framework.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/BesCopyright
00009 //      Copyright (A) 2006      Ping Rong-Gang @IHEP
00010 //
00011 // Module: EvtBody3.cc  //Modified Body3 model
00012 //
00013 // usage:
00014 // Users need to provide the MC and data file in NTuple style. The decays are described as
00015 //                        A->  x1    +   x2     +  x3
00016 //angular distribution:    costheta1, costheta2 ,costheta3
00017 // mass distribution:          m12, m13, and m23, here, m12 ==> mass of x1 and x2, etc.
00018 // these variables are defined as double type, the tree name is mc and data, repectively
00019 // Modification history:
00020 //
00021 //    Ping R.-G.       Aug., 2010       Module created
00022 //
00023 //------------------------------------------------------------------------
00024 
00025 #include "TH1.h"
00026 #include "TAxis.h"
00027 #include "TH2.h"
00028 #include "TH3.h"
00029 #include "TFile.h"
00030 #include "TApplication.h"
00031 #include "TROOT.h"
00032 
00033 #include "EvtGenModels/EvtMBody3.hh"
00034 
00035 
00037 const char*  EvtMBody3::setFileName(int i ){
00038   const char* datafile;
00039   const char* mcfile;
00040 // --- user to specify the name of the NTuple for data (datafile ) and MC
00041 
00042   datafile="./body3data.root";  //specify the data root file  name
00043   mcfile  ="./body3mc.root";    //specify the mc root fine name using for eff. correction
00044 
00045 //--------- don't touch follows
00046   if(i==1){return datafile;} else if(i==2){return mcfile;}
00047 }
00048 

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