1 //--------------------------------------------------------------------------
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.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtGenericDalitz.hh
13 // Description: Model to describe a generic dalitz decay
15 // Modification history:
17 // DCC 16 December, 2011 Module created
19 //------------------------------------------------------------------------
21 #ifndef EVTGENERICDALITZ_HH
22 #define EVTGENERICDALITZ_HH
24 #include "EvtGenBase/EvtDecayAmp.hh"
25 #include "EvtGenBase/EvtFlatte.hh"
26 #include "EvtGenBase/EvtDalitzReso.hh"
32 class EvtGenericDalitz:public EvtDecayAmp {
37 virtual ~EvtGenericDalitz() {}
39 std::string getName();
40 EvtDecayBase* clone();
43 void initProbMax() {};//prob max will be set in init
45 void decay(EvtParticle *p);
47 std::string getParamName(int i);
52 std::vector<std::pair<EvtComplex,EvtDalitzReso> > _resonances;