]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenModels/EvtHelAmp.hh
use eta-phi cuts instead of R-z cuts for track matching, add track momentum cut ...
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtHelAmp.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/EvtHelAmp.hh
12 //
13 // Description:Decay model for implementation of generic 2 body
14 //             decay specified by the helicity amplitudes
15 //
16 // Modification history:
17 //
18 //    RYD      March 14, 1999         Module created
19 //
20 //------------------------------------------------------------------------
21
22 #ifndef EVTHELAMP_HH
23 #define EVTHELAMP_HH
24
25 #include "EvtGenBase/EvtDecayAmp.hh"
26 #include "EvtGenBase/EvtId.hh"
27
28 class EvtParticle;
29 class EvtEvalHelAmp;
30
31 class EvtHelAmp:public  EvtDecayAmp{
32
33 public:
34
35   EvtHelAmp(): _evalHelAmp(0) {}
36   virtual ~EvtHelAmp();
37
38   std::string getName();
39   EvtDecayBase* clone();
40
41   void init();
42   void initProbMax();
43
44   void decay(EvtParticle *p); 
45
46
47 private:
48
49   void fillHelicity(int* lambda2,int n,int J2, EvtId id);
50
51   EvtEvalHelAmp* _evalHelAmp;
52
53 };
54
55 #endif
56
57
58
59
60
61