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