/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtDecayProb.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/EvtDecayProb.hh
00012 //
00013 // Description:
00014 //
00015 // Modification history:
00016 //
00017 //    DJL/RYD     August 11, 1998         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EvtDecayProb_HH
00022 #define EvtDecayProb_HH
00023 
00024 #include "EvtGenBase/EvtDecayBase.hh"
00025 
00026 class EvtParticle;
00027 
00028 class EvtDecayProb : public EvtDecayBase{
00029 
00030 public:
00031 
00032   void makeDecay(EvtParticle* p);
00033 
00034   void setProb(double prob) { _prob=prob;}
00035   double getProb() { return _prob;}
00036   inline void setWeight(double weight) {_weight=weight;}
00037 
00038   virtual ~EvtDecayProb() {}
00039 
00040 
00041 private:
00042 
00043   double _prob;
00044   double _weight;
00045   
00046 };
00047 
00048 
00049 
00050 #endif
00051 
00052 
00053 
00054 

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