/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtResonance2.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/EvtResonance2.hh
00012 //
00013 // Description:resonance-defining class
00014 //
00015 // Modification history:
00016 //
00017 //    lange   Nov 21, 2000         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTRESONANCE2_HH
00022 #define EVTRESONANCE2_HH
00023 
00024 #include "EvtGenBase/EvtVector4R.hh"
00025 
00026 class EvtComplex;
00027 
00028 
00029 //class declaration
00030 
00031 class EvtResonance2 {
00032   public:
00033 
00034    //operator
00035    EvtResonance2& operator = (const EvtResonance2 &);
00036 
00037    //constructor with all information about the resonance
00038    EvtResonance2(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, bool invmass_angdenom = false);
00042 
00043     //destructor
00044    virtual ~EvtResonance2();
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   private:
00074 
00075     EvtVector4R _p4_p, _p4_d1, _p4_d2;
00076     double _ampl, _theta, _gamma, _bwm;
00077     int _spin;
00078     bool _invmass_angdenom;
00079 
00080 }; 
00081 
00082 #endif
00083 

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