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 00012 // 00013 // Description: Routine to decay a particle into three bodies using the Dalitz plots and two particle 00014 // angular distributions. 00015 // 00016 // Modification history: 00017 // 00018 // Ping R.-G. Mar, 2007 Module created 00019 // 00020 //------------------------------------------------------------------------ 00021 #ifndef EVTBODY3_HH 00022 #define EVTBODY3_HH 00023 00024 #include "EvtGenBase/EvtDecayIncoherent.hh" 00025 00026 class EvtParticle; 00027 00028 class EvtBody3:public EvtDecayIncoherent { 00029 00030 public: 00031 00032 EvtBody3() {} 00033 virtual ~EvtBody3(); 00034 00035 void getName(std::string& name); 00036 00037 EvtDecayBase* clone(); 00038 00039 void initProbMax(); 00040 00041 void init(); 00042 00043 void decay(EvtParticle *p); 00044 00045 const char* setFileName(); //Defined by user to specify the root file name 00046 const char* setHpoint(); //Defined by user to specify the histor. id 00047 const char* setDaugAng(int i); //Defined by user to specify the daughter angular distr. 00048 int setDaugAngNo(); 00049 00050 int* setDaugPair(); //Defined by user for specify the histo. point 00051 00052 00053 }; 00054 00055 #endif 00056