//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Information: See EvtGen/COPYRIGHT // Copyright (C) 1998 Caltech, UCSB // // Module: EvtGen/EvtDecayParm.hh // // Description: Class to keep the arguments and daughters of a decay // // Modification history: // // RYD April 5, 1997 Module created // //------------------------------------------------------------------------ #ifndef EVTDECAYPARM_HH #define EVTDECAYPARM_HH #include class EvtParticle; typedef void ( *fcnPtr ) ( EvtParticle *,int,int *,double* ); class EvtDecayParm { public: EvtDecayParm(); ~EvtDecayParm(); void init(fcnPtr pfcn, int ndaug, int *daugs, int narg, double *args, std::string name); int getNDaug() {return itsndaug; } int getNArg() {return itsnarg; } int* getDaugs() {return itsdaugs; } double* getArgs() {return itsargs; } fcnPtr getfcnPtr() {return itsfcn; } std::string getModelName() {return modelname; } private: fcnPtr itsfcn; int itsndaug; int* itsdaugs; int itsnarg; double* itsargs; std::string modelname; }; #endif