]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TEvtGen/EvtGenModels/EvtGenericDalitz.hh
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtGenericDalitz.hh
... / ...
CommitLineData
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/EvtGenericDalitz.hh
12//
13// Description: Model to describe a generic dalitz decay
14//
15// Modification history:
16//
17// DCC 16 December, 2011 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTGENERICDALITZ_HH
22#define EVTGENERICDALITZ_HH
23
24#include "EvtGenBase/EvtDecayAmp.hh"
25#include "EvtGenBase/EvtFlatte.hh"
26#include "EvtGenBase/EvtDalitzReso.hh"
27#include <string>
28#include <vector>
29
30class EvtParticle;
31
32class EvtGenericDalitz:public EvtDecayAmp {
33
34public:
35
36 EvtGenericDalitz() {}
37 virtual ~EvtGenericDalitz() {}
38
39 std::string getName();
40 EvtDecayBase* clone();
41
42 void init();
43 void initProbMax() {};//prob max will be set in init
44
45 void decay(EvtParticle *p);
46
47 std::string getParamName(int i);
48
49private:
50
51 int _d1,_d2,_d3;
52 std::vector<std::pair<EvtComplex,EvtDalitzReso> > _resonances;
53};
54
55#endif