00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CLEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/COPYRIGHT 00009 // Copyright (C) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtGen/EvtPartWave.hh 00012 // 00013 // Description:Decay model for implementation of generic 2 body 00014 // decay specified by the partial waves amplitudes 00015 // 00016 // Modification history: 00017 // 00018 // RYD September 7, 1999 Module created 00019 // 00020 //------------------------------------------------------------------------ 00021 00022 #ifndef EVTPARTWAVE_HH 00023 #define EVTPARTWAVE_HH 00024 00025 #include "EvtGenBase/EvtDecayAmp.hh" 00026 #include "EvtGenBase/EvtId.hh" 00027 00028 class EvtParticle; 00029 class EvtEvalHelAmp; 00030 00031 class EvtPartWave:public EvtDecayAmp{ 00032 00033 public: 00034 00035 EvtPartWave() {} 00036 virtual ~EvtPartWave(); 00037 00038 void getName(std::string& name); 00039 EvtDecayBase* clone(); 00040 00041 void init(); 00042 void initProbMax(); 00043 00044 void decay(EvtParticle *p); 00045 00046 00047 private: 00048 00049 void fillHelicity(int* lambda2,int n,int J2); 00050 00051 EvtEvalHelAmp* _evalHelAmp; 00052 00053 }; 00054 00055 #endif 00056 00057 00058 00059 00060 00061