/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtParticleDecay.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/EvtParticleDecay.hh
00012 //
00013 // Description:
00014 //
00015 // Modification history:
00016 //
00017 //    DJL/RYD     August 11, 1998         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTPARTICLEDECAY_HH
00022 #define EVTPARTICLEDECAY_HH
00023 
00024 #include "EvtGenBase/EvtDecayBase.hh"
00025 
00026 
00027 class EvtParticleDecay{
00028 
00029 public:
00030 
00031   EvtParticleDecay(){
00032     _decay=0;
00033     _brfrsum=0.0;
00034     _massmin=0.0;
00035   }
00036 
00037   ~EvtParticleDecay(){
00038 
00039     if (_decay!=0) delete _decay;
00040 
00041   }
00042 
00043   void chargeConj(EvtParticleDecay* decay);
00044 
00045   void setDecayModel(EvtDecayBase* decay) {_decay=decay;}
00046   EvtDecayBase* getDecayModel() {return _decay;}
00047   double getBrfrSum() {return _brfrsum;}
00048   void setBrfrSum(double brfrsum) {_brfrsum=brfrsum;}
00049   double getMassMin() {return _massmin;}
00050   void setMassMin(double massmin) {_massmin=massmin;}
00051 
00052   void printSummary();
00053 
00054 private:
00055 
00056   EvtDecayBase* _decay;
00057 
00058   double _brfrsum;
00059   double _massmin;
00060 
00061 };
00062 
00063 #endif
00064 

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