Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenModels / EvtHelAmp.hh
CommitLineData
da0e9ce3 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
28class EvtParticle;
29class EvtEvalHelAmp;
30
31class EvtHelAmp:public EvtDecayAmp{
32
33public:
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
47private:
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