00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EVTDECAYAMP_HH
00022 #define EVTDECAYAMP_HH
00023
00024 #include "EvtGenBase/EvtDecayBase.hh"
00025 #include "EvtGenBase/EvtAmp.hh"
00026
00027 class EvtDecayAmp : public EvtDecayBase{
00028
00029 public:
00030
00031 void makeDecay(EvtParticle* p);
00032 inline void setWeight(double weight) {_weight=weight;}
00033
00037 void vertex(const EvtComplex& amp){_amp2.vertex(amp);}
00038
00042 void vertex(int i1, const EvtComplex& amp){_amp2.vertex(i1,amp);}
00043
00047 void vertex(int i1, int i2, const EvtComplex& amp)
00048 {_amp2.vertex(i1,i2,amp);}
00049
00050
00054 void vertex(int i1, int i2, int i3, const EvtComplex& amp)
00055 {_amp2.vertex(i1,i2,i3,amp);}
00056
00060 void vertex(int *i1, const EvtComplex& amp)
00061 { _amp2.vertex(i1,amp);}
00062
00063 virtual ~EvtDecayAmp() {}
00064
00065 protected:
00066 EvtAmp _amp2;
00067
00068 private:
00069 double _weight;
00070
00071
00072 };
00073
00074
00075
00076 #endif