]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenModels/EvtDDalitz.hh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtDDalitz.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/EvtDDalitz.hh
12 //
13 // Description:
14 //
15 // Modification history:
16 //
17 //    DJL/RYD     August 11, 1998         Module created
18 //
19 //------------------------------------------------------------------------
20
21 #ifndef EVTDDALITZ_HH
22 #define EVTDDALITZ_HH
23
24 #include "EvtGenBase/EvtDecayAmp.hh"
25 #include "EvtGenBase/EvtFlatte.hh"
26 #include <vector>
27
28 class EvtParticle;
29
30 class EvtDDalitz:public  EvtDecayAmp  {
31
32 public:
33
34   EvtDDalitz() {}
35   virtual ~EvtDDalitz();
36
37   std::string getName();
38   EvtDecayBase* clone();
39
40   void init();
41   void initProbMax();
42
43   void decay(EvtParticle *p); 
44
45 private:
46
47   int _d1,_d2,_d3,_flag;
48
49   EvtComplex amplDtoK0PiPi(EvtVector4R p4_p,  EvtVector4R moms1, 
50                            EvtVector4R moms2, EvtVector4R moms3);
51   EvtComplex amplDtoK0KK(EvtVector4R p4_p,  EvtVector4R moms1, 
52                          EvtVector4R moms2, EvtVector4R moms3);
53   
54   vector<EvtFlatteParam> _kkpi_params;
55
56 };
57
58 #endif