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