]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenBase/EvtNonresonantAmp.hh
AliDecayer realisation for the EvtGen code and EvtGen itself.
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtNonresonantAmp.hh
1 /*******************************************************************************
2  * Project: BaBar detector at the SLAC PEP-II B-factory
3  * Package: EvtGenBase
4  *  Author: Denis Dujmic, ddujmic@slac.stanford.edu
5  *
6  * Copyright (C) 2005 SLAC
7  *******************************************************************************/
8
9 #ifndef EVT_NONRESONANT_AMP_HH
10 #define EVT_NONRESONANT_AMP_HH
11
12 #include "EvtGenBase/EvtCyclic3.hh"
13 #include "EvtGenBase/EvtDalitzPoint.hh"
14 #include "EvtGenBase/EvtDalitzPlot.hh"
15 #include "EvtGenBase/EvtPto3PAmp.hh"
16 #include "EvtGenBase/EvtAmplitude.hh"
17 #include "EvtGenBase/EvtSpinType.hh"
18
19 class EvtComplex;
20
21
22
23 class EvtNonresonantAmp : public EvtAmplitude<EvtDalitzPoint> {
24   
25 public:
26
27   EvtNonresonantAmp( EvtDalitzPlot *dp, 
28                      EvtPto3PAmp::NumType type, 
29                      EvtCyclic3::Pair pair1,                double par1=0, 
30                      EvtCyclic3::Pair pair2=EvtCyclic3::AB, double par2=0,
31                      EvtSpinType::spintype spin=EvtSpinType::SCALAR);
32   
33
34   EvtNonresonantAmp(const EvtNonresonantAmp& other);
35
36   ~EvtNonresonantAmp();
37
38   virtual EvtComplex amplitude(const EvtDalitzPoint& p) const;
39
40   virtual EvtAmplitude<EvtDalitzPoint>* clone() const
41   { return new EvtNonresonantAmp(*this); }
42   
43 private:
44
45   EvtDalitzPlot *_dalitzSpace;
46
47   EvtPto3PAmp::NumType  _type;
48
49   EvtCyclic3::Pair      _pair1, _pair2;   
50
51   double _par1, _par2;
52   
53   EvtSpinType::spintype _spin;
54 };
55
56 #endif
57
58
59
60
61
62
63
64