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

Go to the documentation of this file.
00001 #ifndef __EVTMRES_HH__
00002 #define __EVTMRES_HH__
00003 
00004 #include "EvtGenBase/EvtMNode.hh"
00005 
00006 class EvtMRes;
00007 
00008 class EvtMLineShape {
00009 
00010     public:
00011 
00012         virtual ~EvtMLineShape() {};
00013 
00014         void setres( EvtMRes * n ) { _node = n; }
00015         virtual EvtComplex shape( const vector<EvtVector4R>& product ) const=0;
00016         
00017         virtual EvtMLineShape * duplicate() const=0;
00018 
00019     protected:
00020 
00021         EvtMRes * _node;
00022 };
00023 
00024 class EvtMRes : public EvtMNode {
00025     
00026     public:
00027 
00028         EvtMRes(){}
00029         virtual ~EvtMRes(){}
00030 
00031         int getnchild() const { return _children.size(); }
00032 
00033         virtual EvtComplex line( const vector<EvtVector4R>& product ) const 
00034         { return _lineshape->shape( product ); }
00035 
00036     protected:
00037 
00038         // store the child nodes
00039         vector<EvtMNode *> _children;
00040 
00041         // store the parametrization amplitudes in some kind 
00042         EvtSpinAmp _amp;
00043 
00044         // store the lineshape of the resonance
00045         EvtMLineShape * _lineshape;
00046 
00047 };
00048 
00049 #endif

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