1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtPartWave.hh
13 // Description:Decay model for implementation of generic 2 body
14 // decay specified by the partial waves amplitudes
16 // Modification history:
18 // RYD September 7, 1999 Module created
20 //------------------------------------------------------------------------
22 #ifndef EVTPARTWAVE_HH
23 #define EVTPARTWAVE_HH
25 #include "EvtGenBase/EvtDecayAmp.hh"
26 #include "EvtGenBase/EvtId.hh"
31 class EvtPartWave:public EvtDecayAmp{
35 EvtPartWave() : _evalHelAmp(0) {}
36 virtual ~EvtPartWave();
38 std::string getName();
39 EvtDecayBase* clone();
44 void decay(EvtParticle *p);
49 void fillHelicity(int* lambda2,int n,int J2);
51 EvtEvalHelAmp* _evalHelAmp;