/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtResonance.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/EvtResonance.hh
00012 //
00013 // Description:resonance-defining class
00014 //
00015 // Modification history:
00016 //
00017 //    NK     September 4, 1997         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTRESONANCE_HH
00022 #define EVTRESONANCE_HH
00023 
00024 #include "EvtGenBase/EvtVector4R.hh"
00025 
00026 class EvtComplex;
00027 
00028 
00029 //class declaration
00030 
00031 class EvtResonance {
00032   public:
00033 
00034    //operator
00035    EvtResonance& operator = (const EvtResonance &);
00036 
00037    //constructor with all information about the resonance
00038    EvtResonance(const EvtVector4R& p4_p, const EvtVector4R& p4_d1, 
00039                 const EvtVector4R& p4_d2, 
00040                 double ampl = 0.0, double theta = 0.0, double gamma = 0.0, 
00041                 double bwm = 0.0, int spin = 0);
00042 
00043     //destructor
00044    virtual ~EvtResonance();
00045 
00046    //accessors
00047       //return 4-momenta of the particles involved
00048     inline const EvtVector4R& p4_p() { return _p4_p; }
00049     inline const EvtVector4R& p4_d1() { return _p4_d1; }
00050     inline const EvtVector4R& p4_d2() { return _p4_d2; }  
00051     
00052 
00053      //return amplitude
00054     inline double amplitude() { return _ampl; }  
00055 
00056       //return theta
00057     inline double theta() { return _theta; } 
00058 
00059       //return gamma
00060     inline double gamma() { return _gamma; } 
00061 
00062       //return bwm
00063     inline double bwm() { return _bwm; } 
00064 
00065        //return spin
00066     inline int spin() { return _spin; } 
00067 
00068 //functions
00069 
00070       //calculate amplitude for this resonance
00071      EvtComplex resAmpl();
00072 
00073      //calculate relativistic Breit-Wigner amplitude for P-decays of scalars
00074      EvtComplex relBrWig(int i);
00075    
00076   private:
00077 
00078     EvtVector4R _p4_p, _p4_d1, _p4_d2;
00079     double _ampl, _theta, _gamma, _bwm;
00080     int _spin;
00081 }; 
00082 
00083 #endif
00084 

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