StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtDMix.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
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.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
10 //
11 // Module: EvtGen/EvtPhsp.hh
12 //
13 // Description:
14 //Class to handle generic phase space decays not done
15 //in other decay models.
16 //
17 // Modification history:
18 //
19 // DJL/RYD August 11, 1998 Module created
20 //
21 //------------------------------------------------------------------------
22 
23 #ifndef EVTDMIX_HH
24 #define EVTDMIX_HH
25 
26 #include "EvtGenBase/EvtDecayIncoherent.hh"
27 
28 class EvtParticle;
29 
31 
32 public:
33 
34  EvtDMix() {}
35  virtual ~EvtDMix();
36 
37  std::string getName();
38 
39  EvtDecayBase* clone();
40 
41  void initProbMax();
42 
43  void init();
44 
45  void decay(EvtParticle *p);
46 
47 private:
48  double _rd;
49  double _xpr;
50  double _ypr;
51 
52 };
53 
54 #endif
55