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: EvtDecayParm.cc
13 // Description: Store decay parameters for one decay.
15 // Modification history:
17 // RYD April 5, 1997 Module created
19 //------------------------------------------------------------------------
21 #include "EvtGenBase/EvtPatches.hh"
26 #include "EvtGenBase/EvtDecayParm.hh"
30 void EvtDecayParm::init(fcnPtr pfcn, int ndaug, int *daugs, int narg,
31 double *args, std::string name) {
39 itsdaugs=new int [itsndaug];
40 for(i=0;i<itsndaug;i++){
43 itsargs=new double [itsnarg];
44 for(i=0;i<itsnarg;i++){
50 EvtDecayParm::EvtDecayParm() {
58 modelname="**********";
62 EvtDecayParm::~EvtDecayParm() {