1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtDecayProb.hh
15 // Modification history:
17 // DJL/RYD August 11, 1998 Module created
19 //------------------------------------------------------------------------
21 #ifndef EvtDecayProb_HH
22 #define EvtDecayProb_HH
24 #include "EvtGenBase/EvtDecayBase.hh"
28 class EvtDecayProb : public EvtDecayBase{
32 void makeDecay(EvtParticle* p, bool recursive=true);
34 void setProb(double prob) { _prob=prob;}
35 double getProb() { return _prob;}
36 inline void setWeight(double weight) {_weight=weight;}
38 virtual ~EvtDecayProb() {}