/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtDecayAmp.hh

Go to the documentation of this file.
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/EvtDecayAmp.hh
00012 //
00013 // Description:
00014 //
00015 // Modification history:
00016 //
00017 //    DJL/RYD     August 11, 1998         Module created
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

Generated on Tue Nov 29 23:12:12 2016 for BOSS_7.0.2 by  doxygen 1.4.7